KratosPC Posted April 29, 2011 Posted April 29, 2011 Hello all, Anyone have an idea why password protect wouldn't be working on my folders? Front page extensions are disabled and I followed the video tutorial. I mean, it's a pretty straight forward process. If I go to access the folder, no password prompt. Do I have to change permission of the folder? Any help is greatly appreciated! Also, what common folders should I remove from public view? Ie image folders, script folders, etc etc. Just want my site to be secure! Thanks! Quote
Byron Posted April 29, 2011 Posted April 29, 2011 Go to the folder that you've password protected and look inside the .htaccess file and see if cpanel has updated it with the password protection code and post it here. Also did you complete two steps when creating the password protected directory? First you give it a name and click submit, then you go back and add user and password. I wouldn't worry too much about your site being secure. You still want to keep most of your site for public view. Just creat ever how many password protected directories you feel you need for personel stuff. Quote
KratosPC Posted April 29, 2011 Author Posted April 29, 2011 Hey Byron, Looks like I was doing it wrong after all! I was creating the directory and the user at the same time. Didn't realize you had to complete one before doing the other. You'd imagine cPanel would put them on separate pages... Anyway, thanks for the help! Quote
Byron Posted April 29, 2011 Posted April 29, 2011 Your welcome! Here's a neat little trick I use on my password protected directories. It keeps my from having to login all the time. If you add this code right under the the cpanel generated code it will allow your ip address (without login) and require password from all others. Order Allow,Deny Allow from 172.17.10.1 Satisfy Any Be sure to change 172.17.10.1 to your ip. You can also have multiple Allow lines if you login from more than one computer: Allow from 172.17.10.1 Allow from 267.79.09.10 Allow from 200.183.706.55 Quote
KratosPC Posted April 29, 2011 Author Posted April 29, 2011 Awesome tip! I'll def do that. It'll save some time for sure. Quote
jje Posted April 30, 2011 Posted April 30, 2011 Glad your problem got solved! Please spare 2 minutes to leave feedback at http://www.helionet.org/index/index.php?showtopic=8947 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.