Conflicting security warnings!
#1
Posted 28 January 2011, 15:53
*****************************************************************
1. Edit this file: /home1/gbfenter/public_html/cart/catalog/admin/.htaccess
Remove the following lines if they exist:
##### OSCOMMERCE ADMIN PROTECTION - BEGIN #####
AuthType Basic
AuthName "osCommerce Online Merchant Administration Tool"
AuthUserFile /home1/gbfenter/public_html/cart/catalog/admin/.htpasswd_oscommerce
Require valid-user
##### OSCOMMERCE ADMIN PROTECTION - END #####
2. Delete this file:
/home1/gbfenter/public_html/cart/catalog/admin/.htpasswd_oscommerce
**************************************************************************
Those lines in the .htaccess file did not exist, so I did not have to remove them.
I deleted the .htpasswd_oscommerce file then I refreshed the page.
The new message reads:
Additional Protection With htaccess/htpasswd
This osCommerce Online Merchant Administration Tool installation is not additionally secured through htaccess/htpasswd means.
The following files need to be writable by the web server to enable the htaccess/htpasswd security layer:
/home1/gbfenter/public_html/cart/catalog/admin/.htaccess
/home1/gbfenter/public_html/cart/catalog/admin/.htpasswd_oscommerce
Reload this page to confirm if the correct file permissions have been set.
The .htaccess file permissions are set to 644, the .htpasswd_oscommerce has been deleted per the earlier message. So, what in the world is this?
Thanks,
Ed
#2
Posted 30 January 2011, 21:08
The permission for these 2 files are normally 666 as they need to be written to.
nic
#3
Posted 30 January 2011, 21:20
It only asked that the htpasswd_oscommerce file had to be removed, which I did. Why then did the second message suggest to change the permission of a file that the first message asked me to remove. That does not make any sense at all.
#4
Posted 30 January 2011, 21:34
if you have htaccess protection on via the osC admin, this gives you information to remove it....
##### OSCOMMERCE ADMIN PROTECTION - BEGIN #####
AuthType Basic
AuthName "osCommerce Online Merchant Administration Tool"
AuthUserFile /home1/gbfenter/public_html/cart/catalog/admin/.htpasswd_oscommerce
Require valid-user
##### OSCOMMERCE ADMIN PROTECTION - END #####
removal form the htaccess file will prevent the code calling the file htpasswd_oscommerce to test for the password,
If you remove the above code then you may as well remove the password + user name combination too from htpasswd_oscommerce file.
just removing the htaccess code should prevent the message from showing up though
Nic
#5
Posted 31 January 2011, 00:07
The htpassword_oscommerce file is 1) empty and, per the 1st message, 2) had been deleted.
Are we talking about different things here?
#6
Posted 31 January 2011, 15:04
Its highlighted in red?
Nc
#7
Posted 31 January 2011, 15:26
Ed
#8
Posted 31 January 2011, 15:33
You can remove the call to it if you prefer to , but its not an error (even if it does look very much like one) think of it more as a friendly warnig you do not have .htaccess enabled.
If you were to enable it then i would change to a smaller Green message
Nic
#9
Posted 31 January 2011, 15:52
#10
Posted 31 January 2011, 16:11
Clcik your admin name there, and then "EDIT", not where it asks for a new password, enter your existing password and also tick the checbox under it, now update.
You should get an HTACCESS popup box asking for your details.
any type of error will be permissions related, set the two files to 666
Nic
And to be fair,it does not mention that in your post you want it enables it says yo have a conflicting message
Edited by FIMBLE, 31 January 2011, 16:13.
#11
Posted 31 January 2011, 16:49
#12
Posted 31 January 2011, 18:25
[img]http://www.linuxuk.co.uk/admin.gif[/img]
#13
Posted 31 January 2011, 19:30
[img]http://www.gbfenterprisesllc.com/pub/admin.gif[/img]
#14
Posted 31 January 2011, 19:40
I have added the new file here.
Nic
Attached Files
#15
Posted 31 January 2011, 19:44
admin / .htaccess
admin/ .htpasswd_oscommerce
The box will show then, learn something new every day!!
Nic
#16
Posted 31 January 2011, 19:52
Set both files to 666 and the protection did work now!
Thanks a bunch, Nic
#17
Posted 31 January 2011, 19:53
Nic
#18
Posted 31 January 2011, 20:14
#19
Posted 31 January 2011, 20:19
Nic















