Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Protect Admin Area with log in?


Guest

Recommended Posts

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

:'( 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

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

Archived

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

×
×
  • Create New...