PenTester Posted July 14, 2011 Posted July 14, 2011 Hi When i try to use the "password protect directories" in cpanel , it says "frontpage extension is installed, you can protect using frontpage ". But i can't see any options such that protect directory in frontpage extentsion.
jje Posted July 14, 2011 Posted July 14, 2011 Create a file named '.htaccess' in the folder you wish to protect and paste the following code: AuthUserFile /home1/hacker/protected/.htpasswd AuthGroupFile /dev/null AuthName "A Restricted Area" AuthType Basic <Limit GET POST> require valid-user </Limit> Create another file named '.htpasswd' in the folder you wish to protect and use this website to generate the contents: http://www.htaccesstools.com/htpasswd-generator/ Don't use the cPanel Password Protect otherwise your work may be overwritten! Source.
PenTester Posted July 14, 2011 Author Posted July 14, 2011 @geoff, i cannot follow that article. I don't know where to type the commands . some other says "you need shell" @jje. Thank you brother. It is working well. I have protected my directory.
jje Posted July 14, 2011 Posted July 14, 2011 Your welcome! Please spare 2 minutes to fill in our quick survey: http://feedback.heliohost.org Your participation in this survey is greatly appreciated
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now