What key is browser info in?

pipdipchip

OSNN Junior Addict
Joined
21 Jan 2004
Messages
11
I wasn't real sure what forum to put this in but I think this will work. First I'll say what I'm trying to do and then you can help me with the Windows part of it. I want to filter out people that visit a certain portion of my web site. That way I have a little control over who visits. Down the road, I'm going to have people pay for access to the site. I've seen PHP scripts were you can allow or block certain IPs to a site. I want to do that but instead of IPs I want to go by the browser information submitted (HTTP_USER_AGENT on PHP). I know there is a key in the registry which can add thinsg to the User Agent but I forget it. Does anyone remember it? I went into two IE folders but can't find it and I think I remember it being in a weird place. Thanks.
 
which particular piece of information from the USER_AGENT string are you planning to ban users by?
 
I think the idea is to add something specific to the user agent string to allow access. Personally I think its a bad idea, but he didn't ask about that :p
 
I didn't think you guys would be a fan of it. LOL. My plan is not to ban users but only allow people in with certain numbers in their USER AGENT. I was planning on giving everyone a unique number to track him them by. For example, pipdipchip will add 5236345234 to his user agent. I would use Null Soft install's registry edit feature to add it so they wouldn't have to.
 
ahh, its an interesting idea, but what if they dont use MSIE, personally cookies, sessions or a php script with certain pieces of information which they have to match up would probably be more effective
 
also anyone could just trap either user agent string and then know how to get in, if they knew where the numeric string was for of course
 
My reason for it was that if I made a little script for Nullsoft install to add the number than most people wouldn't know what was changed on their computer and couldn't hack, change, and copy it.
 
but any site they go to which logs the user agent string would have access to that information which you are determining access by
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back