I may need to give more info tomorrow morning, but so that you are not held
up here is what I have off the top of my head.
Your web.config should be set to use the SQL Provider for the authentication
of users. You will need to work out the connection string, but should be
able to do everything as you say by backup and replace.

You should copy the <membership><provider> section from the
web.config.template file which has all the settings except for the
<connection string> as I say you need to work out (but it will be similar to
what you have for the Management Studio). Also see the referenced Scott Gu
article for some detail.

Your web.config for authentication should have

    <authentication mode="Forms" />

    <authorization>

      <allow users="*" />

    </authorization>


Your flexwiki.config should look like


<configuration>
  <FederationConfiguration>
    <AuthorizationRules>
      <Rule Type="Allow" Action="Edit" Principal="all" />
      <Rule Type="Allow" Action="ManageNamespace"
Principal="role:WikiManagers" />
    </AuthorizationRules>
  </FederationConfiguration>
 </configuration>


John Davidson

On Feb 11, 2008 9:59 PM, Shannon Ma <[EMAIL PROTECTED]> wrote:

>  Hi John,
>
>
>
> A web host is actually hosting my Wiki site on the Internet, so a firewall
> is in place.  The server I'm being hosted on is capable of running .NET
> 2.0, I'm not sure which edition it is though.  It also appears to be a
> stand-alone server.  I don't think SQL Server is installed on the web server
> though, as my host has me use an alternate server to store my databases.
>
>
>
> I have read a tutorial on the aspnet_regsql command and have set it up on
> my LAN.  Would you be able to shed some light as in to how people normally
> set this up through their host?  I do have access to the database server via
> SQL Management Studio, so I'm guessing I could just create the database on
> my LAN, back it up, and restore it on the SQL Server.  I'm also assuming I
> would then need to modify the web.config file and update the SQL Provider
> section to reflect these DB settings?
>
>
>
> Would you be able to give me a sample of how to lock down the different
> roles on my Wiki site?  Basically, I only want anonymous users to be able to
> add new pages and modify existing ones.  Everything else should be locked
> down to Wiki Admins.
>
>
>
>
>
-------------------------------------------------------------------------
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

Reply via email to