Article ID: 300390 - Last Review: March 27, 2007 - Revision: 6.5 How to enable IIS logging site activity in Windows 2000This article was previously published under Q300390 NoticeThis article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center (http://support.microsoft.com/?scid=http%3a%2f%2fsupport.microsoft.com%2fwin2000) is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy (http://support.microsoft.com/lifecycle/) .NoticeThis article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center (http://support.microsoft.com/?scid=http%3a%2f%2fsupport.microsoft.com%2fwin2000) is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy (http://support.microsoft.com/lifecycle/) .On This PageSUMMARY
This article provides a step-by-step guide for enabling IIS logging on a Web site.
Enable Logging on a Web SiteIIS goes beyond the scope of the event-logging or performance-monitoring features of Windows 2000. The logs can include information such as who has visited your site, what the visitor viewed, and when the information was viewed last. You can monitor attempts, either successful or unsuccessful, to access your Web sites, virtual folders, or files. This includes events such as reading the file or writing to the file. You can choose which events you want to audit for any site, virtual folder, or file. By regularly reviewing these files, you can detect areas of your server or your sites that may be subject to attacks or other security problems. You can enable logging for individual Web sites and choose the log format. When logging is enabled, it is enabled for all the site's folders, but you can disable it for specific directories.Note To enable logging, you must click to select both the Enable Logging check box on the Web Site tab and the Log visits check box on the Home Directory tab. To enable logging on a Web site, follow these steps:
Disable or Enable Logging for a Specific Folder on a site
Save IIS Log FilesYou can specify the folder in which log files are saved and set the option that affects when new log files are started.To set options for saving log files, follow these steps:
Detect Possible Security Problems by Reviewing IIS Log Files
SecurityProper security safeguards on your Web server can reduce or eliminate various security threats from malicious individuals, as well as from well-intentioned users who might accidentally gain access to restricted information or inadvertently alter important files.For more information on how to tighten security on your Web server, see the following Microsoft Web site:
IIS Security Checklist
This site provides a list of suggestions for securing your Web server, including Windows settings, IIS Web permissions, and physical security. http://www.microsoft.com/windows/windows2000/en/server/iis/htm/core/iisckl.htm (http://www.microsoft.com/windows/windows2000/en/server/iis/htm/core/iisckl.htm) For a production server, it is a good idea to move the Active Server Pages (ASP) enrollment pages off of the Web server that allows users to browse files that contain information on how to make certificates. If you do not wish to move the ASP pages, you should at least restrict access to them so that they are not visible to all users. These pages are normally found at the root of your Web site. TroubleshootingAuditing uses computer resources. For optimum server performance, auditing should be applied as specifically as possible. For example, if a particular directory has 100 files, and only a few of those files need to be audited, you should set auditing for those files rather than for the entire directory.REFERENCES
For a conceptual overview of your Web server's security features, with tips for getting started and learning about using high-security Secure Sockets Layer (SSL) features, see the following Microsoft Web site:
About Security
For more information on how to configure authentication in IIS which will allow administrators to confirm the identity of users who are attempting to establish connections to restricted content, see the following Microsoft Web site:
http://www.microsoft.com/windows/windows2000/en/server/iis/htm/core/iiabtsc.htm (http://www.microsoft.com/windows/windows2000/en/server/iis/htm/core/iiabtsc.htm)
Authentication
For more information on how to control how users access and manipulate your files and directories, see the following Microsoft Web site:
http://www.microsoft.com/windows/windows2000/en/server/iis/htm/core/iiathsc.htm (http://www.microsoft.com/windows/windows2000/en/server/iis/htm/core/iiathsc.htm)
Access Control
For more information on how to protect the privacy of your information with SSL encryption features, see the following Microsoft Web site:
http://www.microsoft.com/windows/windows2000/en/server/iis/htm/core/iiaclsc.htm (http://www.microsoft.com/windows/windows2000/en/server/iis/htm/core/iiaclsc.htm)
Encryption
For more information on how to establish secure connections by using certificates and SSL features, see the following Microsoft Web site:
http://www.microsoft.com/windows/windows2000/en/server/iis/htm/core/iiencsc.htm (http://www.microsoft.com/windows/windows2000/en/server/iis/htm/core/iiencsc.htm)
Certificates
For more information on how to monitor security activities to prevent tampering and unauthorized access, see the following Microsoft Web site:
http://www.microsoft.com/windows/windows2000/en/server/iis/htm/core/iicerts.htm (http://www.microsoft.com/windows/windows2000/en/server/iis/htm/core/iicerts.htm)
Auditing http://www.microsoft.com/windows/windows2000/en/server/iis/htm/core/iiaudsc.htm (http://www.microsoft.com/windows/windows2000/en/server/iis/htm/core/iiaudsc.htm) | Article Translations
|
Back to the top
