Site Logo

Office of Web Services Forum

Use this forum for Cascade Support, HTML/CSS tips and tricks, as well as discussions between webmasters from all across the university.
 
It is currently Mon Nov 23, 2009 4:33 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Password Protecting Folders
PostPosted: Mon Oct 27, 2008 8:29 am 
Offline
User

Joined: Tue Oct 14, 2008 9:29 am
Posts: 20
Creating a text file called "htaccess.txt" is a simple way to password protect certain Web pages.

Create a new file in any text editor such as Notepad (Windows) or Text Edit (Mac) and name it htaccess.txt. Copy the following content into your htaccess.txt file.

Code:
NovellAuth on
AuthName "Novell Tree"
AuthType login.clemson.edu

<Limit GET POST>
require valid-user
</Limit>


This example will allow access to anyone with a valid Clemson userid and password (more options below).

Save the file and upload it to the folder you want to password protect. If you are using Cascade, you will need to publish it to the server before you will see the protection. Please note that if you have already logged in recently you may need to restart your browser before it will ask you to re-login.

----------

The level of security varies with the options outlined in the file.

If you want to limit access to specific userids, then you would replace the line:
Code:
require valid-user

with something like:
Code:
require user terriv
require user cryan
require user bundric

This would allow only the users terriv, cryan and bundric access.

Maybe you want to restrict access to just employees?
Code:
require group .employee.clemsonu


Or perhaps only users of a specific blackboard workgroup?
Code:
require group .WORKGROUP_NAME_HERE.workgroups.SiteSets.CLEMSONU


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group