Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin password??


saadahmed

Recommended Posts

If your Hosting provider supplies CPanel, you can do it with the directory protection

Or there are a few contributions (click my signature) that does just that

 

The_Bear

Link to comment
Share on other sites

You can password protect your Admin area without the use of a Control Panel from your ISP, using these simple steps - all you need is an FTP program and Notepad.....

 

1) Create a text file called htaccess.txt on your PC, and put the following into it:

 

   AuthName "my OSC Admin Area" 

  AuthType Basic 

  AuthUserFile /xxxxx/.htpasswd 

  require valid-user

 

2) Replace xxxxxx with the "full path" to the folder that your www or public_html or htdocs folder is in. It'll be something like /home/users/yourusername/folder/

 

3) Upload the htaccess.txt file to the same folder as your Admin area

 

4) Rename the file on the server to .htaccess (nothing before the dot)

 

5) Go to http://tools.blueyonder.co.uk and scroll to the bottom. Type in a username and password and hit "Create Password"

 

6) Copy the line username:uj/R/pzKUx12M (yours willl be different, depending on your chosen username/password to your clipboard and paste it into a new text file on your PC. Save the file as htpasswd.txt

 

7) Upload the htpasswd.txt file to your webserver in the same folder as your www or public_html or htdocs folder (ie someplace that it can't be seen from the web)

 

8 ) Rename the file on the server to .htpasswd (nothing before the dot)

 

9) Now go to your Admin area, and you'll be asked for your username and password

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...