| Protecting You Mambo admin panel using htaccess |
|
|
| Thursday, 18 August 2005 18:49 | ||||||||||||||||||||||||||||
|
.htaccess files are very versatile, and can easily protect some area of Your Homepage. In the case of Mambo, I am here giving You a way to secure it in less than 5 minutes.
All You have to do is to drop a file named .htaccess in Your /administrator directory
XXXXXXX must be replace by it's crypt version, use that Url to create a new http://de.selfhtml.org/cgi-bin/cryptform.pl?password=aSI45I#56B4KgR34542 In this example, I want to have aSI45I#56B4KgR34542 as password (my real password is even more complex!), the page then display me cziW29BR6Y3fM Be careful it is changing at each reload of the page since the system add "salt" to the password in order to avoid brute force attack with dictionnary. So I create a file .htpasswd which contains:
So In order to be able to go in my administrator Mambo panel, I will have to type user name: admin HTACCESS is containing a lot more keywords and way to protect some data or directories. If Youre using my component hashcash or any statistics log tools on YOur server, YOu may know the IP of the bad guys which try to break Your site. There is a way to block these attacking zombies at the server level. Just extends the section Limit of the .htaccess file <Limit GET POST> where XXX.XXX.XXX.XXX is the IP or part of the IP (XXX or XXX.XXX or XXX.XXX.XXX), but it can be a DNS. You can add as many lines as You want.
Powered by !JoomlaComment 3.20
3.20 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."
|
||||||||||||||||||||||||||||
| Last Updated ( Friday, 19 August 2005 13:12 ) |


























