15 Jun
Restrict access to your web site by IP address and/or network, with the ability for each restriction entry to be based on day(s) of week and/or time of day. In addition, each restriction can also have a separate message displayed to the end-user and a password in which the restriction can be bypassed.
Features Include:
Why did I create this plugin you might ask, well because I really didn”t want people at my place of employment accessing my web site during the work day. Sure I don’t mind if they come to my site (not that there’s really anything to read), but I didn”t want it to happen during business hours. That could come back to bite me!
Download JC-IPRestrictions - as well as installation directions, instructions on use, screenshots and more – from the official Wordpress Plugins Directory.
Good Luck!
28 Responses for "JC-IPRestrictions"
Thank you. This solved a little problem I was having.
Does JC-IPRestrictions work with Wordpress 2.7?
Yes Matthias, I’m running JC-IPRestrictions without problems on 2.7. If you have any problems please let me know and I’ll help troubleshoot.
Hi. I managed to restrict myself from my website and had to remove the JC-IPRestrictions directory from the command line on my shell account.
On re-installing it and reactivating it I am again ‘locked out’. I’m presuming that variables are still in the db from the previous install. Is there a way to completely de-install it so I can re-install with my configuration options fixed?
Many thanks in anticipation,
Tomas
Tomas, I did see this until now. Are you still having issues?
The plugin was written so when you reactivate it is disables blocking pages. Are you sure it’s the plugin causing the restriction?
I’m trying to block everyone except a handful of IPs rather than to block just a handful of IPs. Or to put it another way, I want to allow only certain IPs to access a site and any IP that isn’t specified in the list would be blocked.
Is there a way to accomplish this?
Thanks!
Config question: Are the quotes support to be included? I.E.
1. `Net=95.84.1.1|Mask=255.255.0.0|Message=Go away`
or without quotes:
2. Net=95.84.1.1|Mask=255.255.0.0|Message=Go away
No Quotes.
Thank you for writing this plug-in and for sharing it. It’s now making my like much simpler!
Josh:
I installed the plugin and entered an ip address that I want blocked, but it appears that the person still is accessing my site. What am I doing wrong?
Josh
I installed the plugin and entered the IP address that I want to block, but that person still seems to be accessing my site. What am I doing wrong?
Can this be used to restrict just selected pages/menu items?
Wayne: I have absolutely no idea without you sharing the code you are using plus the IP address you are trying to block. In addition, how does this person receive their IP address?
Stuart: No, it only blocks your entire site. There are other plugins (of default WP passwords) that will block pages and/or menu items.
I am not able to restrict access ..I blocked a ip used the same ip via proxy yet i am able to access the site.What is the problem?
Sham: I have absolutely no clue what the problem is. Where are you getting the IP address that you are blocking? What is the IP address.
Josh: I like the idea of the plugin but what to do if no “password bypass box” is displayed??
Can you post the line you are using in the configuration box?
I am using this plugin on my site and really like it. I have tested different ip’s and verified that the plugin is working, but I have one particular ip that I have blocked and yet they are still able to access the site.. any clue?
I am currently using this:
Net= 99.177.88.250
but have tried all the variations in the documentation and to no avail.. this user keeps on coming.
Thanks!
Hi MIke,
This might sound silly but I noticed there’s a space between the equal sign and the first 9. If this space is in your configuration it will cause the IP address to be allowed. Does the space exist in the code?
Wow, now I feel so stinking lame. I had all my others ips i am blocking set up right, but had a space in that one.. did not even notice it… that was so simple… thanks so much for the feedback.
No worries – we’ve all experienced that feeling one time or another! I’m just glad the plug-in is working for you! Enjoy and good luck!
Hi, does it work with wp 2.8.4? Thanks…
Will a back slash work between the ‘Net’ and ‘Mask’? If not, how in tarnation do you make the horizontal line. No laughing or ridiculing, please.
It’s the good ‘old “pipe” character. On a standard keyboard it’s above the forward slash “\” (without the quotes).
Thanks, Josh. One more question. Is there a way to view any type of report showing attempts from restricted ip’s?
Sorry April, currently there is no reporting.
hey, is there a way that i can restrict certain pages on my site?
thanks in advance
Thank you!
It was wonderful if you could mix your plugin with something like askimet.
See ya! great job
Leave a reply