Requiring Userids for Secure Web Access

This is documented at http://www.math.uwaterloo.ca/mfcf/faq/www_author.html#www/features_access_imap.faq.

In short, for any page in the same directory as (or a subdirectory of) the directory containing a .htaccess file with the following two lines:

require valid-user
!SSLRequireSSL
will require WatIAM authentication via CAS before allowing access, and then will serve the page over a secure connection.

Please note that while the old Solaris web server required that the line PerlAuthenHandler Apache::AuthenURL be in the .htaccess file, the Linux web server requires you not to have it.

The web server will require that all such pages are accessed via the https:// protocol instead of http://, so make sure you set any links on your page accordingly.

NB: If anybody knows how to get http:// to forward to https:// automatically on appropriate pages, please document it here.

See also:

Edit | Attach | Watch | Print version | History: r8 | r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r4 - 2010-09-20 - TerryVaskor
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback