Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to setup password for osCommerce admin page


jeboy

Recommended Posts

Hi! i would to ask if how am I going to set password for my osCommerce admin page. My site is hosted in windows server with mysql database and php.

 

I, too, would like to know this.

 

Anyone can hit admin/configuration.php on my system - not cool.

Link to comment
Share on other sites

I, too, would like to know this.

 

Anyone can hit admin/configuration.php on my system - not cool.

 

 

OK, I now make 3. I have looked for an entry for the last 2 hours and cannot find an easy step by step, this is what you do guide. I am also on win server with Mysql.

 

Please help, I wanna go live soon!!!!!!!!!!!

Link to comment
Share on other sites

i just used .htaccess for this

 

an example .htaccess file

**************************************************

AuthType Basic

 

AuthName "Restricted Area"

 

AuthUserFile "/home/website/.htpasswds/store/admin/passwd"

 

 

require valid-user

***************************************************

 

I used the "set file/directory permissions" link on cpanel but you can manually set all this .htaccess stuff.

Link to comment
Share on other sites

Thanks for that, in light of this I think I will transfer site back to a linux server where the htaccess file is relevant.

 

if you log into your server control panel, there is usually a place there on the file manager where you can password protect a directory and its subdirectories. This is actually a better way than the .htaccess method.

Link to comment
Share on other sites

thought it may have been wamp server

 

yea, I thought of removeing access on the Admi folder itself, but as I am setting this up for someone else as well I want them to get access to Administration (by password) but not to the server directory structure.

 

Os appears to be a great program but it is more than a little fiddly to get around if you are using it for the first time.

 

I have used your script but it where do I tell it the user name and password. do I use something like,

 

AuthName onlyme

AuthPasswrd ****

 

do you now how and in what form???

Link to comment
Share on other sites

yea, I thought of removeing access on the Admi folder itself, but as I am setting this up for someone else as well I want them to get access to Administration (by password) but not to the server directory structure.

 

Os appears to be a great program but it is more than a little fiddly to get around if you are using it for the first time.

 

I have used your script but it where do I tell it the user name and password. do I use something like,

 

AuthName onlyme

AuthPasswrd ****

 

do you now how and in what form???

 

 

Can anyone help please??

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...