PHP forums, MySQL forums, Web Development resources

Home PageHome    PHP ResourcesTopic List    FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups 
 RegisterRegister
    ProfileProfile    Log in to check your private messagesLog in to check your private messages    Download the RSS Reader RSS Feed Download the RSS Reader RSS for this forum Log inLog in 

PHP Forum :: MySQL Forum :: Java Script Forum



encrypting uploaded files HELP PLEASE!!!!

 
Post new topic   Reply to topic    WeberForums.com Forum Index -> PHP General
View previous topic :: View next topic  
Author Message
ozzthegod



Joined: 27 Mar 2008
Posts: 1

PostPosted: Thu Mar 27, 2008 4:57 pm    Post subject: encrypting uploaded files HELP PLEASE!!!! Reply with quote

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.

TNX A MILLION .
Back to top
View user's profile Send private message
lostboy



Joined: 02 May 2004
Posts: 4958
Location: toronto, canada

PostPosted: Thu Mar 27, 2008 11:04 pm    Post subject: Reply with quote

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

Cat, the other other white meat

Please read Posting Etiquette before posting

You can always try Google
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
Display posts from previous:   
WeberTrivia Questions WeberTrivia Questions
 Think you are smart? Prove it!. Try your skills with these questions :
 WeberTrivia QuestionsRecursive arrays and multi-dimensional arrays are one and the same. (PHP and MySQL)
 WeberTrivia QuestionsThe \"cache_dir\" tag of the squid configuration has a default of /var/spool/squid. (Linux)

WeberTrivia Questions



Post new topic   Reply to topic    WeberForums.com Forum Index -> PHP General All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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






Powered by phpBB © 2001, 2005 phpBB Group
PHP Forum :: MySQL Forum :: Java Script Forum