|
|
|
Joined: Mar 2002
Posts: 18
Junior Member
|
Junior Member
Joined: Mar 2002
Posts: 18 |
Sick of the mods going into the control panel and messing around with your settings? Sick of that not so trusty admin deleting things he/she shouldn't? Not any more with this little mod.
Hack Name: Control Panel Restriction For Everyone, Even Admins
Author: Neo11223
Thanks To: Every mod that ever pissed me off and made me angry enough to lock the CP.
Description: Locks control panel to everyone except those you wish to enter.
Demo: n/a, cp mod
How To Do It: This mod involves using .htaccess and .htpasswd, if you have never used these files you may have some trouble with this mod.
First, make a notepad file with your user name and password. Save this file as .htpasswd and upload to the cgi-bin.
Second, make a notepad file with the encoding to make the password prompt like this:
AuthUserFile /htdocs/users/c01555/wwf/wwfwrestlinggames.com/html/forum/cgi-bin/.htpasswd AuthName Members AuthType Basic require valid-user
Save this file as .htaccess and upload to the cgi-bin.
And that's it! I know some of you already know this. I just thought I'd pass it along to the ones who don't, it's really a nice little tip.
Requirements: Valid UBB.classicTM License
|
|
|
|
Joined: Sep 2002
Posts: 16
Junior Member
|
Junior Member
Joined: Sep 2002
Posts: 16 |
Well done Thanks for that Tip! bobbel
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
Very nice... Useful for UBBs who don't quite trust their Admins "that much" Thanks 
|
|
|
|
Joined: Sep 2001
Posts: 90
Member
|
Member
Joined: Sep 2001
Posts: 90 |
Thanks is it possible to make multiple users?
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
Just add more lines in .htpasswd, but remember to put them on separate lines, otherwise it won't work 
|
|
|
|
Joined: Aug 2001
Posts: 103
Member
|
Member
Joined: Aug 2001
Posts: 103 |
How do you disable this hack if you do not wish to use it anymore?
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
quote: Originally posted by YoungTaeByun: How do you disable this hack if you do not wish to use it anymore? delete .htpasswd and .htaccess
|
|
|
|
Joined: Aug 2001
Posts: 103
Member
|
Member
Joined: Aug 2001
Posts: 103 |
That's the problem. I don't see the files anywhere. They've been uploaded but when I go back into the main ftp directory. It's not listed in there?
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Did you look for it in the cgi-bin directory(not the main ftp directory)? That's where they should be.
|
|
|
|
Joined: Aug 2001
Posts: 103
Member
|
Member
Joined: Aug 2001
Posts: 103 |
quote: Originally posted by brett: Did you look for it in the cgi-bin directory(not the main ftp directory)? That's where they should be. Yes I did. Which is weird why they would not be listed.
|
|
|
|
Joined: Jun 2001
Posts: 729
Coder
|
Coder
Joined: Jun 2001
Posts: 729 |
Those files are typicaly hidden from view. Try typing "ll -a" to list all files (without the quotes). This will show you owners and groups associated as well as the hidden from view files (under Linux only).
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
If you can't, simply use the delete function on these files without seeing it (for example "dele .htaccess", or "del .htaccess" in some programs...)
|
|
|
|
Joined: Dec 2001
Posts: 699
Member
|
Member
Joined: Dec 2001
Posts: 699 |
Just a note to people who don't know - you need to use the Apache web server for this to work (although most do).
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 449
Joined: February 2008
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|
|
|