IIS 6 - General System Administration Overview


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

IIS 6 - General System Administration Overview

  1. 1. IIS 6.0<br />General System Admin Overview<br />
  2. 2. Configured as a static content (html) web server by default.<br />To provide dynamic content (asp, asp.net, php, etc.) it should be configured using Web Services Extensions (in the form of dll’s, exe’s, cgi’s, etc).<br />Web applications are isolated from each other using Application Pools by default.<br />Create application pool<br />Host web application in a virtual directory.<br />IIS 6.0 Characteristics<br />
  3. 3. Websites files are located in <br /> C:Inetpubwwwroot<br />Server files and configuration (metabase –xml file) is located in C:WindowsSystem32inetsrv<br />Logs files are located in<br />Web server error log C:WindowsSystem32LogfilesHTTPErr<br />Web sites logs in C:WindowsSystem32Logfiles<web site folder><br />IIS 6.0 Characteristics<br />
  4. 4. Contains worker process w3wp.exe for application<br />Could have more than a single worker process (called web garden)<br />Memory configured using Recycling tab<br />CPU configured using Performance tab<br />Status check configured using Health tab<br />Security account configured using Identity tab<br />Network Service account ( network access only)<br />Local Service account (local access only)<br />Local System (network and local access)<br />Application Pools (for dynamic content)<br />
  5. 5. Web sites can have multiple applications hosted.<br />ASP pages,ASP.Net pages<br />Scripts<br />CGI<br />These applications can be assigned to different application pools (preferred method)<br />By default all dynamic content is assigned to the default application pool in the web site properties Home Directory/Application settings tab<br />Application Pools (for dynamic content)<br />
  6. 6. Shared web hosting using:<br />IP addresses (used for sites that use ssl)<br />Tcp port numbers<br />Host headers (preferred method)<br />To use ssl (for encrypted communications), server certificate needs to be requested and installed (as well as the private key).<br />Contains dns name for web site<br />Valid date<br />Issuance information<br />Public encryption key<br />Web sites<br />
  7. 7. The only way to constrain File System Object in a shared environment is with NTFS File System ACLs. <br />The most secure way to do this is to:<br />Create one Application Pool per website<br />Create unique Windows user for each Application Pool.<br />Assign this Windows user as both Custom Application Pool Identity and Anonymous user identity for the website.<br />ACL files on file system to the Windows user for all files the website should have access to.<br /> Basically, you force each Website to run as a unique Windows user (both process and anonymous authenticated identities), which forces all FSO usage to also run as that Windows user. You then apply NTFS ACLs for the Windows user as appropriate.<br />Web Site Security<br />
  8. 8. To disable FSO: regsvr32 scrrun.dll /u<br />To disable WSH: regsvr32 wshom.ocx /u<br />Web Site Security<br />
  9. 9. To archive an IIS 6.0 Web site, run the following command on (or "against") the IIS 6.0 site.<br />msdeploy -verb:sync -source:metakey=lm/w3svc/SITEID -dest:archivedir=c:archive,encryptPasword=PASSWORD > msdeployarchive.log <br />To restore the IIS 6.0 Web site from an archive, run the following command on (or "against") the IIS 6.0 site:<br />msdeploy -verb:sync -source:archivedir=c:archive,encryptPasword=PASSWORD -dest:metakey=lm/w3svc/SITEID >msdeployarchive.log <br />Web Site – Disaster Recovery<br />
  10. 10. Configured as a Web Service Extension, examples:<br />Tomcat connector<br />Policy based authentication and single sign on – CA SiteMinder<br />Proxy services<br />