This rather bone-headed page consists of various examples of different .htaccess file contents controlling access to trivial documents.
| HTTPS/SSL | ||
| SSL/ | Anybody using SSL (HTTPS). | |
| Basic Auth | ||
| basic_rose/ | Basic auth, requiring user rose (password, too, is rose) | |
| basic_any/ | Basic auth, requiring any valid user (use, for example, rose for both password and username) | |
| basic_any_cgi/id.cgi | Basic auth, any valid user, CGI resource (use, for example, rose for password and username) | |
| basic_group/ | Basic auth, requiring a member of group tech_cs | |
| basic_stdgroup/ | Basic auth, requiring a member of group tech_cs, using /www/auth/group | |
| IP-based Auth | ||
| ip_cs/ | IP auth, requiring a cs.washington.edu hostname | |
| ip_ncs/ | IP auth, requiring any but a cs.washington.edu hostname | |
| CSECookie | ||
| CSENetID_any/ | CSENetID auth, any credentialed CSE user | |
| CSENetID_any_cgi/id.cgi | CSENetID auth, any credentialed CSE user, CGI resource | |
| CSENetID_any_cgi/id.cgi/path | CSENetID auth, any credentialed CSE user, CGI resource with $PATH_INFO | |
| CSENetID_rose/ | CSENetID auth, credentialed user rose | |
| CSENetID_oystr/ | CSENetID auth, credentialed user oystr | |
| CSENetID_www/ | CSENetID auth, members of group www | |
| CSENetID_offic_cs/ | CSENetID auth, members of group offic_cs | |
| Hybrid IP/CSECookie | ||
| CSENetID_Local/ | CSENetID/IP auth, any .cs.washington.edu or credentialed CSE user | |
| Pubcookie | ||
| UWNetID_any/ | UWNetID auth, any credentialed UW user | |
| UWNetID_rose/ | UWNetID auth, credentialed user rose only | |
| UWNetID_oystr/ | UWNetID auth, credentialed user oystr oystr | |
| UWNetID_any_cgi/id.cgi | CSENetID auth, any credentialed CSE user, CGI resource | |
| Hybrid IP/Pubcookie | ||
| UWNetID_Local/ | UWNetID/IP auth, any .cs.washington.edu or credentialed UW user | |
| Hybrid CSEcookie/Pubcookie | ||
| Whichever/ | CSENetID, rose or socha | |
| Whichever/ | UWNetID, rose or socha | |