rrh Posted August 31, 2005 Share Posted August 31, 2005 How do I prevent people from opening up this page and making changes: catalog/admin/index.php Can I password protect? Thanks for you help. Link to comment Share on other sites More sharing options...
Daemonj Posted August 31, 2005 Share Posted August 31, 2005 The file should have 644 permissions, which means that only your account can edit the file. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein Link to comment Share on other sites More sharing options...
rrh Posted August 31, 2005 Author Share Posted August 31, 2005 How do I prevent people from opening up this page and making changes: catalog/admin/index.php Can I password protect? Thanks for you help. <{POST_SNAPBACK}> Files are all 644 and just had my friend go in and he was able to make changes to the files. Link to comment Share on other sites More sharing options...
Guest Posted August 31, 2005 Share Posted August 31, 2005 or you could add an .ht password file to lock the entire admin directory Link to comment Share on other sites More sharing options...
rrh Posted August 31, 2005 Author Share Posted August 31, 2005 or you could add an .ht password file to lock the entire admin directory <{POST_SNAPBACK}> Thanks, can you tell me how to do that. Link to comment Share on other sites More sharing options...
Guest Posted August 31, 2005 Share Posted August 31, 2005 ask your host :D but basically for my case i have an option with the host panel to password protect a directory. That in turn creates an password file that places encrypted username/password info Link to comment Share on other sites More sharing options...
rrh Posted August 31, 2005 Author Share Posted August 31, 2005 ask your host :D but basically for my case i have an option with the host panel to password protect a directory. That in turn creates an password file that places encrypted username/password info <{POST_SNAPBACK}> Thank you very much. That did the trick. I was able to do with my control panel. Link to comment Share on other sites More sharing options...
solafide Posted September 2, 2005 Share Posted September 2, 2005 ask your host :D but basically for my case i have an option with the host panel to password protect a directory. That in turn creates an password file that places encrypted username/password info <{POST_SNAPBACK}> i tried setting htaccess but after which i cannot access the files in admin, I have the username and password but whenever i go to the page, they just deny access without asking for username and password. Link to comment Share on other sites More sharing options...
Guest Posted September 2, 2005 Share Posted September 2, 2005 i tried setting htaccess but after which i cannot access the files in admin, I have the username and password but whenever i go to the page, they just deny access without asking for username and password. I was refering that you need the .htpasswd file. That is created by your host's control panel usually to lock a dir. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.