1
Luminosity
What is best CHMOD setting for directories like UPLOADS?
  • 2004/10/31 18:04

  • Luminosity

  • Just popping in

  • Posts: 37

  • Since: 2004/5/3 1


I would like to know which CHMOD setting for a directory like UPLOADS is more secure. 777 or 755? Members of the website will be the only users uploading files to the uploads directory.

2
Dave_L
Re:What is best CHMOD setting for directories like UPLOADS?
  • 2004/10/31 21:16

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I'll assume your server's O/S (operating system) is Linux, since the 755/777-type permissions don't apply to Windows.

755 is more secure, but typically you will need to use 777. It depends on the server. Usually PHP is running as an Apache module, and Apache is running as an anonymous "nobody" user, and the /uploads directory is owned by a different user, so you'll need 777.

Login

Who's Online

145 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 145


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits