Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Add security to non VB pages and block user groups Details »
Add security to non VB pages and block user groups
Mod Version: 1.00, by mt_100 (Member) mt_100 is offline
Developer Last Online: Aug 2003 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 22
Released: 02 Aug 2002 Last Update: Never Downloads: 0
Not Supported  

OK, my first "hack"!

I created this because I want to have security and logins for my sites non VB pages but don't want two logins, one for the site and one for the forums.

There are other hacks that do the same thing, but this one is different.

1. It creates a PHP session, which means when the user closes the browser they will have to login to the site again later. It doesn't access the VBulletin cookie at all.

2. The user is prompted to login on any page you include this on, once logged in they are taken to that page minus the security.

3. No modification to the VBulletin code.

4. Uses the VBulletin user table so any information in there can be used, like welcoming them on all pages with their login name or telling the user who they are loggin in as.

5. You can block poeple based on their VBulletin user group! That way only certain user groups can see the rest of your site.

6. RUNS ON WINDOWS 2000 AND IIS!!!!!!

Let me know how you like it!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Restrict/allow users/groups - non vb pages VirtualBurn vBulletin 3.0 Full Releases 5 02 Aug 2005 03:34

Comments
  #2  
Old 02 Aug 2002, 20:18
thirdwatch430 thirdwatch430 is offline
 
Join Date: Jan 2002
I haven't installed it yet but I am looking to, thanks!
Reply With Quote
  #3  
Old 02 Aug 2002, 20:18
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Real name: Mike
Re: Add security to non VB pages and block user groups

Screenshots, demo's, anything to show us why this hack is different than so many of the other security hacks?

:banana:
Reply With Quote
  #4  
Old 02 Aug 2002, 20:33
Tungsten's Avatar
Tungsten Tungsten is offline
 
Join Date: Jan 2002
Re: Re: Add security to non VB pages and block user groups

Originally posted by Velocd
Screenshots, demo's, anything to show us why this hack is different than so many of the other security hacks?
Not to seem antagonistic here, but why should the burden of proof fall squarely on the shoulders of MT_100 ? I see this sort of post here all the time -- someone makes a hack and releases it and invariably someone else comes along and "challenges the legitimacy" of that hack.

Variety is the spice of life. Maybe MT_100's code is just cleaner than the rest ... maybe his/hers is the one that works best with Microsoft web servers ... maybe it was created without harming any laboratory animals. Who knows!
__________________
:: Tungsten ::
Owner/Admin - Tennesspeed.net
Reply With Quote
  #5  
Old 02 Aug 2002, 20:36
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Real name: Chris Murphy, BSc
Nice

Satan
Reply With Quote
  #6  
Old 02 Aug 2002, 20:38
mt_100 mt_100 is offline
 
Join Date: Mar 2002
I doubt it is cleaner, I'm certainly not a pro, but it works.

I saw a great hack for Apache on Unix/Linux with .htaccess that did the same thing and loved it, use it on one of my servers.

I just wanted one that would work the same on IIS, so I made it and wanted to share it.

I did forget that you need to put a file called connect.php in the same folder with membercheck.php with your server connection varioables in it, or hardcode them into membercheck.php.

Later folks, enjoy.
Reply With Quote
  #7  
Old 02 Aug 2002, 20:46
Tungsten's Avatar
Tungsten Tungsten is offline
 
Join Date: Jan 2002
Originally posted by mt_100
I doubt it is cleaner, I'm certainly not a pro, but it works.

I just wanted one that would work the same on IIS, so I made it and wanted to share it.
Thanks for releasing it. As an IIS person myself, I can assure you that it will come in handy for several of us in the VBulletin community.

The thing that irks me is how some people essentially spit in the face of generosity by expecting a coder to justify the worthiness of his contribution. People are here sharing their code, tricks and tips -- for free. Why look a gift horse in the mouth?
__________________
:: Tungsten ::
Owner/Admin - Tennesspeed.net
Reply With Quote
  #8  
Old 02 Aug 2002, 22:40
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Thanks

Last edited by assassingod; 11 Aug 2003 at 14:20.
Reply With Quote
  #9  
Old 03 Aug 2002, 06:59
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Real name: Mike
Sorry for the comment earlier, until I actually looked at the code I didn't realize it was so simple enough it didn't need screenshots. I have a dull imagination when it comes to hacks that I'm usually not sure what they do before I install, so I tend to need some visuals.
Reply With Quote
  #10  
Old 08 Aug 2002, 15:21
mt_100 mt_100 is offline
 
Join Date: Mar 2002
Well, to install it.

1. Create a file called connect.php and define the connection variables. Here is an example:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2. Put the membercheck.php file in the folder with connect.php

3. Put an include for membercheck.php at the top of each page you want to secure.

4. Done!
Reply With Quote
  #11  
Old 04 Oct 2002, 16:58
glo's Avatar
glo glo is offline
 
Join Date: Aug 2002
Originally posted by mt_100
I saw a great hack for Apache on Unix/Linux with .htaccess that did the same thing and loved it, use it on one of my servers.

I just wanted one that would work the same on IIS, so I made it and wanted to share it.
Hi mt_100

This may not be a good question but i have to ask!
Will this hack work on Apache or is it strictly IIS???

If not, can you point me into the the other hack that inspired you to create this one!
Reply With Quote
  #12  
Old 04 Oct 2002, 17:19
mt_100 mt_100 is offline
 
Join Date: Mar 2002
This hack is server independant, I use it on my IIS and Apache servers and it works fine.
Reply With Quote
  #13  
Old 04 Oct 2002, 17:32
glo's Avatar
glo glo is offline
 
Join Date: Aug 2002
thanks mt_100, i will give it a go soon!

looking forward to it! will click install when i get around to it!

Also, will it work on 2.2.8???
Reply With Quote
  #14  
Old 21 Dec 2002, 21:49
LOD-squa's Avatar
LOD-squa LOD-squa is offline
 
Join Date: Aug 2002
Real name: Jean Carlos
This doesn't work for me =\
Reply With Quote
  #15  
Old 02 Jan 2003, 20:01
mt_100 mt_100 is offline
 
Join Date: Mar 2002
Yes there is a problem for some. The solution is to change all the lines that read ECHO that are HTML to just HTML and put the stop PHP and Start PHP parkers before and after them. I will send the new file as well.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:00.

Layout Options | Width: Wide Color: