Pelican Parts
Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   Pelican Parts Forums > Miscellaneous and Off Topic Forums > Off Topic Discussions


Reply
 
LinkBack Thread Tools Rate Thread
Author
Thread Post New Thread    Reply
Me like track days
 
Craig 930 RS's Avatar
 
Join Date: Sep 2003
Location: Kirkland, WA
Posts: 10,209
Question Web Sites - limiting viewings?

Friend asks:

Is there a(n) easy way to limit the ability of certain IP addresses to view a web site?
I didn't know, but I'll be you guys do - !

Fire away -

__________________
- Craig 3.4L, SC heads, 964 cams, B&B headers, K27 HF ZC turbo, Ruf IC. WUR & RPM switch, IA fuel head, Zork, G50/50 5 speed. 438 RWHP / 413 RWTQ -
"930 is the wild slut you sleep with who tries to kill you every time you "get it on" - Quote by Gabe
Movie: 930 on the dyno
Old 08-24-2008, 10:18 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #1 (permalink)
Registered
 
id10t's Avatar
 
Join Date: Mar 2003
Posts: 10,320
A firewall can be used to block IPs from accessing your (server) IP (if you are on a dedicated server, one IP per domain.). You can also use options in the Apache config files to do it if you aren't on a dedicated server . Not sure what the options are for IIS (the MS webserver, although you can run Apache on windows boxes no problem).

If you want to limit the number of views, etc. per IP, that is doable also via cookies and server side programming.

What exactly do you want to do?
__________________
“IN MY EXPERIENCE, SUSAN, WITHIN THEIR HEADS TOO MANY HUMANS SPEND A LOT OF TIME IN THE MIDDLE OF WARS THAT HAPPENED CENTURIES AGO.”
Old 08-24-2008, 11:20 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #2 (permalink)
You do not have permissi
 
john70t's Avatar
 
Join Date: Aug 2001
Location: midwest
Posts: 39,842
Registration with e-mail log-in will also limit the viewers and cut down on bandwidth costs.
For instance, Craiglist uses recatcha.net to add another (human) layer to cut down on spam and verify posters.

Do you want to set up a personal site and not be deluged with costs from fake seach-engine links?
There are probably plenty of free servers out there which allow limited bandwidth, and free .html programs to set up a basic site.
Old 08-24-2008, 11:45 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #3 (permalink)
Me like track days
 
Craig 930 RS's Avatar
 
Join Date: Sep 2003
Location: Kirkland, WA
Posts: 10,209
He wants to keep 2 particular people - whom I assume have each a unique IP address (?) - from having the ability to have any access whatsoever to his web site -

How?
__________________
- Craig 3.4L, SC heads, 964 cams, B&B headers, K27 HF ZC turbo, Ruf IC. WUR & RPM switch, IA fuel head, Zork, G50/50 5 speed. 438 RWHP / 413 RWTQ -
"930 is the wild slut you sleep with who tries to kill you every time you "get it on" - Quote by Gabe
Movie: 930 on the dyno
Old 08-24-2008, 06:48 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #4 (permalink)
Registered
 
slodave's Avatar
 
Join Date: Sep 2005
Location: Encino Man
Posts: 22,394
Garage
Send a message via Skype™ to slodave
You can do this by creating an .htaccess file and placing it in the root directory.

It should look something like:

order allow,deny
deny from 123.456.789.123
deny from 987.654.321.321
allow from all
__________________
Make sure to check out my balls in the Pelican Parts Catalog! 917 inspired shift knobs.

'84 Targa - Arena Red - AX #104
'07 Toyota Camry Hybrid - Yes, I'm that guy...
'01 Toyota Corolla - Urban Camouflage - SOLD
Old 08-24-2008, 06:56 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #5 (permalink)
Me like track days
 
Craig 930 RS's Avatar
 
Join Date: Sep 2003
Location: Kirkland, WA
Posts: 10,209
Newbie question:

How does he find the IP address of the parties - via e-mail or ?
__________________
- Craig 3.4L, SC heads, 964 cams, B&B headers, K27 HF ZC turbo, Ruf IC. WUR & RPM switch, IA fuel head, Zork, G50/50 5 speed. 438 RWHP / 413 RWTQ -
"930 is the wild slut you sleep with who tries to kill you every time you "get it on" - Quote by Gabe
Movie: 930 on the dyno
Old 08-24-2008, 07:25 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #6 (permalink)
 
Registered
 
jeffgrant's Avatar
 
Join Date: Mar 2005
Location: London, ON, Canada
Posts: 1,737
FYI, it's a bad assumption to assume that a single person will be using a single IP address. Some big ISP's (AOL, for instance), have a small group of IP addresses that ALL of their customers use. That means that if you block one IP address, it could very well block tens/hundreds of thousands of users.

Also, if the person is using dial-up, or some DSL/cable connections, their IP addresses can change quite regularly, so if you block specific IP's, it might only be valid for a small amount of time.


As to finding out the IP address, you CAN figure out their IP address at the time from emails, assuming they weren't using some form of web-mail (Gmail, etc).

The best bet is to tell us the details of how the people are interacting with the user and his site, what kind of site it is, how it is being hosted (on a generic 3rd party hosting company, custom-made site hosted elsewhere, etc.), as the specific methods of how to do this are VERY context specific.

