Exploring security issues in IIS.

Apps

Let us assume that there are three levels of applications: 

For desktop apps, physical security is dominant. Quite simply: don't let anyone else use your computer.

For distributed apps, three other factors usually apply:

Net apps have the same problem as distributed apps. However, net apps must have pretty strong network security. The network security is achieved through the normal mix of routers, gateways, firewalls, etc.

IIS Administration

FPSE (FrontPage Server Extensions) can be administered to IIS on a per site or per sub-site basis. Actually if a "sub-site" has its FPSE removed, then it is no longer a sub-site, but instead has become a directory.

FPSE extends IIS in many ways, including enabling two Microsoft site content development tools, FrontPage and Visual InterDev, to form ACLs (from NT users and groups) of who can browse, author, or administer a web site. 

In FrontPage this is through the Security selection under the Tools menu.

In Visual InterDev this is through the Web Permissions selection under Web Project under the Project menu.

As a side, if Visual InterDev is used in a team development environment, then MS Visual SourceSafe can sort of control content by forcing the checking in and checking out of portions of the site.

IIS Access Security

The Directory tab on the property page of a site or directory can be used to set RWSX- permissions for the site or directory. Here are a few rules of thumbs as to how permissions for different directories should be set:

The Security tab on the property page of site, directory, or file can modify three aspects of security:

  1. Anonymous Access and Authentication Control. This establishes how a users name and password are acquired.
  2. Secure Communications. This establishes asymmetric encryption of data passed between the item and the client by the use of digital certificates of authenticity that can be purchased from companies like VeriSign.
  3. IP Address and Domain Name Restrictions. This sets which IPs or domains can or cannot access the item.

Here are some additional notes on Anonymous Access and Authentication Control:

If anonymous is not selected but both basic and NTCR are, then NTCR takes precedence.

Once the user name and password is acquired, it is checked against the object's NTFS sharing ACL to see if the user has permissions to the resource. Note that NTFS permissions and the permissions set for sites or directories within IIS are different but simultaneously applied. NTFS partitions allow files and folders to be shared with NT users and groups.

Here are some examples of possible security configurations:

Page Modified: (Hand noted: 2007-11-04 13:26:17Z) (Auto noted: 2007-11-04 13:28:40Z)