Bridgewater College - Summer 2004
  AC 100
Selective Access to Folders
  Instructor: Dr. Richard L. Bowman

Making a Web Folder Limited Access

There may be times when particular web pages should be available to only persons accessing those materials from on-campus (including those dialing into the campus modem pool). The server software used to send Bridgewater's web pages to Internet users allows for such situations. The following directions should be followed in these cases.

  1. Place all of the limited-access materials into one folder in your web directory (W-drive).
  2. Highlight and copy the three lines below and paste them into a blank Notepad page.
       
    order deny,allow
    deny from all
    allow from .bridgewater.edu .w3.org
     
  3. Save the file in Notepad into the folder you wish to have limited access on the web with the filename, ".htaccess". In this case do place the file name in quotation marks, as indicated, so as not to have the file extension of '.txt' automatically appended to the file name and also make certain that the period in front of the filename is included.

Note: Remember, as you give class assignments, that the web pages in these folders are not accessible to any of our commuter students unless they are connecting to the campus network through the BC dial-up modem ppl. Otherwise they will have to be on-campus to read these files, so allow sufficient time for any assignments requiring the materials placed in such a limited access folder.

-- (c) 2002-4, Richard L. Bowman


Return to AC100 Home

Created and maintained by: Richard L. Bowman (last updated: 26-Aug-04)