The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
HTTP Authentication by User / pass / ip ranges Details »» | |||||||||||||||||||||||||||
HTTP Authentication by User / pass / ip ranges
Developer Last Online: Sep 2005
ok , this is the first hack i post around here so i hope im doing it ok
if not mods please fix me :P ok, this hack is ment for closed comunity of vbulltien forums that want exstra security against unwelcome guests this hack adds HTTP Authentication which change acording to username / password to make the security bit higher i added ip ranges part - mean every users got ip range and if his ip is not wellcome then its not let him in (can help abit against shared account). ok so lets start // run this db query PHP Code:
find : PHP Code:
PHP Code:
ok, now u got 2 options : option1 - put it only in root dir option2 - put itin root and on admincp/modcp dir ok if option 1 then // open root/global.php find : PHP Code:
PHP Code:
now if u want option 2 then : open includes/init.php find : PHP Code:
PHP Code:
*WARNING - IN ANY WAY DONT USE BOTH OPTIONS its will cuse to the page ask for several time the user/pass and its will be very buggy. note : if user got dynamic ips for exsample : 143.229.64.58 143.229.78.99 145.88.45.68 just add it like that 143.229 145.88 with 1 space between each ip range dont user * as wildcard. thats all :P if u got some qustions or anything , then im here to suport u guys. Sorry for my very bad english. Show Your Support
|
Comments |
#12
|
||||
|
||||
Is it possible to apply this hack for some (specyfied by me) users ?
(only mods & admin for example) |
#13
|
|||
|
|||
how can i make this hack possible but then without the ipcheck?
and if not, where can i put the valid ips in who can enter? do i have to put for every member the ip in? cant figure it really out. |
#14
|
|||
|
|||
can someone explain if there is no other way to avoid the ip check how to handle this ip check? how do i control this? you have to put all the ip's in there of all members? i just cant understand this.
|
#15
|
||||
|
||||
[QUOTE=InnerSelf]how can i make this hack possible but then without the ipcheck?QUOTE]
Yeah, I am looking for a working version without ip check! Can someone help us please ? Many thanks |
#16
|
|||
|
|||
Quote:
|
#17
|
|||
|
|||
Here's the version without IPmasks:
Open global.php and look for this line: PHP Code:
PHP Code:
This will put a HTaccess popup box on all your regular forum pages. As for the admincp/modcp, it might be easier to just change the location of those to something else (can be edited in the /includes/config.php). Make sure you don't have any extra .htaccess files with an additional htaccess/htpasswd, else it's gonna get messy |
#18
|
||||
|
||||
Can you confirm that the above post is all you need to add for this to work ? none of the extra code from the first post of this thread ?
|
#19
|
|||
|
|||
Yes I can confirm
The extra code in the first post was all needed for the IP field. (which is no default field in VBB and hence u have to alter the DB) Drop that requirement, and the whole snippet gets quite short. |
#20
|
||||
|
||||
Excellent - many thinks: I can see an excellent use for this.
|
#21
|
|||
|
|||
nice hack, it's possible that the user logged in when they autenticate with this method?
what we have now is: usernameassword when open the side (http auth) then login to forum again it's possible: usernameassword when open the side (http auth) then autologin into forum u can use the autologin on forum, but it's not good if more then 1 users share the same workstation. so, is it possible with autologin with http auth? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|