Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I fix security risk warning?


millwood

Recommended Posts

Posted

The message below is displayed at the top of every page. How do I fix this problem, so that the message will disappear.

 

Warning: I am able to write to the configuration file: /home/bloomin/public_html/shoponline/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

Any help would be great. :thumbsup:

Posted

CHMOD your config files back to 644

 

They are set to r/w or 777

 

 

 

The message below is displayed at the top of every page. How do I fix this problem, so that the message will disappear.

 

Warning: I am able to write to the configuration file: /home/bloomin/public_html/shoponline/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

Any help would be great. :thumbsup:

Posted

CHMOD your config files back to 644

 

I must be doing something wrong, because it looks like they are already 644 & even if I try to change that it reverts back to 644.

Posted

Your configure.php files should be set to 400 (owner - read only). Are you on a Windows server? If so the chmod command won't work.

 

Vger

Posted
Your configure.php files should be set to 400 (owner - read only).  Are you on a Windows server?  If so the chmod command won't work.

 

Vger

 

 

Yes, I'm on a windows server, is this my problem? if so what can I do to fix this? The file is already set to read only.

 

Thanks

Posted

If you have been trying to use the chmod command via FTP on a Windows server it will appear to work, but won't actually do anything. In this case there are only two ways to change the file permission:

 

1. Via the File Manager in your hosting control panel

2. Get your hosting company to do it for you.

 

Vger

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...