Is it possible to configure the FlexPaper reader to un-encrypt password-protected pdfs or swfs?
Here is the use-case:
- User uploads a pdf
- My server would then convert the pdf to swf via pdf2swf
- Then somehow encrypt the swf with a password (not sure best way to do this)
- Then the FlexPaper would be able to un-encrypt the swf and display it
What I am trying to avoid is the caching of readable swf in the browser's cache.
Any ideas on the best way to achieve this?
I know, even with this it will not be a fully secure solution, but certainly helps.
Note: I am running this on Linux and OS X and using Rails.
Answers from questions asked in the responses:
Do you need it on the wire?
No, I don't think so, the application will be only accessed via ssl
Do you need the files to be stored securely on your hard drive?
Ideally yes, we will keep them ecrypted on the server -- but not critical
What exactly are you trying to prevent by encrypting them?
I want users of the application only to be able to view the documents from the FlexPaper reader on the website. I do not want users to be able to download a readable document to their machine.
Thanks!
Jonathan