This is a work in progress on how to setup Windows Authentication by making the default namespace public and the other namespace private. -- AstralisLux
Criteria
Using version # 1.8.0.1696 but all versions probably follow the same procedure
Create a user in IIS Computer Management console and set a password
About Windows Authentication
There are tons of docs on the web about getting integrated security set up with IIS and ASP.NET. FlexWiki isn't really doing anything here - all the security gunk happens before FlexWiki gets involved. Users must be Windows users that exist or are accessible (in the case of domain accounts) on the web server machine...that's what "integrated" security means. -- CraigAndera
You are in fact using Windows authentication. That should mean that users who visit your site must be authenticated from a Windows perspective. However, you aren"t yet using impersonation -- that's what causes the ASP.NET app (in this case FlexWiki) to use the identify of the visiting user in operations such as accessing the file system. -- DavidOrnstein
Initial steps
Be sure you match all the criteria above.
In your IIS, right-click on the folder which is mapped to your wikibases folder.
Click on properties. Click on Directory Security tab.
Click Edit in the Anon Access area.
In the Authentication Methods window, select the Integrated Windows Authentication check box. (This sets permission for only the folder you selected in the first step.)
Click off anonymous access (if checked).
You also need to modify permission for the filesystem folder (not the IIS directory). You'd typically do that using Windows Explorer. Right click this folder, pick "Security and Sharing" and under Security grant read and/or write permissions to users you'd like to be able to read or write to that namespace. Note that these users must be Windows users that exist or are accessible (in the case of domain accounts) on the web server machine. That's what "integrated" security means. (You may need to remove some of the machine users.)
For this to work, the following must appear in your web.config file:
After I thought I had this set up correctly, once I created my first topic I discovered that the system would not let me view the page and redirected to its edit page anytime I clicked the topic name. Once I discover why this is doing this and if there's a fix I'll post it. -- AstralisLux
Developer on Project X.
11/13/2007 12:06:17 AM - -76.30.20.161
The software running this site. -> jump to HomePage
10/22/2006 7:52:17 AM - -81.182.199.248
The software running this site. -> jump to HomePage
10/22/2006 7:52:17 AM - -81.182.199.248
Craig Andera is a consultant for Wangdera Corporation (his company). He blogs at "Pluralsight":http://pluralsight.com"","" and used to teach for DevelopMentor.
1/24/2008 8:03:42 AM - FLWCOM-jwdavidson
The software running this site. -> jump to HomePage
10/22/2006 7:52:17 AM - -81.182.199.248
David Ornstein works at Microsoft. He is the primary original author and a key contributor to the software (FlexWiki) that makes this wiki run.