Re: [Zope] Login and user security
Peter Kropf <peterk@bayarea.net>
To: zope@zope.org Subject: [Zope] Login and user security
I'd like to setup a user security environment similiar to that used on the Zope site. Users can signup, and login to access personal pages and logout when done. However, I'm a bit confused about things. Perhaps I don't understand enough of the underlying security model. Additionally, the how-to, FAQ and other docs are difficult to follow.
Has anyone published a sample like this? Or, perhaps, has the Digital Creation people can provide the source to the DTML pages and methods? Any pointers would be fantastic.
First, the DTML etc. used by the Zope management interface is all there in the Zope directory, typically under the lib/python/ subdirectory. The two directories of most interest are probably AccessControl (for the authentication/permissions stuff) and OFS (for the folder contents, etc.) Second, Steve Alexander's recommendation of the PTK is also worthwhile. http://www.zope.org/Products/PTK Tres. -- ======================================================================= Tres Seaver tseaver@digicool.com http://www.zope.org Digital Creations "Makers of Zope"
Thanks all for the pointers. Let me go dig around in the PTK source / docs and in the AccessControl and OFS code in zope. If I have other questions... Tres Seaver wrote:
Peter Kropf <peterk@bayarea.net>
To: zope@zope.org Subject: [Zope] Login and user security
I'd like to setup a user security environment similiar to that used on the Zope site. Users can signup, and login to access personal pages and logout when done. However, I'm a bit confused about things. Perhaps I don't understand enough of the underlying security model. Additionally, the how-to, FAQ and other docs are difficult to follow.
Has anyone published a sample like this? Or, perhaps, has the Digital Creation people can provide the source to the DTML pages and methods? Any pointers would be fantastic.
First, the DTML etc. used by the Zope management interface is all there in the Zope directory, typically under the lib/python/ subdirectory. The two directories of most interest are probably AccessControl (for the authentication/permissions stuff) and OFS (for the folder contents, etc.)
Second, Steve Alexander's recommendation of the PTK is also worthwhile.
http://www.zope.org/Products/PTK
Tres. -- ======================================================================= Tres Seaver tseaver@digicool.com http://www.zope.org Digital Creations "Makers of Zope"
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Peter Kropf Codesmith VEReCOMM Corp. 2475 Augustine Drive, Suite 102 Santa Clara, CA 95054 408-919-3107; Fax 408-969-0688 peter@verecomm.com
participants (2)
-
Peter Kropf -
Tres Seaver