Encrypting Web Pages On a Server
If a file can be accessed by the web server, then anyone on the server to view the file.Here's a script that will read the file in, encrypt the data, and save the file on the server. The script also decrypts the file, given the correct passphrase, and sends the file to the browser.
May, 2004: Encrypting Web Pages On a Server
Figure 1: The encrypt form.