Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: simpler way of banning whole world?

  1. #1
    Join Date
    Dec 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default simpler way of banning whole world?

    simpler way of banning whole world?
    ok dont laugh,but as im using a huge htaccess file to ban full countries by range i was just wondering if there's an easier way doing this then adding tons of deny from to my htaccess.
    for example,what if only want visitors from the u.s on my site..?

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Why would you want to do this? There isn't a good reason for anyone to provide an online market or site to a select group of people. If this is the case then you need a members area or similar where each group can have its own space.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Hmmm. Umm... just use an if statement based on IP location technology. But it isn't foolproof.
    Doesn't seem like that good an idea to me either.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. #4
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    one thing with the IP trick (as djr pointed out it is NOT foolproof) I have one test IP for example that starts in California, gets routed to Texas, then Argentina and from their either to it's destination on the Western Hemisphere, or to Spain, then to the Eastern Hemisphere.

    I am in Washington, but I would be blocked from your site based on my IP.

    Things to think about.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  5. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Yep. And AOL users are just kinda random, it seems, according to what I've read.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  6. #6
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    now THAT would be a worth while ban.. blocking AOL. ROTF.. I have more complaints from users about accesability and errors only to find out it was AOL to start with.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  7. #7
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Hehe. True. Just reroute to a page that says "please change ISPs. AOL sucks."

    As for the original question, let me note that you should definitly say if ($iplocation != "US") as opposed to checking for the whole world. Perhaps that'll solve the whole issue.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  8. #8
    Join Date
    Sep 2004
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by BLiZZaRD View Post
    There isn't a good reason for anyone to provide an online market or site to a select group of people.
    Scenario;

    1) Selling ethanol from central Missouri, pump/truck/train. No reason to advertise to Ukraine.
    2) Selling fireworks. Even some states won't allow to import.
    3) Selling weapons (Maddi Griffin). No sense in attracting Taliban sales.

  9. #9
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    That's completely ridiculous.
    Don't sell to anyone who has a shipping address in an illegal area. Not your problem if someone views your site where it's illegal to buy your merchandise. What if someone is on a trip and wants to buy something when they get back?

    I doubt the Taliban is stupid enough to buy from a small website selling weapons. And in any case, that's a joke... obviously all firearms are monitored by the government and that wouldn't do much good to the Taliban.... that is operating out of... er... Afghanistan. Not... y'know... the US....

    Who's selling weapons from a website anyway?
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  10. #10
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Quote Originally Posted by Arctic Fox View Post
    Scenario;

    1) Selling ethanol from central Missouri, pump/truck/train. No reason to advertise to Ukraine.
    2) Selling fireworks. Even some states won't allow to import.
    3) Selling weapons (Maddi Griffin). No sense in attracting Taliban sales.
    1) There are pumps/trucks/trains all over the world, not just in Missery. Import and Export of non food items from the US is the second highest gross earning profit maker in the world today. (Electronics TO the US is first, btw). It takes nothing more than a bank account and a letter head to become a world wide shipper of non food item goods. I know, I was going to do it, before I started getting serious intrest in my screenplays.

    2) Again, some counties in some states don't allow it. Some cities in some counties in some states don't allow it. How are you going to block certain cities? It's called CYA (Cover Your Ass) a tiny little disclaimer on the main page and on the shopping cart page saying the buyer is responsible for items shipped to/from their area. See This Link and click on the "why is shipping restricted" link for a GREAT example.

    3) Understand something about terrorism. One, I do applaud your sense of patriotism, it is heroic and noble. However, IF Taliban, Al Quida, or any other facist group want to buy weapons from you they are going to do so. Yes, for most guns there is a form, a wait, and a back ground check. But understand that these terrorists LIVE in the US, and have for MANY years. They are actual citizens like you and me, they are NOT some dirty, stinky towel on the head crouched in a cave that just so happens to be on your site from a satellite link up from the desert. Allowing ONLY US IPs will NOT stop them from gaining access. And it is those type of sites that they actually seek out to buy from because the first person that is looked at is YOU. It gives them more time, and puts more heat on you because you have just become a source for "certain marketing" unlike a large scale, high profile weapons smith.


    The only thing you stand to gain from this is less visitors, and not just the wrong ones.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •