obcbeatle, on 05 September 2010, 01:29, said:
B. add .htaccess protection to the (renamed) admin directory as was necessary on the older versions of osC
<SNIP>
Unless I missed something, I didn't see anywhere in this thread how to to do the above. I don't mind working with my web host on this, plus I already have my own .htaccess file for web site protection, but I don't know what to put in an .htaccess file to specifically address this OSC vulnerability. Can anyone point me to the code our type of protection to put in the .htaccess file to protect the renamed admin directory? Thanks!
Once the directory has this security in place you will find that an .htaccess file is now in your admin directory with these lines in it...
AuthType Basic AuthName "Authorized Use Only" AuthUserFile "/home/dir/.htpasswds/dir/dir/passwd" require valid-user
Of course, 'dir' is directory names to your shop, and passwd could be anything... and "Authorized Use Only" is whatever you put in when you create the password.














