Zen Cart Logo
Forums / General Questions / Permission for configure.php file

Permission for configure.php file

Views: 1,292

Results 1 to 6 of 6
29 Aug 2015, 5:02 PM
#1
laki avatar

laki

New Zenner

Join Date:
Aug 2013
Location:
Montenegro
Posts:
72
Plugin Contributions:
0

Permission for configure.php file

Hi,

I set "777" permission on configure.php file during Zencart 1.5.4 installation as mentioned in the installation guideline. A default value was "444". Is there any security concern with my current settings (777) and based on that should I keep it or revert to the origin value?

Many thanks,
Laki

29 Aug 2015, 8:12 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Permission for configure.php file

Yes reset it to 444 after you have made any edits to it or installation is complete
777 allows anybody that is interested to see what the file contains like passwords to your DB

30 Aug 2015, 12:34 AM
#3
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Permission for configure.php file

kobra:

Yes reset it to 444 after you have made any edits to it or installation is complete
777 allows anybody that is interested to see what the file contains like passwords to your DB

:shocking::shocking::shocking::shocking::shocking::shocking:

To the OP: The advice to reset to 444 is correct. The implication that permission 777 is a security risk is also correct. The reason given here is incorrect though.

Cheers
RodG

30 Aug 2015, 2:08 PM
#4
laki avatar

laki

New Zenner

Join Date:
Aug 2013
Location:
Montenegro
Posts:
72
Plugin Contributions:
0

Re: Permission for configure.php file

I understand this advice to set permission to 444 is for include/configure.php. Would you also set 444 permission for admin/includes/configure.php file?

Many thanks.

30 Aug 2015, 5:10 PM
#5
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Permission for configure.php file

Laki:

I understand this advice to set permission to 444 is for include/configure.php. Would you also set 444 permission for admin/includes/configure.php file?

Many thanks.

I would/do... If editing in the future is required change to 644 on the files prior to the edit and restore to 444 after the edit.

30 Aug 2015, 9:01 PM
#6
laki avatar

laki

New Zenner

Join Date:
Aug 2013
Location:
Montenegro
Posts:
72
Plugin Contributions:
0

Re: Permission for configure.php file

Thanks guys for useful advice.