views:

28

answers:

0

I have built many web sites and have used a few different ways of setting the permissions on my folders.

I would like to know if there is a definitive configuration for web server directories.

I have listed the folders which I consider to be standard in a typical web site directory, what is the permssion setting required for each one? Is there a

  • /app
  • /lib
  • /log
  • /cache
  • /config
  • /public_html
    • /images
    • /css
    • /js
    • /uploads
    • .htaccess
    • index.htm