Disallowing access to a specific user
Peter Schober
peter.schober at univie.ac.at
Wed Jun 8 03:52:31 EDT 2016
* Wessel, Keith <kwessel at illinois.edu> [2016-06-08 00:05]:
> It's easy, in Apache, to allow access to a specific user (Require
> user fred). But is there an easy way to allow access to all
> authenticated user except for a specific user? Can I do something
> like:
>
> Require valid-user
> Require user !fred
>
> To negate things for that user?
Your example would work except for a missing blank after the negation
modifier. See The Fine Documentation:
https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPhtaccess
Note that those modifiers (negation, regex) are deprecated when using
them on the old-style "require user". Instead you could use
ShibCompatWith24 with httpd 2.2 and use the newer syntax ("require
shib-user").
-peter
More information about the users
mailing list