Difference between revisions of "AuthenWeBWorK"
Jump to navigation
Jump to search
m (added tag) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 22: | Line 22: | ||
You can only authenticate against a single course per location. |
You can only authenticate against a single course per location. |
||
− | -- Main.SamHathaway - 01 Sep 2006 |
||
+ | [[Category:Administrators]] |
||
+ | [[Category:Authentication]] |
Latest revision as of 19:15, 16 June 2021
WeBWorK 2.3 contains an Apache authen handler called Apache::AuthenWeBWorK
. It allows you to password-protect a directory or location with accounts from a WeBWorK course. This is typically done with HTTP-Basic authentication, but can use any authentication protocol that Apahce supports (such as HTTP-Digest).
Requirements
WeBWorK 2.3.0 or later.
Usage
Configuration looks like this.
<Location /some_protected_location> AuthName "My Protected Location" AuthType Basic PerlAuthenHandler Apache::AuthenWeBWorK PerlSetVar authen_webwork_root /path/to/webwork2 PerlSetVar authen_webwork_course some_course_id require valid-user </Location>
Limitations
You can only authenticate against a single course per location.