elementskater255 Posted January 5, 2004 Share Posted January 5, 2004 Sorry if i sound stupid or something, im new at oscommerce. I just need to know how to make the admin panel secure. I run apache, on windows xp professional. I host my own stuff if that makes anything easier. Please help! Thanks! Link to comment Share on other sites More sharing options...
ranxero Posted January 5, 2004 Share Posted January 5, 2004 hi, you might use .htaccess files. ########### .htaccess file contents ################ <IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule> DirectoryIndex default.php index.php index.htm index.html AuthUserFile "c:/somewhere/dir/Apache/htdocs/.htpasswd" AuthType Basic AuthName "Admin" require valid-user Options Indexes FollowSymlinks MultiViews ########### .htaccess eof ################ with absolute path to .htpasswd (AuthUserFile) you can generate the .htpasswd file with the apache tool, don't remember the name of the binary, look in apache/bin you can put the .htaccess file into oshome/admin and the browser will pop up a login dialog. other possibility is to secure it with SSL but that's already been answered. just putting up a php login won't do much unless you use SSL hth Link to comment Share on other sites More sharing options...
elementskater255 Posted January 5, 2004 Author Share Posted January 5, 2004 lol sorry, but as i said, im a newbie. I really dont know how to do this. 1. I opened the .htpasswd file and a black command prompt came up really fast, and left before i could read it. Link to comment Share on other sites More sharing options...
1quicksi Posted January 5, 2004 Share Posted January 5, 2004 Or search the contributions and yee shall find ;) http://www.oscommerce.com/community/contri...tegory,3/page,2 knowledge base | Contributions | Search Link to comment Share on other sites More sharing options...
dubie Posted January 6, 2004 Share Posted January 6, 2004 I used http://www.oscommerce.com/community/contributions,1/page,2 and it works perfect!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.