CONTENTS

Access Control & OS: Windows Lab Procedures

1. Adding Users to the System.

1. Go to Start -> Control Panel -> Users and Passwords.

2. If a user telcom2810 already exists, remove it.

3. Click on Add to add a new user. Enter the username as telcom2810 and password as introtosecurity. Select Restricted User as the group for its group membership.

4. Click OK.

2. Studying the Effects of Using the Read-Only and Hidden Attributes of a File.

1. Create a TXT document in your My Documents folder.

2. Right-click on the icon, and select Properties.

3. Check the Read-Only checkbox and click on OK.

4. Then open the document, add some text and try to save the changes.  What happens? Explain why it happens.

5. Copy the file and place it in the C:/Documents and Settings/All Users/Documents folder.

6. Then logoff and logon as telcom2810.

7. Open the C:/Documents and Settings/All Users/Documents folder and try modifying the contents of the file. Are the results the same as in Step 4?

8. Repeat Step 2 and uncheck the Read-Only box.

a. What happens? Explain why it happens.

9. Logoff and log back as Administrator.

10. Right-click on the icon and select Properties.

11. Check the Hidden checkbox and click on Ok. Do you see the icon now? __________

12. Go to the Tools menu and select Folder Options.

13. Under the View tab, check the radio button that says “Show Hidden Files and Folders”. Click OK.   What do you see? _____________________________________________

3. Demonstrate the Use of Encryption of Files.

1. Log in as Administrator.

2. In the C:/Documents and Settings/All Users/Documents, create a TXT document.

3. Right-click the document icon and select Properties. Click on the Advanced button next to the Hidden checkbox.

4. Check the checkbox that causes encryption of the file’s contents and select it only for that file.

5. Then log off and log on as telcom2810.

6. Go to C:/Documents and Settings/All Users/Documents and try to access the previously created document.  What is the result?

4. To Explicitly Assign Permissions to Different Users for a Given File.

1. Log in as Administrator.

2. In the C:/Documents and Settings/All Users/Documents, create a TXT document.

3. Right-click the document icon and select Properties. Under the Security tab, click Add and select telecom2810 and click Add.

4. What are the default permissions given to this user? Go back and repeat the process, this time adding the group Users. Are the default permissions any different?

5. Click the Advanced button and under the Permissions tab, select telcom2810 and click View/Edit.

6. Notice the number of permissions that can be added for this user. Also notice the option of explicitly allowing and denying permissions.

7. Check the Create Files/Write Data and Create Folders/Append Data checkboxes, under the Allow column.

8. Check the Write Attributes checkbox under the Deny column. After clicking Ok once and again at the Advanced window, what do you see? What does that mean?

5. Question.  Repeat the steps in Exercise 1.4, but create the file in the directory C:/Documents and Settings/All Users/Documents. Then logoff and logon as telcom2810. Is it possible to view the hidden file?