Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To secure a directory, you need to must place a file named .htaccess” htaccess in the desired directory (ie: secure) for example:i.e., Secure).

Example: /home/netID/edu.uconn.sitename/public_html/secure/.htaccess

...

Examples

Allow

...

Anyone with a

...

Valid NetID access:

AuthType CAS
require valid-user

Allow

...

Only Certain Users Access:

AuthType CAS
require user NetID1
require user NetID2

To capture the NetID of the user who 's is logged into the secure directory, using use the following code in your index.php file in the secure directory:

$netid=$_SERVER['REDIRECT_REMOTE_USER'];

Filter by label (Content by label)
showLabelsfalse
max10
showSpacefalse
cqllabel = "rhap" and space = "IKB"