As described in AuthenticationOptions, Windows Authentication is great for Intranet applications where all users have accounts that are known to the web server. Usually these will be domain accounts but they can also be machine accounts.
Even in an Internet setting, Windows Authentication wins as the quick and secure way to control access to FlexWiki content.
The steps are:
Make web.config changes to select Windows authentication, deny anonymous users, and impersonate identity.
Configure IIS to disable "Anonymous access".
Change the ACLs on the files and folders under the namespace root that you want restricted.
Its important to disable anonymous access on the root of the FlexWiki web site. It may be tempting to only restrict access on specific folders and files under the WikiBases folder, but that leads to eratic behavior.
The content is accessed by application file read and write operations, not by IIS directly. Authentication may not be triggered by these file operations wich means users won't have access to the pages you expect them to or will be able to read but not edit.
Set the Security properties (ACLs) on the files and folders under the namespace root to reflect your desired access policy.
Open the file or folder Properties dialog and click Advanced on the Security tab.
Uncheck the "Inherit from parent..." check box.
Click Remove to remove all the existing ACL entries.
Click OK to committ the changes.
Click Yes to the "You have denied everyone..." warning.
And make sure to add the users and groups you want to allow access.
For read only access give them Read & Execute, List Folder Contents, and Read.
For write access as well, also check Write.
Notes on the limitations of Windows Authentication.
The biggest limitation is that it will not work for all internet users. To work, you must be using IE 5.x or later, you must not be located behind a proxy and firewall (a shared cable modem connection seems to work fine), and you must have a way of providing user accounts to all users.
It's unfortunate but the login dialog doesn't support changing passwords.
Another problem is that if you switch to storing your wiki in a SQL database that the windows authentication won't work anymore.
background information about FlexWiki
8/19/2007 10:36:06 AM - -66.78.124.101
Click to read this topic
8/31/2007 9:54:47 AM - -74.12.232.125
background information about FlexWiki
8/19/2007 10:36:06 AM - -66.78.124.101
ACLs acronym for Access Control Lists.
9/12/2007 5:58:50 PM - -10.10.192.22
background information about FlexWiki
8/19/2007 10:36:06 AM - -66.78.124.101
a collection of wiki topics in a single TopicNamespace
9/13/2007 2:22:08 PM - -74.15.247.173
ACLs acronym for Access Control Lists.
9/12/2007 5:58:50 PM - -10.10.192.22
ACLs acronym for Access Control Lists.
9/12/2007 5:58:50 PM - -10.10.192.22
background information about FlexWiki
8/19/2007 10:36:06 AM - -66.78.124.101
FlexWiki user with experience setting up FlexWiki for project usage on an intranet.
9/18/2007 2:18:30 PM - -74.15.253.150
background information about FlexWiki
8/19/2007 10:36:06 AM - -66.78.124.101
For Windows, Pass Through authentication is using the credentials you supplied on your client workstation to the resource using Windows Networking as the security resource.
9/12/2007 6:00:28 PM - -10.10.192.22
For Windows, Pass Through authentication is using the credentials you supplied on your client workstation to the resource using Windows Networking as the security resource.