darren884 — 2010-01-21T00:33:40-05:00 — #1
Is it possible to make a domain only accessible to certain IPs? Say if I had a company that had an administration system, how would I make it only accessible to my company's networks around the country? Can I use hosts.deny for a single domain? Thanks
dan_grossman — 2010-01-21T01:58:15-05:00 — #2
philm — 2010-01-21T06:00:04-05:00 — #3
And just to follow up on that article. You can also do a range of IP's if needed by omitting the last parts of the IP, eg.:
allow from 888.88.
wwb_99 — 2010-01-21T13:05:23-05:00 — #4
Works great until you get someone either spoofing the IP or infiltrating the "friendly" network. Or, don't use this as a sole replacement for a login.
spacephoenix — 2010-01-21T13:48:48-05:00 — #5
Some ISPs give their customers a new IP upon nearly every page request. Any ISPs that operate in more than one country (AOL is the only one that I can think of but there might well be others), they might use some IP address for customers in more than one country.
You also need to bear in mind that some might use proxy servers to access the Internet.
wwb_99 — 2010-01-21T14:30:52-05:00 — #6
Some ISPs give their customers a new IP upon nearly every page request
Got an example of this?
spacephoenix — 2010-01-21T15:19:25-05:00 — #7
Here is one example. If you goole around you'll see that it's common knowledge.
wwb_99 i believe congraulations are in order, if i'm not mistaken you've been promoted from SitePoint Mentor to SitePoint Advisor. I think there have been a few members made SitePoint Advisors recently.
EDIT: Found a better example, scroll down to the bit entitled "The Special Case of AOL"
wwb_99 — 2010-01-21T15:44:38-05:00 — #8
Oh, I won't argue that AOL used to do this--that article is 10 years old. But I think that died when they went to being more of a straight ISP and not punching people through proxies and walled gardens.
Thanks for the kudos, but I've been an advisor for a bit.
system — 2010-01-21T15:45:54-05:00 — #9
Yes you can and there are multiple ways of doing that. The easiest one is to use .htaccess files.
spacephoenix — 2010-01-21T16:40:45-05:00 — #10