Jump to content
Larry Ullman's Book Forums

Secure Folder Permissions, Page 305 To 307. Outside Of The Web Directory?


Recommended Posts

This is focused on the information int he gray box ion page 307 - Secure Folder Permissions.

 

As I understand it.

 

(A.) /Users/username/uploads - more secure

 

(B.) /Users/username/sitename/uploads - less secure

 

Question: Where is the web directory, /sitename/ ? If this is so, and 777 (or 755) permissions is set on it, then (B.) and all the files inside of this directory are exec, read, writeable and susceptible to malicious users.

 

Would (A.) then be the accurate example of placing the uploads folder in a secure area of the server?

 

I am using linux:

Debian GNU/Linux 6.0

PHP Version 5.2.17

 

Thanks,

Mark

Link to comment
Share on other sites

 Share

×
×
  • Create New...