Hi Shannon,
Doing this kind of activity easily is one of the major new features in
FlexWiki 2.0. The most import topic references for doing this are below at
[1], [2] and [3]. You should also read the notes in 'web.config' and '
flexwiki.config.template' in the root folder of your FlexWiki installation.
First you need to decide what kind of authentication method you are going to
use. Windows is the best and perhaps the easiest to configure, but can only
be used if all users access the web server without going through a firewall
or proxy to the web server. If there is a firewall or proxy then you need to
use forms authentication. The file web.config should have entries in it
that look like the examples below.
<authentication mode="Windows" />
or
<authentication mode="Forms" />
Whichever method you choose I would recommend using 'anonymous' for your
read-only users. This is done by leaving the line in your web.config
<allow users="*" />
as it is the default. Do not add any line about impersonation.
Once the authentication method is decided then the authorization activities
are done. Changes here will be done to the security provider mechanism and
the file 'flexwiki.config'. If you are using Windows authentication then you
need to create user accounts, one for each individual allowed to modify, in
the domain (if the web server belongs to a domain) or the local security (if
the web server is not part of a domain). I recommend creating 2 user groups
one for regular wiki modifiers and the second for administration (creating
namespaces, modifying config files, etc). I suggest the names WikiUsers and
WikiManagers. You need to create these groups in the security provided and
then add individuals to these groups or roles. If you are not using Windows
authentication the above steps need to be carried out in the SQL Security
Provider, which means that SQL must be installed on the web server.
The changes that should be put in the file 'flexwiki.config' are as follows:
<configuration>
<FederationConfiguration>
<AuthorizationRules>
<Rule Type="Allow" Action="Read" Principal="all" />
<Rule Type="Allow" Action="Edit" Principal="role:WikiUsers" />
<Rule Type="Allow" Action="ManageNamespace"
Principal="role:WikiManagers" />
</AuthorizationRules>
</FederationConfiguration>
</configuration>
[1] http://www.flexwiki.com/default.aspx/FlexWiki/FlexWikiSecurity.html
[2] http://www.flexwiki.com/default.aspx/FlexWiki/FlexWikiAuthorization.html
[3]
http://www.flexwiki.com/default.aspx/FlexWiki/FlexWikiAuthentication.html
Hope this helps you get up and running. Please check back with your results
or ask for more help if needed.
John Davidson
On Feb 9, 2008 5:32 AM, Shannon Ma <[EMAIL PROTECTED]> wrote:
> I'd only like a certain set of users to have the ability to modify my
> Wiki and everyone else to have read-only access. Is this possible?
>
>
>
> Shannon Ma
>
> *Neutex Systems*
>
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users