Guest Posted May 6, 2005 Share Posted May 6, 2005 Hy i'm new here. I like to protect admin modul. How can i do this? :( In file manager i don't have any options to protect. Link to comment Share on other sites More sharing options...
Simplyeasier Posted May 6, 2005 Share Posted May 6, 2005 Hy i'm new here. I like to protect admin modul. How can i do this? :( In file manager i don't have any options to protect. <{POST_SNAPBACK}> 1) rename admin to something new that only you know - not obvious names like admin1 !) 2) go into your server management application (cpanel, plesk etc) and \ user password protect the directory - if you dont have such tools then you can do the same thing with .htaccess and .htpassword files 3) change your configure.php files (both of them) to reflect the new name you have given admin in step 1 above - then chmod both files to 400 or 444 all done Charles A kite flies highest AGAINST the wind ! "Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!" Link to comment Share on other sites More sharing options...
knifeman Posted May 6, 2005 Share Posted May 6, 2005 1) rename admin to something new that only you know - not obvious names like admin1 !) 2) go into your server management application (cpanel, plesk etc) and \ user password protect the directory - if you dont have such tools then you can do the same thing with .htaccess and .htpassword files 3) change your configure.php files (both of them) to reflect the new name you have given admin in step 1 above - then chmod both files to 400 or 444 all done Charles <{POST_SNAPBACK}> Charles, I have read a lot of activity on securing admin today. I have changed my admin folder to something else and updated the configure.php. I went to the configure.php in catalog/includes but I do not see a reference to admin. Everybody is saying change both files, but where in catalog/includes/configure.php do you change admin to a new name? Thanks, Tim Link to comment Share on other sites More sharing options...
knifeman Posted May 6, 2005 Share Posted May 6, 2005 3) change your configure.php files (both of them) to reflect the new name you have given admin in step 1 above - then chmod both files to 400 or 444 <{POST_SNAPBACK}> Hi again, I changed my permissions to 400 and could not access admin. I had to put them back where they were. I received 3 error messages all relating to line 29 in application top. As soon as I undid the permission change to admin/includes/configure.php I was able to log in again. Link to comment Share on other sites More sharing options...
♥Vger Posted May 6, 2005 Share Posted May 6, 2005 The only config file oyu need to change references in for 'admin' is in admin/includes/configure.php. There are two references to /admin/ which need to be changed to /newname/ With regard to permissions, it's pretty much dependent on the server you're on. Some accept 400, others 444, but some seem to only accept 644 (esp. Windows). Vger Link to comment Share on other sites More sharing options...
Guest Posted May 9, 2005 Share Posted May 9, 2005 i still can not protect admin modul please help me i need to protect this Link to comment Share on other sites More sharing options...
♥Vger Posted May 9, 2005 Share Posted May 9, 2005 Hi, Which 'File Manager' are you talking about. If you are talking about the osCommerce File Manager then you won't have any option to protect the 'admin' folder. It is in your web hosting control panel that you must look for Password Protection or Directory Protection. Vger Hy i'm new here. I like to protect admin modul. How can i do this? :( In file manager i don't have any options to protect. <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
virose_pt Posted May 10, 2005 Share Posted May 10, 2005 Using .htaccess and .htpasswd seems difficult, but believe me it?s not that difficult. Search this forum like I did and soon you'll be protecting your folders. Also, rename your admin folder. Link to comment Share on other sites More sharing options...
Guest Posted May 10, 2005 Share Posted May 10, 2005 Using .htaccess and .htpasswd seems difficult, but believe me it?s not that difficult. Search this forum like I did and soon you'll be protecting your folders. Also, rename your admin folder. <{POST_SNAPBACK}> I've tried and tried and tried to get .htaccess to work on my site with no success. I've downloaded the contribution by J Larsen and have followed it to the letter but am still having problems. Please could you point me at an idiots guide? Link to comment Share on other sites More sharing options...
virose_pt Posted May 10, 2005 Share Posted May 10, 2005 See if this helps: http://www.htmlbasix.com/passwordprotect.shtml Link to comment Share on other sites More sharing options...
crystalphaedra Posted May 11, 2005 Share Posted May 11, 2005 I've tried and tried and tried to get .htaccess to work on my site with no success. I've downloaded the contribution by J Larsen and have followed it to the letter but am still having problems. Please could you point me at an idiots guide? <{POST_SNAPBACK}> Is it that you can't use files like .htaccess cause you're using a webhost that doesn't allow files to start with a . or such? Do you have any administrative tools provided by your webhost? Can you ftp in? Link to comment Share on other sites More sharing options...
Guest Posted May 11, 2005 Share Posted May 11, 2005 See if this helps: http://www.htmlbasix.com/passwordprotect.shtml <{POST_SNAPBACK}> Yes it did mate. Thanks a lot I've now got it working. Link to comment Share on other sites More sharing options...
ceolie Posted June 1, 2005 Share Posted June 1, 2005 http://www.htmlbasix.com/passwordprotect.shtml works a treat Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.