I have two tasks that I'm sure aren't all that difficult to implement.
The first is that when someone calls the cgi script, I want to be able to test some of the form values, and if they pass my test, respond by send a binary file from the server for them to download, and if it fails respond with hyptertext (the latter of which I already know how to do), so I need to know how to 'print' a binary file as a response (I think).
The second is that the end user won't be using a web browser to access this, but a custom win32 binary. We are wishing to use an encryption module that's available for both c++ and PERL which I imagine isn't terribly difficult. We were just going to encrypt the filenames and leave the binary files alone, but now we'd really like to encrypt the binary, then go back and encrypt the name of the file. I was wondering if you had any suggestions offhand, and perhaps the syntax for doing the encryption. We were thinking PGP, but I've never used PGP before, and everything I find only deals with encrypting text, not binary files. Help?
Numbski
The first is that when someone calls the cgi script, I want to be able to test some of the form values, and if they pass my test, respond by send a binary file from the server for them to download, and if it fails respond with hyptertext (the latter of which I already know how to do), so I need to know how to 'print' a binary file as a response (I think).
The second is that the end user won't be using a web browser to access this, but a custom win32 binary. We are wishing to use an encryption module that's available for both c++ and PERL which I imagine isn't terribly difficult. We were just going to encrypt the filenames and leave the binary files alone, but now we'd really like to encrypt the binary, then go back and encrypt the name of the file. I was wondering if you had any suggestions offhand, and perhaps the syntax for doing the encryption. We were thinking PGP, but I've never used PGP before, and everything I find only deals with encrypting text, not binary files. Help?
Numbski