What would be involved in extending AuthUser to grant access 
based on IP address?

Specifically, would it be possible to grant read access to 
requests from a specific IP address, based on that address 
being defined as a username on SiteAdmin.AuthUser?

A number of sites using the PublishPDF library also use AuthUser 
to control access. Currently, the only way to support this is to 
make local/config.php detect incoming requests from the IP address 
of the PDF server and set a username and password.

It would be tidier if the administrator could configure this 
through the wiki, without having to set up a special username 
and password. Requests from that IP address would be given read
access, without having to enter a password.

Is this something that can be done as a local customisation or 
does it require changes to scripts/authuser.php?
-- 
John Rankin
Affinity Limited
T 64 4 495 3737
F 64 4 473 7991
021 RANKIN
[EMAIL PROTECTED]
www.affinity.co.nz



_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to