IIS 6.0<br />General System Admin Overview<br />
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 />
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 />
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 />
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 />
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 />
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 />
To disable FSO: regsvr32 scrrun.dll /u<br />To disable WSH: regsvr32 wshom.ocx /u<br />Web Site Security<br />
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 />
Configured as a Web Service Extension, examples:<br />Tomcat connector<br />Policy based authentication and single sign on – CA SiteMinder<br />Proxy services<br />
A particular slide catching your eye?
Clipping is a handy way to collect important slides you want to go back to later.