View permission in ip2cc module

ip2cc module could help anyone to know where the poster was in term of country, IP address and network name. Anyway, this information may not be publicly accessible by anyone, instead it should be accessible by authorized persons. Since I forgot this feature at the time I wrote it, I have just noticed this missing feature when I want to implement a site for publicly offering image hosting service free of charge. As you might know, most image hosting services are heavily used for storing images to show in webboards. Some images are inacceptable due to copyright law or TOS violation by any reasons. In worst case, police might ask for the address of the poster. They just want to know his/her IP address. However, normally this information should be hidden to keep each image posted by anonymous user as long as nobody reports TOS violation.

As a result, I add 3 permissions to ip2cc so that you can specify who can see what information in detail. These permissions are listed below.

  1. view country (including flag)
  2. view IP address
  3. view network name

So anonymous visitor at howforge.com will only see the flag and country name. If you want to see more, log in first. Please remind that you have to grant permission in administer -> access control.

Technorati Tags: , , , , , , , , ,

nice idea...

Very nice improvement. I can see why you would do this for membership purposes, but in reality, this only adds one layer of 'protection' for each user. However, I do not think knowing someone's IP address and service is a bad thing. There are scripts and services all over the web that can get this for you with ease. Your very cool module provides a very nice service. Nice improvement though.

Post new comment