What is the user doing to piss off the client? And why "view the site only a certain number of times"?

Basically, you've asked a VERY generic question that is almost impossible to answer, IMO, and we need more info to figure it out.


$0.02 (CDN)

Last edited by jeffgrant; 08-24-2008 at 07:37 PM.. Reason: misread the initial question... my bad.
Old 08-24-2008, 07:35 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #7 (permalink)
Me like track days
 
Craig 930 RS's Avatar
 
Join Date: Sep 2003
Location: Kirkland, WA
Posts: 10,209
Is it the IP address that allows, for example, a site to know that I am in Kirkland, WA?
__________________
- Craig 3.4L, SC heads, 964 cams, B&B headers, K27 HF ZC turbo, Ruf IC. WUR & RPM switch, IA fuel head, Zork, G50/50 5 speed. 438 RWHP / 413 RWTQ -
"930 is the wild slut you sleep with who tries to kill you every time you "get it on" - Quote by Gabe
Movie: 930 on the dyno
Old 08-24-2008, 07:40 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #8 (permalink)
Insert Tag Line HERE.....
 
rattlsnak's Avatar
 
Join Date: Nov 2000
Location: Atlanta, Ga
Posts: 9,679
Garage
Send a message via AIM to rattlsnak
the short answer is no. limiting an ip address is not the way. you can get aroud that by simply opening up your command prompt and typing ip release then renew and youll get another one that quick. it depends on your host. the only way to truly do it, is by using a login page and dont give him access.
Old 08-24-2008, 09:04 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #9 (permalink)
Slackerous Maximus
 
HardDrive's Avatar
 
Join Date: Apr 2005
Location: Columbus, OH
Posts: 18,162
Quote:
Originally Posted by rattlsnak View Post
the short answer is no. limiting an ip address is not the way. you can get aroud that by simply opening up your command prompt and typing ip release then renew and youll get another one that quick. it depends on your host. the only way to truly do it, is by using a login page and dont give him access.
+1

You can forget about manually blocking a person via IP unless the unwanted traffic is coming from a business or government organization. All home connections use dynamically assigned address, so the offending person could easily just request a new address. If it is coming from an indentifiable organization, you could block them entirely, but it would be far more sporting to have an attorney write a well crafted letter, explaining that you do not appreciate the offending behavior.

What are the domain names of the e-mail address(Everything after @ in the address)?
__________________
2022 Royal Enfield Interceptor.
2012 Harley Davidson Road King
2014 Triumph Bonneville T100.
2014 Cayman S, PDK.
Mercedes E350 family truckster.
Old 08-24-2008, 09:26 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #10 (permalink)
Registered
 
id10t's Avatar
 
Join Date: Mar 2003
Posts: 10,320
Quote:
Originally Posted by Craig 930 RS View Post
Is it the IP address that allows, for example, a site to know that I am in Kirkland, WA?
There is some geomapping available, but the data changes constantly.
__________________
“IN MY EXPERIENCE, SUSAN, WITHIN THEIR HEADS TOO MANY HUMANS SPEND A LOT OF TIME IN THE MIDDLE OF WARS THAT HAPPENED CENTURIES AGO.”
Old 08-25-2008, 05:20 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #11 (permalink)
Registered
 
URY914's Avatar
 
Join Date: Aug 2001
Location: Jacksonville FL
Posts: 50,449
Garage
Here is a related question...

I know my IS guy can see what sites I visit. He's told me he can. But if it is a password protected site can he read what I am posting or viewing?
__________________
Jacksonville. Florida

https://www.flickr.com/photos/ury914/
Old 08-25-2008, 06:25 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #12 (permalink)
 
Too big to fail
 
widebody911's Avatar
 
Join Date: Jan 2002
Location: Carmichael, CA
Posts: 33,894
Garage
Send a message via AIM to widebody911 Send a message via Yahoo to widebody911
Quote:
Originally Posted by URY914 View Post
I know my IS guy can see what sites I visit. He's told me he can. But if it is a password protected site can he read what I am posting or viewing?
It depends.

The normal access logs won't show the content, but he could set up WireShark or some such and specifically snarf your traffic.
__________________
"You go to the track with the Porsche you have, not the Porsche you wish you had."
'03 E46 M3
'57 356A
Various VWs
Old 08-25-2008, 06:37 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #13 (permalink)
Registered
 
id10t's Avatar
 
Join Date: Mar 2003
Posts: 10,320
Can't sniff it if it SSL encrypted. Otherwise, everything is open. For untrusted connections (hotel wireless, etc) I use a SSH tunnel to a server I run. You can do the same with a VPN.

Quote:
Originally Posted by widebody911 View Post
It depends.

The normal access logs won't show the content, but he could set up WireShark or some such and specifically snarf your traffic.

__________________
“IN MY EXPERIENCE, SUSAN, WITHIN THEIR HEADS TOO MANY HUMANS SPEND A LOT OF TIME IN THE MIDDLE OF WARS THAT HAPPENED CENTURIES AGO.”
Old 08-25-2008, 07:02 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #14 (permalink)
Reply


 


All times are GMT -8. The time now is 09:53 AM.


 
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website -    DMCA Registered Agent Contact Page
 

DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.