Slashdot Mirror


How To Keep a Web Site Local?

Cornwallis writes "The universal accessibility of the Internet is one of its attractions. But what do you do when you don't want your board to be Slashdotted? Back in the day it was great to run a local BBS where friends and neighbors could dial in using their 9600-baud modems to pick up mail or share games or stories. Now, my Web-based board gets slammed by people from all over the world who have no reason to access it, can't possibly take advantage of the locally focused services it offers, and generally take up my time because I have to block their accounts or explain to them why they can't have access. This despite the fact that the board explains quite clearly that it is for local use only and couldn't possibly be of interest to them. Other than putting thousands of entries in my hosts file to block IP ranges, what options do I have to restrict access to locals only? Or isn't that feasible?"

12 of 297 comments (clear)

  1. .htaccess by Norsefire · · Score: 5, Informative

    order allow,deny
    deny from all
    allow from iprange
    allow from iprange
    allow from iprange
    etc. etc.

    There are websites all over the internet that allow you to do country-by-IP-range lookups.

    You could also do;

    ErrorDocument 403 "Sorry, this website is only available to people living in .

    (Yes, no final quotation mark).

    Or don't worry, what does it hurt if people who aren't benefiting from a website visit it?

    1. Re:.htaccess by Anonymous Coward · · Score: 5, Funny

      ErrorDocument 403 "Sorry, this website is only available to people living in .

      Or "This is a local website for local people. There's nothing for you here."

      Or don't worry, what does it hurt if people who aren't benefiting from a website visit it?

      They covet the precious things.

    2. Re:.htaccess by Anonymous Coward · · Score: 5, Informative

      For any Americans wondering what their mad cousins, from across the pond, are talking about: http://www.youtube.com/watch?v=zOGAAlHzF4o

    3. Re:.htaccess by andy.ruddock · · Score: 5, Informative

      Or allow access to all registered users, but only allow "local" access to the signup page.

      --
      God: An invisible friend for grown-ups.
  2. Good question, but... by Anonymous Coward · · Score: 5, Funny

    ...I doubt Slashdot can make a good assessment without taking a look at the site. Mind posting the URL?

  3. Why you gotta be like that? by QuantumG · · Score: 5, Interesting

    You have no idea what is of use to other people. Maybe they're thinking of visiting your local area. Maybe they have friends that live there. Maybe they're thinking of setting up a similar board for their own area and want to know how yours is going. Put down your ego for a minute.

    --
    How we know is more important than what we know.
  4. local knowedge by 1u3hr · · Score: 5, Insightful
    We have a forum for our village.

    A couple of years ago we started to get a lot of people signing up from China, India, Russia etc and then posting spam. So now, to register with the forum you have to answer a question that requires you have some local knowledge. That gets rid of most automatic signups. And secondly, the accounts are not activated automatically but have to be approved by an administrator. So we delete those with spammy URLs in their signatures ("Buy WOW gold" seems to be a common variety). In a small community, the number of real local people siging up is a few per week. Maybe a couple of spammers get past that in a month, and then their posts and accounts are quickly deleted.

  5. Re:Why use a tech solution? by Jurily · · Score: 5, Insightful

    That's a pretty serious problem for filtering based on geography.

    No kidding. Basically, anyone who thinks geography-based filtering is a good idea should be shot. Imagine moving 2000 miles, then being told by some braindead webdesigner you can't talk to your friends anymore.

  6. Re:People travel. by azaris · · Score: 5, Funny

    Don't expect that your users stay in one place. Do expect that they sometimes travel to other countries.

    I was going to suggest this, then realized his users are likely to be Americans.

  7. Re:Why use a tech solution? by 1u3hr · · Score: 5, Interesting
    No kidding. Basically, anyone who thinks geography-based filtering is a good idea should be shot. Imagine moving 2000 miles, then being told by some braindead webdesigner you can't talk to your friends anymore.

    Happens to me a lot. I'm in Hong Kong. I find some US ISPs (like AOL) bounce my mail solely based on my location. And much media (even some on Youtube) is blocked geographically. Even some porn sites block me.... And other sites insist on giving me Chinese versions of their web pages, with no option to choose English. Highly irritating to go to Google.com and find myself redirected to Google.com.hk. (Yes, I have workarounds now, still annoying.)

  8. Information wants to be free by Anonymous Coward · · Score: 5, Funny
    Copyright doesn't exist. You don't have the rights to keep your information for yourself. You MUST share it with all us and everybody as the rights to copy and use it.

    or so I have been told here on slashdot.

    PS. Apple users suck.

  9. Re:Easier option by Anonymous Coward · · Score: 5, Funny

    Best to only apply this restriction to account evolution.

    Fixed that for y... wait, what?