Page 2 of 2

Posted: Thu Sep 13, 2007 3:20 pm
by andrew
Excellent hack this one guys..


and to the posterwho would like an admin directory to offer more security...
#Well, that would be nice...

but instead you can just create an htaccess file (in notepad)

and place this in it:

DirectoryIndex index.php
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /var/www/html/hesk/.htpasswd
AuthGroupFile /dev/null
<Files admin.php>
require valid-user
</Files>

and name it as

.htaccess (you will need to change the hesk install path above to whatever you have named your hesk directory!)


and then go here


http://tools.dynamicdrive.com/password/

and pick a user name and password and then press next...

copy the encrypted password and your username into a new notepad file and name that one

.htpasswd

Then copy both files into your hesk install directory..and VOILA....no access to the admin console unless you pass through htaccess password dialogue box...and then the modified no dropdown list admin login


hth