Creating Accessible Home Pages in the Pentium Lab


 

Create a home page in the top of your directory

  1. Create a home page in the top of your directory. Here is a sample that you can use as a starting point.
<html>
<head>
<title>[Your name goes here]'s Home Page</title>
</head>
<body>
<h1><center>[Your name goes here]</center></h1>
<hr>
</body>
</html>

Modify your permissions

This is what I received from Jeff Behl. I will re-write it as soon as I can.

Pete,
        Here is the schema I came up with to give your students WWW pages.
It will require a little bit of work on their part  and they may wish to 
consider the security implications.

        As of now, the server can be reached at 'enterprise.mcl.ucsb.edu'.
I have placed a link there that leads to the cs10 folder, listing all
user logins.  As things stand now, if you try to access a user account,
'access is denied.'  To allow access, a user must follow these steps:

        -right-click their home directory (login name) in z:\users\cs10\
        -a menu pops up, select 'Properties' at the bottom.
        -another menu comes up with three possible tab sheets, select
         the 'Security' tab if it is not already.
        -another menu, select Permissions.
        -here is where they must add the 'www' user to allow WWW access to
         their home directory.
        -Make sure both 'Replace Permissions on Subdirectories' and
         'Replace Permissions on Existing Files' is unchecked!  The
         latter is checked by default and must be unchecked if you don't
          want people snooping around other files in your home directory.
        -Click 'Add'.  Another menu comes up, click 'Show users'.
        -Scroll down the list of users, select the user 'www' and click
         'Add'.  You're all done with permissions.  Click 'OK' to exit.

        All files and folder _created after_ this procedure will be
accessable (readable) via WWW as newly created files/folders take on the
permissions of their parent directory. Previously created files/folder are
still unaccessable.  If students wish to be security conscious they can
create folders in their home directory and remove the 'www' user from
permissions in the same way they added the user earlier.

        Finally, the server will point browsers to the default file
'home.htm' in a users directory.  If this file does not exist, a listing
of the files in the directory is given.  My suggestion is to have
everybody create a home.htm file in their home directory and have links
from it point to another directory in their home directory where they keep
all other files for their page (maybe 'www' or 'home', ie.).  Haveing
'home.htm' is highly recommended!  It keeps WWW users from seeing all
files in a user's directory!

        This sounds kind of complicated, but it really isn't too hard to
do.  You may wish to perform this on your own so as to explain things to
the students better than I have.

Let me know of any problems.
                                        .......................
                                        Jeff Behl
                                        Software Administrator
                                        UCSB MicroComputer Labs