[Flexwiki-users] Securing FlexWiki
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/vse012070mrt/direct/01/___ Flexwiki-users mailing list Flexwiki-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexwiki-users
Re: [Flexwiki-users] Securing FlexWiki
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. or 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 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: [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/vse012070mrt/direct/01/___ Flexwiki-users mailing list Flexwiki-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexwiki-users
Re: [Flexwiki-users] Customizing Borders in FlexWiki 1.x
Hi Shannon, First I hope you are not still running FlexWiki 1.x, but have migrated to the supported FlexWiki 2.0 (that is where the new security model is enabled). If you override the borders setting as you have done then you need to copy what you want from the default _NormalBorders topic and then re-implement it in your replacement border topic, see [3]. For an example of this see [4] where I have even changed the default definition of MenuItem function. If you only want to change the border for a single namespace then you do not need to edit the federation border value, but simply create your new border as a newer version of _NormalBorders in that namespace. What has been confusing you I think is a third capability for manipulating borders and that is a per topic override, where you create a small snippit of information you want added to the border for that topic. This is done in the FlexWiki HomePage [1] where there is a property :Borders: HomePageBorders which calls the topic at [2] and results in the verion of FlexWiki being added to the HomePage topic only. [1] http://www.flexwiki.com/default.aspx/FlexWiki/HomePage.html [2] http://www.flexwiki.com/default.aspx/FlexWiki/HomePageBorders.html [3] http://www.flexwiki.com/default.aspx/FlexWiki/CustomBorders.html [4] http://ods.dyndns.org/FlexWiki/default.aspx/OdsWiki/_NormalBorders.html John Davidson On Feb 9, 2008 3:41 PM, Shannon Ma <[EMAIL PROTECTED]> wrote: > I'm trying to add content to my left border (e.g. logo and some misc > links at the top). I've modified the federation namespace map to reference > a wiki page for this. However, I notice this wiki page overrides the > default borders, so I lose all the FlexWiki links (e.g. Edit, Print, > etc.). > > > > Is there a way I can just add content to my left border, even if I have to > recreate the default menu items. I tried to follow the WikiTalk at > http://www.flexwiki.com/default.aspx/FlexWiki/_NormalBordersRightOnly.htmlfor > this, however it doesn't look like FlexWiki > 1.x supports the MenuItem function. > > > > Thanks, > > > > 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/vse012070mrt/direct/01/ > ___ > Flexwiki-users mailing list > Flexwiki-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flexwiki-users > > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Flexwiki-users mailing list Flexwiki-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexwiki-users
[Flexwiki-users] Customizing Borders in FlexWiki 1.x
I'm trying to add content to my left border (e.g. logo and some misc links at the top). I've modified the federation namespace map to reference a wiki page for this. However, I notice this wiki page overrides the default borders, so I lose all the FlexWiki links (e.g. Edit, Print, etc.). Is there a way I can just add content to my left border, even if I have to recreate the default menu items. I tried to follow the WikiTalk at http://www.flexwiki.com/default.aspx/FlexWiki/_NormalBordersRightOnly.html for this, however it doesn't look like FlexWiki 1.x supports the MenuItem function. Thanks, 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/vse012070mrt/direct/01/___ Flexwiki-users mailing list Flexwiki-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexwiki-users
Re: [Flexwiki-users] [SPAM-LOW] Re: Customizing Borders in FlexWiki 1.x
It looks like the documentation on FlexWiki is part 1.x and part 2.x. is this correct? Just want to make sure I'm not losing it. Thanks for all your help John, Shannon Ma Neutex Systems From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Davidson Sent: Saturday, February 09, 2008 4:01 PM To: FlexWiki Users Mailing List Subject: [SPAM-LOW] Re: [Flexwiki-users] Customizing Borders in FlexWiki 1.x Hi Shannon, First I hope you are not still running FlexWiki 1.x, but have migrated to the supported FlexWiki 2.0 (that is where the new security model is enabled). If you override the borders setting as you have done then you need to copy what you want from the default _NormalBorders topic and then re-implement it in your replacement border topic, see [3]. For an example of this see [4] where I have even changed the default definition of MenuItem function. If you only want to change the border for a single namespace then you do not need to edit the federation border value, but simply create your new border as a newer version of _NormalBorders in that namespace. What has been confusing you I think is a third capability for manipulating borders and that is a per topic override, where you create a small snippit of information you want added to the border for that topic. This is done in the FlexWiki HomePage [1] where there is a property :Borders: HomePageBorders which calls the topic at [2] and results in the verion of FlexWiki being added to the HomePage topic only. [1] http://www.flexwiki.com/default.aspx/FlexWiki/HomePage.html [2] http://www.flexwiki.com/default.aspx/FlexWiki/HomePageBorders.html [3] http://www.flexwiki.com/default.aspx/FlexWiki/CustomBorders.html [4] http://ods.dyndns.org/FlexWiki/default.aspx/OdsWiki/_NormalBorders.html John Davidson On Feb 9, 2008 3:41 PM, Shannon Ma <[EMAIL PROTECTED]> wrote: I'm trying to add content to my left border (e.g. logo and some misc links at the top). I've modified the federation namespace map to reference a wiki page for this. However, I notice this wiki page overrides the default borders, so I lose all the FlexWiki links (e.g. Edit, Print, etc.). Is there a way I can just add content to my left border, even if I have to recreate the default menu items. I tried to follow the WikiTalk at http://www.flexwiki.com/default.aspx/FlexWiki/_NormalBordersRightOnly.html for this, however it doesn't look like FlexWiki 1.x supports the MenuItem function. Thanks, 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/vse012070mrt/direct/01/ ___ Flexwiki-users mailing list Flexwiki-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexwiki-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Flexwiki-users mailing list Flexwiki-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexwiki-users
Re: [Flexwiki-users] [SPAM-LOW] Re: Customizing Borders in FlexWiki 1.x
Yes it just runs from 1.x to 2.x with no clear distinction. There was no functionality lost in the transition from 1.x to 2.x, but how some things are done is slightly different or there are significant new capabilities. John Davidson On Feb 9, 2008 4:33 PM, Shannon Ma <[EMAIL PROTECTED]> wrote: > It looks like the documentation on FlexWiki is part 1.x and part 2.x… is > this correct? Just want to make sure I'm not losing it. > > > > Thanks for all your help John, > > > > Shannon Ma > > *Neutex Systems* > > > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *John Davidson > *Sent:* Saturday, February 09, 2008 4:01 PM > *To:* FlexWiki Users Mailing List > *Subject:* [SPAM-LOW] Re: [Flexwiki-users] Customizing Borders in FlexWiki > 1.x > > > > Hi Shannon, > > First I hope you are not still running FlexWiki 1.x, but have migrated to > the supported FlexWiki 2.0 (that is where the new security model is > enabled). > > If you override the borders setting as you have done then you need to copy > what you want from the default _NormalBorders topic and then re-implement it > in your replacement border topic, see [3]. For an example of this see [4] > where I have even changed the default definition of MenuItem function. > > If you only want to change the border for a single namespace then you do > not need to edit the federation border value, but simply create your new > border as a newer version of _NormalBorders in that namespace. > > What has been confusing you I think is a third capability for manipulating > borders and that is a per topic override, where you create a small snippit > of information you want added to the border for that topic. This is done in > the FlexWiki HomePage [1] where there is a property > > :Borders: HomePageBorders > > which calls the topic at [2] and results in the verion of FlexWiki being > added to the HomePage topic only. > > > [1] http://www.flexwiki.com/default.aspx/FlexWiki/HomePage.html > [2] http://www.flexwiki.com/default.aspx/FlexWiki/HomePageBorders.html > [3] http://www.flexwiki.com/default.aspx/FlexWiki/CustomBorders.html > [4] > http://ods.dyndns.org/FlexWiki/default.aspx/OdsWiki/_NormalBorders.html > > > John Davidson > > On Feb 9, 2008 3:41 PM, Shannon Ma <[EMAIL PROTECTED]> wrote: > > I'm trying to add content to my left border (e.g. logo and some misc links > at the top). I've modified the federation namespace map to reference a wiki > page for this. However, I notice this wiki page overrides the default > borders, so I lose all the FlexWiki links (e.g. Edit, Print, etc.). > > > > Is there a way I can just add content to my left border, even if I have to > recreate the default menu items. I tried to follow the WikiTalk at > http://www.flexwiki.com/default.aspx/FlexWiki/_NormalBordersRightOnly.htmlfor > this, however it doesn't look like FlexWiki > 1.x supports the MenuItem function. > > > > Thanks, > > > > 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/vse012070mrt/direct/01/ > ___ > Flexwiki-users mailing list > Flexwiki-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flexwiki-users > > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Flexwiki-users mailing list > Flexwiki-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flexwiki-users > > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Flexwiki-users mailing list Flexwiki-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexwiki-users
[Flexwiki-users] Changing the default style
I'm trying to change the default style of my Wiki site to use the attributes defined in classic.css. Currently, it's using the chocolate style defined in wiki.css. I've set the OverrideStylesheet property in the flexwiki.config file to classic.css, however the site is still rendering the chocolate style. Any ideas? Thanks! 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/vse012070mrt/direct/01/___ Flexwiki-users mailing list Flexwiki-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexwiki-users
Re: [Flexwiki-users] Changing the default style
Hi Shannon, The problem is probably that we set a cookie that retains your last preference for stylesheet. In this case you still have chocolate in the stylesheet preference cookie. To reset this cookie choose the classic stylesheet using the stylesheet selector in the right border (rember to click the button beside the selector box). Once the stylesheet has changed to classic, close the browser. When you next visit the site it will open in classic. It will also open in classic for new users. If this did not work could you please include the lines for your stylesheet links in your next post (the ones for my website are below as a guide). If you visit my HomePage [1] you will see the impact of a different default stylesheet, which is currently running an aqua motif. [1] http://ods.dyndns.org/FlexWiki/default.aspx/OdsWiki/HomePage.html John Davidson On Feb 9, 2008 5:57 PM, Shannon Ma <[EMAIL PROTECTED]> wrote: > I'm trying to change the default style of my Wiki site to use the > attributes defined in classic.css. Currently, it's using the chocolate > style defined in wiki.css. I've set the OverrideStylesheet property in > the flexwiki.config file to classic.css, however the site is still > rendering the chocolate style. Any ideas? > > > > Thanks! > > > > 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/vse012070mrt/direct/01/ > ___ > Flexwiki-users mailing list > Flexwiki-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flexwiki-users > > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Flexwiki-users mailing list Flexwiki-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexwiki-users