Posted: Thu Mar 27, 2008 4:57 pm Post subject: encrypting uploaded files HELP PLEASE!!!!
Hi,
I am banging my head against the wall for last 5 days. I CANT find any way to encrypt uploaded files (any extension txt,pdf,mp3,exe...etc).
I am working on a data management system and it needs to have encryption so the files people are storing with it can be accessed only from the app.
app was created in Flex and it uses PHP to handle file upload.
the biggest problem is that i have no idea on which server it will be hosted so the encryption i implement needs to be multi-platform(so no
shell_exec unfortunately).
i have tryed anything i could think of, i even tryed to pull data from the file, encrypt it and then write it back into the file but that doesnt
work properly with anything that is not txt. so that rules out mcrypt, crypt...
does anyone have any experience with this kind of problem if nothing else point me to the right direction.
Joined: 02 May 2004 Posts: 4958 Location: toronto, canada
Posted: Thu Mar 27, 2008 11:04 pm Post subject:
Multi-platform will be the killer in this. PGP or GnuGP might be the way to go here...but wouldn't it make more sense to control access to the applications, save them above root level so that they can't be directly accessed? This really does sound more like access control thru a portal page, than a need to encrypt the application. Doing that would also slow down the app invocation as you would need to decrypt the entire app before instantiation. _________________ Lostboy
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum