Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [10-2007 Date Index] [Date Next] || [Thread Prev] [10-2007 Thread Index] [Thread Next]

[dokuwiki] Re: Restrict registration to certain IP range

  • From: Martin Grandrath <lists@xxxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 4 Oct 2007 10:44:38 +0200
Hello,

On Wed, Oct 03, 2007 at 09:03:08PM -0500, Myron Turner wrote:
> I wonder if one solution might be to write a small action plugin
> that checks the IP addresses and then to set
> $INFO['writable'] = false;

I have to admit that I haven't checked out the plugin mechanism yet.
I thought about checking the visitor's IP address from within the
template file (main.php), but I don't know if or how I can restrict a
user from there.

Furthermore I don't mind people to login and write from outside the
network.  What I like to restrict is the /registration/.

Regards,
Martin


-- 
pub   1024D/DCF157DF 2002-07-21
      Key fingerprint = A2D4 DDCC 2426 93F2 63C2  AEED C4EE 944E DCF1 57DF

Today is Boomtime, 58. day of Bureaucracy in the YOLD of 3173




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.