How to Troubleshoot Permissions in Internet Information Server 4.0

ID: Q185874


The information in this article applies to:


SUMMARY

Access to resources can be a complex issue when you are securing your Web server. This article discusses some best practices and rules of thumb for troubleshooting the issues.


MORE INFORMATION

Often site administrators work blind when trying to troubleshoot access problems. Monitoring how the server is being used is a good place to start.

Monitoring Server Use

The following procedure outlines how to set up auditing and logging:
Now basic auditing is in place. Perform the following steps:

  1. Clear any cached logon information by stopping and then restarting the Web Service:\


  2. From a CMD.EXE prompt, type the following:
    NET STOP IISADMIN


  3. Answer "y" to shut down all dependent services.


  4. Restart each dependent service stopped in the previous step with:
    NET START W3SVC (starts World Wide Web Publishing Service).
    NET START MSFTPSVC (starts FTP Publishing Service).
    NET START SMTPSVC (starts Microsoft SMTP Service).
    NET START NNTPSVC (starts Microsoft NNTP Service).


  5. On Control Panel, double-click Services.


  6. Select the IIS Admin Service and click Stop.


  7. Click OK to shut down all dependent services.


  8. Manually start each dependent service stopped in the previous step.


  9. Clear the Security Log.


  10. Open the Event Viewer.


  11. On the Log menu, select Security.


  12. On the Log menu, select Clear All Events.


  13. It is recommended you save the existing security log by selecting "Yes" and choosing a folder or file to save to.


  14. Select "Yes" to clear the security log.


Troubleshooting the Web Server

After all the above steps have been performed, try to access the resource in question from a browser. If you refresh the security log in the event viewer, a series of audited events should be listed. Examine the security log entries and ask these questions:
  1. Are there any access-denied errors in the audit log? (You may see some errors related to Object Access and Protected Storage; these are benign.)


  2. What account is being logged on? Is it what you expected?


  3. Does this account have access to the file in question? You can check this by looking at the file access entries in the audit log.


  4. What about the W3C log? Are there any 401s or 403s? Why are they there?


The following are some golden rules and tips regarding permissions and IIS 4.0:

Troubleshooting Resources

The following are recommended resources to aid you in troubleshooting complex issues:


Keywords          : 
Version           : WINNT:4.0
Platform          : winnt 
Issue type        : kbhowto 

Last Reviewed: May 14, 1999