Restrict access to user login page to specific IP

Oghnia - October 31, 2008 - 17:48

Hi,

I looked everywhere for an answer but nothing so far.
I found a module call "Restrict Login Access by IP Address" but it doesn't look like its working.

what I am looking for is a way to allow access to the "/?q=user" from a specific IP address.

is that possible or not.. Restrict Login Access by IP Address sound good and it has what I want but it simply does not work at all..

anything like it or maybe a hack

Would you be willing to use

bwv - October 31, 2008 - 21:01

Would you be willing to use http authentication? If so, there is a script that works quite well for that here:

http://drupal.org/project/httpauth

The site is basically invisible until you type in a username and password.
----------------------------------------------------------------------
http://classicvinyl.biz
http://music.bwv810.com
http://davidhertzberg.com
http://association.drupal.org/user/1207

I am a writer, researcher and solo drupal freelancer

all I want is to block the

Oghnia - November 3, 2008 - 18:44

all I want is to block the login (yoursite.com/user) from everyone but specific IP
is that possible or not,, I don't think httpauth is a good option

______________________________
next project convert this site to drupal -> http://www.oghnia.com

seems to be several

WorldFallz - November 3, 2008 - 19:03

seems to be several options:

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

Yes, I know about these

Oghnia - November 5, 2008 - 20:34

Yes, I know about these modules,,

and I think restrict_by_ip would have been the ideal solution,, but it simply does not work at all..

how about restricting access using htaccess
is that possible,, anyone

______________________________
next project convert this site to drupal -> http://www.oghnia.com

Another way to do this is to

bwv - November 6, 2008 - 17:18

Another way to do this is to use the troll and/or the bad behavior module(s). You can, I believe, use wildcards to block broad IP address ranges. Do not block those you wish to grant access.
----------------------------------------------------------------------
http://classicvinyl.biz
http://music.bwv810.com
http://davidhertzberg.com
http://association.drupal.org/user/1207

I am a writer, researcher and solo drupal freelancer

 
 

Drupal is a registered trademark of Dries Buytaert.