Saturday, March 29, 2014

Encrypting Uploads

I am working on an application which requires the uploaded files to be encrypted. The file should be decrypted while viewing inside the application.

How do I achieve this with CakePHP? I know there are some security and encryption functions available in CakePHP. However I have no prior experience in encrypting files. Therefore my question may sound a bit stupid.

Any how, Do I have to read the contents of the files and encrypt it using the encryption methods available in CakePHP and write the encrypted contents to the file and store it in the sever?

Any practical methods and suggestions are appreciated.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: