|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
chmod 777? Make it secure?
Hello, I just made a site with image galleries, I'm not storing the images on a database, but instead on the file system.
I have a folder /uploads with CHMOD 777 (i believe) so the uploaded images could be uploaded. I believe this is really insecure for the server and for the site. Can anyone tell me how make this site a secure one? .htaccess files may help? But how do I use them? any help will be really appreciated! |
|
#2
|
|||
|
|||
|
RE: chmod 777? Make it secure?
I guess it depends who runs the server. If the user/group that Apache is run under is the owner/group for the directory I'd use 775 instead.
But you can put an htaccess file in that directory and limit the HTTP requests to GET. <Limit GET> Require valid-user </Limit> That is SOME peace of mind. |
|
#3
|
|||
|
|||
|
RE: chmod 777? Make it secure?
I was wondering the same thing lol
|
|
#4
|
||||
|
||||
|
RE: chmod 777? Make it secure?
744 seems to be my number at the moment, php5 seems to complain if its anything higher, complains about write and execute access to world etc. 777 is not secure by any stretch of the imagination. Also just changing the chmod number is not exactly bullet proof security IMO
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > chmod 777? Make it secure? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|