![]() |
htaccess Protection for admincp & any dir
this is a very simple hack
its only main function is to add htaccess protection for any dir by adding some small lines in the begining of Dir's index our application will be on admincp's index (index.php) Description: This hack will add htaccess protection to any folder by adding small lines in its index.php file & the user name & password for this protection is determined by two varables in the same file & if the data entered was wrong, the page will give a black background with a title (Unauthorized) & a content says (Enter Here Only) when clicking it, it will direct to forum's root (index.php by default), this means douple security (likes Look THIS. Please Note: The Default User Name & Paaaword for entering through this Protection Is (User: 123 / Pass: 321) See the last two line to know how to change this values installation: open the file index.php present in the dir admincp & search for the following code: PHP Code:
PHP Code:
Note 1: change the values of the two variables $phpkd['username'] / $phpkd['password'] to the username & password needed & note not to change this $index['public'] = $index['public']; Note 2: This Protection Gives the authority for entering to onnly the username & passord defined in the file (above modification) & after passing through this htaccess protection you will find the Normal vbulletin admincp login screen & then you can go with the normal admin data recorded in the forum itself. Hope I have explained enough for beginners. |
Nice work, isn't the admincp already protected enough though?
|
You can never protect your forum enough. Very nice work and this will be getting used by me. Thanks
|
Quote:
http://www.vbulletin.com/forum/admincp |
Looks like they do now!
|
I used to as well. I don't anymore because it's annoying. =P
|
this is great m8 well done, could this be changed to add to say a forum on our site, where different usergroup needs access to a forum
|
i don't no why, but doesnt work for me on 3.5.3 :(
|
you can do this via your Cpanel's too..
And, yes can never have enuff. |
This is for extra protection
Blackbeard ===> Till now I can't find any way to get data from database but i'm searching & trying for that Moosa ===> It must work fine coz it doesn't depend on the vbulletin code, its Related to PHP Language as general, so u must follow my steps carefully & u will get it right. |
All times are GMT. The time now is 06:29 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|