Guest Posted September 12, 2006 Share Posted September 12, 2006 Anyone can currently access the back end of another oscommerce installation i did. Which is odd because i've done about 4 others and they made a username and pw automatically. Any ideas as to how I can fix this? I'm fairly new to this sort of stuff, so please take it easy on me. Matt Link to comment Share on other sites More sharing options...
Apollofm Posted September 12, 2006 Share Posted September 12, 2006 :'( God i know how you feel took me two days to figure it out like the best kept secret lol :lol: ok im guessing you have C PANEL log in and go to web tools when u open web tools you will see protected areas go to manager users and groups create a user first click on that and create a user like <<admin>> or what ever u like to call your logon and insert your passwords then go to add a protected area then look for the /catalog/admin file of oscommerce by using the Choose dir fuction select it and then protect it adding the user you created to the file by clicking onto the name then save it and your done good luck if you dont have C PANEL i havent a clue :blush: hope this helps Link to comment Share on other sites More sharing options...
Posertrax Posted September 12, 2006 Share Posted September 12, 2006 A really simple way is to use .htaccess file and a .htpasswd file. Put the .htaccess file in your admin directory, and the .htpasswd file where it can't be accessed by the general public. For a really easy way to generate these, go to www.htaccesstools.com Use the .htaccess authenticator to generate the .htaccess file, and the password generator to create your username and pw. Follow their instructions. It's pretty simple, even if you've never done it before. hope this helps, --Donnie FYI, this method is for Linux/Apache... Link to comment Share on other sites More sharing options...
aerohunter Posted September 16, 2006 Share Posted September 16, 2006 try this http://www.htpasswdgenerator.com/index.html it will add the lines to .htaccess and add .htpsswd for you.. I just used it.. it is so easy.. I try all afternoon with no success.. I used this 1 min.. then it is done. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.