jeboy Posted September 1, 2006 Share Posted September 1, 2006 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. Link to comment Share on other sites More sharing options...
cambler Posted September 1, 2006 Share Posted September 1, 2006 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 More sharing options...
ramlion Posted September 1, 2006 Share Posted September 1, 2006 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 More sharing options...
ScottCC Posted September 1, 2006 Share Posted September 1, 2006 there is no place where you can set file/directory permissions? Link to comment Share on other sites More sharing options...
ramlion Posted September 1, 2006 Share Posted September 1, 2006 there is no place where you can set file/directory permissions? OK, but obviously OSsites are password protected for their admin, so how do they do it. Sorry if I'm asking the obvoius. Link to comment Share on other sites More sharing options...
ScottCC Posted September 1, 2006 Share Posted September 1, 2006 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 More sharing options...
ramlion Posted September 1, 2006 Share Posted September 1, 2006 Thanks for that, in light of this I think I will transfer site back to a linux server where the htaccess file is relevant. Link to comment Share on other sites More sharing options...
Guest Posted September 1, 2006 Share Posted September 1, 2006 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 More sharing options...
ScottCC Posted September 1, 2006 Share Posted September 1, 2006 Thanks for that, in light of this I think I will transfer site back to a linux server where the htaccess file is relevant. thought it may have been wamp server Link to comment Share on other sites More sharing options...
ramlion Posted September 1, 2006 Share Posted September 1, 2006 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 More sharing options...
ramlion Posted September 2, 2006 Share Posted September 2, 2006 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 More sharing options...
meanjeanslo Posted September 3, 2006 Share Posted September 3, 2006 Can anyone help please?? Try this website. It looks like they have a pretty good how to guide: http://www.javascriptkit.com/howto/htaccess.shtml Link to comment Share on other sites More sharing options...
ramlion Posted September 3, 2006 Share Posted September 3, 2006 Try this website. It looks like they have a pretty good how to guide: http://www.javascriptkit.com/howto/htaccess.shtml Thank you found exactly what I was looking for. For anyone else who is stumped I highly recommend this site and also the Handy Tools at Dynamic web which is linked on the Javascriptkit.com pages. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.