Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How Do I sercure the Admin part of the site


Damien001

Recommended Posts

what do you mean, exactly?

 

get the padlock to show in admin? or to password protect it?

 

the only way i could get the admin padlocked was to put my store in htps and use the admin there.

 

To password protect you need to make an htaccess file.

Link to comment
Share on other sites

AHH, okay.

 

Htaccess goes in the admin directory.

AuthUserFile /usr/local/psa/home/this is the path to your file/.htpasswd
AuthGroupFile /dev/null
AuthName EnterPassword
AuthType Basic

require valid-user

 

This goes in the directory you specified in the file above.

yourusername:295654tg456

The password needs to be hashed, and you can do it for free here:

http://www.euronet.nl/~arnow/htpasswd/

 

also, save the files as ALL FILES and thre file name IS .htaccess and .htpasswd

 

I hope this helps you out :)

Link to comment
Share on other sites

slight problem i am using windwos 2003 for a server and i thinke we not using Apache, if i am not are there anyways, i can use sercure folders but thats a pain as then every time i load a file i will be asked for user name and password

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...