Encrypting a file.
Posted: Tue Feb 17, 2009 11:05 pm
Can anyone advise me how to encrypt a file. File possibilities will be excel, word or just .txt files. I have a site where users can upload files through an upload form, and I can download them from the admin section. What I can't figure out is how to encrypt the actual file so that while it sits in its folder on the server, if someone gets a hold of it, it will be encrypted. Then when I download it, it should decrypts itself so when I get it, it is usable again. Any ideas?