Page 1 of 1

How to secure(encrypt) the uplaoded files

Posted: Sat Aug 09, 2008 7:22 am
by eshban
Hello,

I need some help.

I have a website on which user comes and upload to the server.

Now i want Some security feature to implement, means when user uploads the file on server and if select option "Secure-Storage", then file will be uploaded in encrypted format. SO if any hacker got access of my hosting he will be unable to view / read the files.

Can anyone tell me some good, strong and easily mechanism that how can i implement it.

Thanks

Re: How to secure(encrypt) the uplaoded files

Posted: Sat Aug 09, 2008 8:07 am
by filippo.toso
The upload process can be executed in "encrypted format" only if the script is accessed through SSL or the users uploads the file already encrypted.

If you need to encrypt the files after they have been uploaded on the server, you should take a look to http://www.php.net/manual/en/filters.encryption.php