up4anything Posted November 21, 2003 Share Posted November 21, 2003 Ok, before the flaming begins... I've read several posts on how to secure the Admin area of OSC. Well... they were all over my head. Could some kind soul please walk me through this in thrid-grader language? Thank you so much, up4 Link to comment Share on other sites More sharing options...
florence_dave Posted November 21, 2003 Share Posted November 21, 2003 Hi, Go to your configure.php files. There are two. One in admin/includes/ and the other in catalog/includes Just set them up like this define('HTTP_SERVER', 'http://www.YourDomain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.YourDomain.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.YourDomain.com'); define('HTTPS_COOKIE_DOMAIN', 'https://www.YourDomain.com'); One file might be slightly different from the other, but is should be pretty obvious. Pay special attention to the https... people some times leave out the "s". Good luck, Dave Link to comment Share on other sites More sharing options...
Guest Posted November 21, 2003 Share Posted November 21, 2003 Or do you mean "secure" with a username and password? The_Bear Link to comment Share on other sites More sharing options...
ashlyn Posted November 21, 2003 Share Posted November 21, 2003 If you want to "secure" the actual folder within your site, so that if someone types in www.yoursite.com/admin they will get the popup box asking for username and password (and can't access without it), you should be able to do that via your hosting control panel (something along the lines of "password protect directories") If you don't have that option, you can do it with .htaccess file. I haven't a clue how to do it that way though, so I won't lead you in the wrong direction.. ------------------------------------------------------- I used to be insane, but now I'm just nuts ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.