Disallowing access to a specific user
Filipozzi, Luca
luca.filipozzi at ubc.ca
Tue Jun 7 18:56:13 EDT 2016
On 2016-06-07, 15:04, "users on behalf of Wessel, Keith" <users-bounces at shibboleth.net on behalf of kwessel at illinois.edu> wrote:
>I feel like this should be simple, but I'm not figuring it out.
>
>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?
>
>This is Apache 2.2 that I'm working with, so I don't have all of the extra options in 2.4.
Ugh. We like Apache 2.4 for a reason.
Perhaps something like:
SetEnvIf {test for authenticated users here} permitted=1
SetEnvIf {test for not permitted users here} permitted=0
Allow from env=permitted
--
Luca Filipozzi, UBC IT Enterprise Architecture
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4283 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/users/attachments/20160607/a45a21bc/attachment.p7s>
More information about the users
mailing list