2011/04/15

NetID Authentication Variations

By nikky

We’ve offered sup­port for web­site access restric­tions by NetID for quite a long while, and have fairly exten­sive doc­u­men­ta­tion about how to imple­ment this for many dif­fer­ent sce­nar­ios, includ­ing by UW Groups and reg­is­tered stu­dents in courses.

One thing that you may not know is that you can also explic­itly exclude NetIDs using the “not” directive.

AuthType UWNetID
require valid-user
require not user lonely4

This will allow every­one with a NetID to access the site, but not user lonely4.

You can also do this with groups:

AuthType UWNetID
require type employee
require not group u_nikky_restrict

This will allow every­one with the “employee” type, except for those who are in the u_webtest_restrict group, cre­ated with the Group Web Ser­vice.

 

Comments are closed.