[Zope] Re: Configuration for VerboseSecurity

Tres Seaver tseaver at palladion.com
Tue Aug 29 16:43:02 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

michael nt milne wrote:
> Hi
> 
> I need some clarification on switching on VerboseSecurity and am
> following the instructions on this page
> 
> http://hathawaymix.org/Software/VerboseSecurity
> 
> This states this
> 
> "
> To enable verbose security in Zope 2.8.1+, just set the following
> options in zope.conf:
> 
> security-policy-implementation python
> verbose-security on
> 
> "
> 
> However on Zope 2.8.7, adding these two lines produces a start up
> error in Zope. The flag 'verbose-security' doesn't
> exist in zope.conf in the first place.
> 
> Any ideas appreciated.
> 
> 

$ cd ~/projects/Zope-CVS/Zope-2.8-branch
$ bin/mkzopeinstance.py -u /tmp/milne -u admin:123
$ cd /tmp/milne
$ vi etc/zope.conf # edit out comments, enable verbose-security
$ bin/zopectl fg
...
2006-08-29 16:39:52 INFO Zope Ready to handle requests
^C


I'm attaching the working zope.conf file.


Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE9KbV+gerLs4ltQ4RAoAjAKDC+TNjsdTkJgGrQRkUirJJXb6eBQCcDmT/
3UKFE1ZdYbPS8SfKmIP8ujE=
=hXvw
-----END PGP SIGNATURE-----
-------------- next part --------------
%define INSTANCE /tmp/milne
%define ZOPE /home/tseaver/projects/Zope-CVS/Zope-2.8-branch

instancehome $INSTANCE
#    debug-mode on
security-policy-implementation python
verbose-security on

<eventlog>
  level info
  <logfile>
    path $INSTANCE/log/event.log
    level info
  </logfile>
</eventlog>

<logger access>
  level WARN
  <logfile>
    path $INSTANCE/log/Z2.log
    format %(message)s
  </logfile>
</logger>

<http-server>
  # valid keys are "address" and "force-connection-close"
  address 8080
  # force-connection-close on
</http-server>

<zodb_db main>
    # Main FileStorage database
    <filestorage>
      path $INSTANCE/var/Data.fs
    </filestorage>
    mount-point /
</zodb_db>

<zodb_db temporary>
    # Temporary storage database (for sessions)
    <temporarystorage>
      name temporary storage for sessioning
    </temporarystorage>
    mount-point /temp_folder
    container-class Products.TemporaryFolder.TemporaryContainer
</zodb_db>


More information about the Zope mailing list