From Newbie: You guys offering hostings and expert in this field, can you let me know how to secure admin panel for e-commerce site? any coding or step by step guidance will be helpful.
usually just using .htaccess to secure it is enough. You can do it with PHP/MySQL or something but it's never as secure.
My cPanel shows icon as Password Protect Directories. When I click on this I get the following list: Allow access only to authorized users Please select the folder you wish to protect by clicking on its name. Open a folder by clicking on its icon. / (Current Folder) access-logs etc logs mail public_ftp public_html ssl tmp www QUESTION: You mean I have to change password for each of these folders in order me to fully secure admin panel? OR instead simply go to .htaccess and change the password and will it secure all of my admin panel then? When I click on .htaccess, a box opens up with showing check-marks: .htaccess Mode User Group World Read > > > Write > > > Execute - - - Permission 6 6 6 I am not sure which option or route is right and how to do it? Anybody giving step by step guidance wiil be of great help.
It is a 2 step process. You select the single folder that you wish to protect. Then you add a user and password to that folder. Then you click save again. Then if you are real smart you will open another browser window and make sure it works the way you expect BEFORE you close the cPanel window. Else if you have screwed it up you not be able to get back there. Once you think you have protected it browse to mysite/mydirectory. You should get a pop up box like the cpanel box. When you enter username and pass it should let you in. BTW don't use the same username amd pass as you panel. Pick something entirely new.