[HOME]: [Mac OS X]: [MacPython]: [Emacs]: [生存報告記]: [MacEmacs JP Project]: [NTEmacs JP Project]:

Differences between revisions 4 and 5

Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
 
Line 27: Line 27:
 
Line 33: Line 33:
[http://crazyclaudia.webpark.pl/incest-sites.html incest sites incest pics] [http://crazyclaudia.webpark.pl/incest-family.html incest family incest sex pics] [http://crazyclaudia.webpark.pl/incest-galleries.html incest galleries incest taboo forum] [http://crazyclaudia.webpark.pl/mother-and-son-incest.html mother and son incest gay incest stories] [http://crazyclaudia.webpark.pl/cartoon-incest.html cartoon incest sister incest] [http://crazyclaudia.webpark.pl/incest-taboo-forum.html incest taboo free incest pics] [http://crazyclaudia.webpark.pl/free-erotic-incest-stories.html incest stories incest erotica] [http://crazyclaudia.webpark.pl/lesbian-incest.html sibling incest] [http://crazyclaudia.webpark.pl/mature-incest.html mature incest porn incest] [http://crazyclaudia.webpark.pl/father-daughter-incest.html father daughter incest teen incest] [http://crazyclaudia.webpark.pl/incest-photos.html mother incest] [http://crazyclaudia.webpark.pl/real-incest.html real incest incest drawings] [http://crazyclaudia.webpark.pl/incest-forums.html incest forum free incest videos] [http://crazyclaudia.webpark.pl/incest-story.html incest story free incest pic] [http://crazyclaudia.webpark.pl/incest-sex-stories.html incest sex incest video] [http://crazyclaudia.webpark.pl/incest-videos.html incest videos father son incest] [http://crazyclaudia.webpark.pl/free-incest-videos.html incest videos incest story] [http://crazyclaudia.webpark.pl/incest-quest.html teen incest] [http://crazyclaudia.webpark.pl/incest-pictures.html incest pictures free incest pictures] [http://crazyclaudia.webpark.pl/mother-daughter-incest.html mother daughter incest incest rape] [http://crazyclaudia.webpark.pl/incest-stories.html incest stories mother daughter incest] [http://crazyclaudia.webpark.pl/incest-comics.html incest comics free incest porn] [http://crazyclaudia.webpark.pl/mother-son-incest.html mother son incest erotic incest stories] [http://crazyclaudia.webpark.pl/stories-of-incest.html mom incest] [http://crazyclaudia.webpark.pl/incest-porn.html incest porn incest free stories] [http://crazyclaudia.webpark.pl/incest-sex.html incest sex] [http://crazyclaudia.webpark.pl/incest-pics.html incest pics incest stories] [http://crazyclaudia.webpark.pl/free-incest-pictures.html incest pictures mature incest] [http://crazyclaudia.webpark.pl/erotic-incest-stories.html incest stories incest drawings] [http://crazyclaudia.webpark.pl/gay-incest.html incest mom] [http://crazyclaudia.webpark.pl/ real incest]

SecurityPolicy is a config option that allows wiki admins to dynamically enable or disable certain key actions in a MoinMoin wiki, most notably editing and deleting content.

Mechanics

Security restrictions in a MoinMoin wiki work by the interface defined in the MoinMoin.security module. The Permissions class implements the basic interface for user permissions and system policy. If you want to define your own policy, inherit from that base class, so that when new permissions are defined, you get the defaults.

Then assign your new class to SecurityPolicy in moin_config; and I mean the class, not an instance of it!

Samples

Disable editing over HTTPS

This is used at WEB.DE AG to make the main intra-net wiki available in read-only form via HTTPS. It's an extra security measure, in addition to password protection, against content changes from the outside. The same scheme can be used to have two different URLs pointing at the same wiki, and have only one of those URLs1 being able to edit the wiki. The net effect is that you have a read-only wiki editable only by certain people.

Add this to your moin_config.py:

# permissions
import MoinMoin.security
 
class SecurityPolicy(MoinMoin.security.Permissions):
    def __init__(self, user):
        MoinMoin.security.Permissions.__init__(self, user)
 
        # no edits via https
        from MoinMoin import webapi
        self.edit = not webapi.isSSL()
        self.delete = self.edit
  • 1 An URL that is password-protected, by means of Apache server rules.

紹介マニアMoinMoin: HelpOnConfiguration/SecurityPolicy (last edited 2005-02-02 14:57:43 by )