mrtechnique Posted May 3, 2006 Posted May 3, 2006 How can I secure my administration page on http://www.mrtechnique.com/catalog/admin Would I need to code some PHP from scratch or could I modify some existing code?
chooch Posted May 3, 2006 Posted May 3, 2006 You have no admin security so you will have to use your cpanel or other domain control panel and basically put in a htaccess file to the admin and to the downloads section. Log in to your 'file manager' and get to where the admin section begins (catalog/admin) and then add the 'password protect' to that section... you should be able to select a username and password..... ... once installed don't worry if you can't get your secure pop up to work straight away because you will have to refrsh the page several time or even close the browser and start again. Repeat the same password protect step for you catalog/downloads section too. Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back! Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you? There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere. CHOOCH
mrtechnique Posted May 4, 2006 Author Posted May 4, 2006 You have no admin security so you will have to use your cpanel or other domain control panel and basically put in a htaccess file to the admin and to the downloads section. Log in to your 'file manager' and get to where the admin section begins (catalog/admin) and then add the 'password protect' to that section... you should be able to select a username and password..... ... once installed don't worry if you can't get your secure pop up to work straight away because you will have to refrsh the page several time or even close the browser and start again. Repeat the same password protect step for you catalog/downloads section too. I'm not very keen on htaccess files. What would I put in the .htaccess file? I thought they were just for redirecting to an error 404 page. Also, I'm not sure how to add the 'password protect' to my admin and downloads sections. Would you be able to elaborate? Thank you so much for responding to my question.
ccubed_99 Posted May 4, 2006 Posted May 4, 2006 I'm not very keen on htaccess files. What would I put in the .htaccess file? I thought they were just for redirecting to an error 404 page. Also, I'm not sure how to add the 'password protect' to my admin and downloads sections. Would you be able to elaborate? Thank you so much for responding to my question. If you have something like cpanel you can do it from there. Read, read, read, test, read, read, test, read, implement. Always back up your site and database before changes. Always back up on a regular basis.
mrtechnique Posted May 4, 2006 Author Posted May 4, 2006 If you have something like cpanel you can do it from there. I believe I got it. I went into my hosting control panel and password protected the two directories there. It automatically added an htaccess and htpasswd file to those two directories. Is that what you and chooch were talking about?
ccubed_99 Posted May 4, 2006 Posted May 4, 2006 I believe I got it. I went into my hosting control panel and password protected the two directories there. It automatically added an htaccess and htpasswd file to those two directories. Is that what you and chooch were talking about? Thats what the panels do. They write the code to the text files. If you have an editor like BBEdit that allows you to open up invisible files or something in your admin panel that allows you to view the files you can look at the code you created... seeing is believing. Read, read, read, test, read, read, test, read, implement. Always back up your site and database before changes. Always back up on a regular basis.
mrtechnique Posted May 4, 2006 Author Posted May 4, 2006 Thats what the panels do. They write the code to the text files. If you have an editor like BBEdit that allows you to open up invisible files or something in your admin panel that allows you to view the files you can look at the code you created... seeing is believing. Thank you both for your help. I know this won't be the last time I'll be asking for help.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.