PDA

View Full Version : web permissions



mcla0203
March 10th, 2009, 12:09 AM
what web permissions do you use?

i use:


chmod -R 755 root_web_dir

It is simple, quick for updates.

If there is stuff I don't want people to see or execute, I just put them in parent directory of web root.

Tibuda
March 10th, 2009, 01:11 AM
It works if your host allows you to have files outsite the web root. If it does not, .htaccess comes to rescue.