IP Only

I created my first plugin when I created my CEO Blog. The problem is obvious: I am going to have a CEO blog where I can share my thoughts with the team frequently. I tried to write a different blog, and I found it is just impossible to maintain two. So I decided to put it on to my own personal blog.

Although most of the articles are public in nature, I do have something that I hope to disclose to the general public later. I don’t want to have complicated OAuth based verification. A simple IP based restriction is good enough. There is no simple solution so I wrote one myself.

Here is the ZIP of the plugin: http://home.wangjianshuo.com/wordpresscn/wp-content/plugins/iponly/iponly.zip

You can download it, modify it, and do whatever you want. There are many hard code in the system – I never blame developers for doing dirty hacks when the time is limited, but we do need to polish it from time to time.

I promise to add all the hard code to options, and create an admin panel for it, in the next version.

 

One thought on “IP Only

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(Spamcheck Enabled)