Files with 777 changed to 644?

Post Reply
Sergio
Junior Member
Posts: 1685
Joined: 12 Dec 2006, 14:56

Files with 777 changed to 644?

Post by Sergio »

Hi Chirpy,
a few days ago you included the change of 777 to 755 on directories and now it will be great if CXS could change on the fly, every time a scan is done, files like HTML, PHP, CGI, JPG, GIF or PNG to 644? Could this be done?

Sergio
ckh
Junior Member
Posts: 147
Joined: 10 Dec 2006, 15:35

Re: Files with 777 changed to 644?

Post by ckh »

cgi needs 755 to execute.... Might not want to change that extension.
Sergio
Junior Member
Posts: 1685
Joined: 12 Dec 2006, 14:56

Re: Files with 777 changed to 644?

Post by Sergio »

ckh wrote:cgi needs 755 to execute.... Might not want to change that extension.
The suggestion is to get rid of any 777 on the server, right now it is done to directories and that is great, but files with 777 has to be investigated or changed the chmod on the fly.

You are right and CGI has to have 755, so, this could be a list of some files and suggested permissions:
CGI - 755
PHP - 600
HTM - 644
JPG - 644
GIF - 644
PNG - 644

This is only a suggestion, but I think it will greatly improve the security on our servers.

Sergio
caisc
Junior Member
Posts: 21
Joined: 03 Oct 2011, 07:38

Re: Files with 777 changed to 644?

Post by caisc »

yes it will be of great help, plz consider this option Jonathan.
caisc
Junior Member
Posts: 21
Joined: 03 Oct 2011, 07:38

Re: Files with 777 changed to 644?

Post by caisc »

Any update on this, Forum admins plz keep us updated what you guys are planning to do in future.

Thanks
JulesR
Junior Member
Posts: 14
Joined: 17 Jun 2009, 05:01

Re: Files with 777 changed to 644?

Post by JulesR »

Just wanted to say we also think this would be a great feature...
Post Reply