View Full Version : Permissions
scalexoz
7-18-05, 04:47 AM
None of the images on my site are now showing up. There is a 403 error page if I try to view the image - 403 Forbidden by Web Configuration.
The permissions are set at 744 - is this correct?
I have been getting hacked recently - with pages removed etc. I have not altered the permissions, so I am wondering if they have been at it again.
the site is http://www.scalextricaustralia.com/
RTH10260
7-18-05, 07:34 AM
None of the images on my site are now showing up. There is a 403 error page if I try to view the image - 403 Forbidden by Web Configuration.
The permissions are set at 744 - is this correct?Shouldn't harm, although the execute permission is only required for scripts. 644 (or better even 640) should be fine for you. Check all your htaccess files to see if they still have the original settings. Did you make some addition for anti-leech protection recently ?
I have been getting hacked recently - with pages removed etc. I have not altered the permissions, so I am wondering if they have been at it again.Make sure you have changed the passwords to all FTP accounts. Then scrutinate your account, look for foreign things like scripts in directories used to store images. Check your access log files to see if you can detect requests to scripts that you have not loaded yourself, and that operate out of directories that hadn't been planned to hold scripts. Then review all upload scripts, make sure you have coded them the safe way and that they don't allow scripts to be uploaded.
Recommended reading:
extras.info on security: http://check-these.info/security.html
Your problem is that you have your folders set to 744, they need to be set to 755.
I also see that everything (files and folders) within your htdocs is set to 744. Images and video only require 644 as does most all other .htm files. The only files that should need Chmod above 644 would be things like cgi or Perl scripts.
scalexoz
7-18-05, 09:40 AM
Thanks for all your replies - the site is now back to normal.
PS this is a great forum - always very helpful with all questions.
thanks again guys.
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.