Jump to content

Securing Documents


complex05

Recommended Posts

I'm building a small Document Library program, and i need to secure the documents. I don't want people to be able to access the documents with the folders (ex. www.name.com/documents/user/docoument.pdf) only through the site once they are logged in. Should I put the documents directly into the database (I'm estimating we will have over 10 gigs of documents) or is there a way to do it with php/.htaccess?

Please advise.
Link to comment
https://forums.phpfreaks.com/topic/31495-securing-documents/
Share on other sites

What do you do with these documents? Are these documents avialable for download?
If you dont need direct access to them (only access them via ftp or a script) you can store it in the root folder, outside of the web folder (outside of /www/ or /public_html/ or whatever).

Orio.
Link to comment
https://forums.phpfreaks.com/topic/31495-securing-documents/#findComment-146064
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.