Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2006
    Location
    Kingston, WA
    Posts
    756

    Default Block Countries Addon from Interactive Villages

    Interactive Villages Classified Block Countries Addon for Version 5

    ADDON INFO: The Interactive Villages Block Countries Addon allows the site admin to block access to thier Geodesic site by country or IP.

    AUTH TAG: IV

    ADDON FOLDER NAME: addons/ip2country

    URL TO DOWNLOAD/PURCHASE: http://www.geodesicaddons.com

    Compatiblility: All Geodesic version 5 products

    PRICE: $119.00 USD


    If you have scammers poaching your Geodesic site, BLOCK THEM with the Block Countries Addon! The Interactive Villages Block Countries Addon allows the site admin to block access to thier Geodesic site by country or IP. The control panel allows selection of individual countries and the admin can set the allow/deny for the selected countries in the Addon Control panel. The site administrator can choose to use a 404, 403 error, or a 301 redirect, or a custom message and or redirection based on configuration choices. This Addon includes the IP2Country addon listed below, so the admin can publish the visitor IP and country flag on any page for those countries which are allowed access.


    Browse to http://www.geodesicaddons.com for more info or to purchase.

    http://www.interactivevillages.com
    Interactive Villages LLC
    Custom modules, programming and hosting for all Geodesic products!

  2. #2
    Join Date
    Dec 2010
    Posts
    66

    Default

    How is this function of blocking countries done? Is this addon adding IP ranges to the .htaccess file or is it storing them in the software database? Also, how is the addon updated with new IP addresses? New IP values are being added/changed all the time. And finally... how does using this addon affect the speed of the website overall?

    Thanks!

  3. #3
    Join Date
    May 2007
    Location
    Kingston WA
    Posts
    116

    Default

    The addon uses the IP address of the visiting user, and geo-codes it to a country. Then the country is blocked or allowed based on the country of origin.

    In the admin control panels, you can choose for the addon to "Allow Then Deny" (act like a white list) or "Deny then Allow" (act like a black list)

    When a country is blocked, it does not use .htaccess . Instead http headers are built using PHP using rules that you can set up in the admin control panel.

    Your choices to use when denying access is to return
    * A 403 (unauthorized) error
    * A 404 (not found) error
    * A 301 (permanant redirect) to a url of your choosing
    * A custom error

    Please let me know if this explanation was clear.
    Independant Desinger and Programmer

  4. #4
    Join Date
    Dec 2010
    Posts
    66

    Default

    Thank you. The answer was clear, but you didn't answer questions 3 & 4.

  5. #5
    Join Date
    May 2007
    Location
    Kingston WA
    Posts
    116

    Default

    My appologies,

    The system uses the GeoLite Country CSV file from Max Mind to import ip blocks.

    You will need to periodically download this file, and update your database. Instructions are included (including a link to max mind) on the update page about how to complete this operation.

    Once the import is complete, the new IP blocks are stored in a table resident in your geodesic database.
    Independant Desinger and Programmer

  6. #6
    Join Date
    May 2007
    Location
    Kingston WA
    Posts
    116

    Default

    Your final question....

    How does it effect the speed.

    The performance hit is negligable. It is, from our experience, undetectible by users. The queries happen very quickly.
    Independant Desinger and Programmer

  7. #7
    Join Date
    Dec 2010
    Posts
    66

    Default

    LOL Good catch!

    Ok. Thank you for replying so quickly. I'll post again if I have anymore questions.

Tags for this Thread

Posting Permissions

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