deffe Posted November 25, 2007 Share Posted November 25, 2007 Can anyone suggest books, articles or sites that explain security best practices for dealing with file encryption and access with PHP? I need to be able to ensure files can only be opened (encrypted and decrypted) by the person uploading a file and that no one else will be able to download the file from the server, even the encrypted version. I'm not sure what the best method is, storing documents in a database or on the file system. I'm also curious if there are classes available that can protect a directory in a fashion similar to ASP.NET, without using .htaccess. Quote Link to comment Share on other sites More sharing options...
phpSensei Posted November 25, 2007 Share Posted November 25, 2007 http://www.developertutorials.com/tutorials/php/define-include-files-050816/page1.html or Add an index.html file to each folder that does not contain a index page. Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted November 25, 2007 Share Posted November 25, 2007 well if you take the binaries into mysql and then use simple login scripts you can shut down access pretty easily Quote Link to comment Share on other sites More sharing options...
runnerjp Posted November 25, 2007 Share Posted November 25, 2007 just a quick search good php security and many pages will come up with helpfull stuff Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.