Is there a way to access the password entered by the user, the same as with the user name itself (REQUEST['AUTHENTICATED_USER'])? -- ICQ: 165549179
Zope stores passwords either as hash or encrypted but in plaintext. -aj --On Dienstag, 21. Januar 2003 13:01 +0200 Eugen Nedelcu <eugen@sifolt.ro> wrote:
Is there a way to access the password entered by the user, the same as with the user name itself (REQUEST['AUTHENTICATED_USER'])?
-- ICQ: 165549179
_______________________________________________ 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 )
--------------------------------------------------------------------- - Andreas Jung http://www.andreas-jung.com - - EMail: andreas at andreas-jung.com - - "Life is too short to (re)write parsers" - ---------------------------------------------------------------------
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Andreas Jung Sent: Tuesday, January 21, 2003 3:12 AM To: Eugen Nedelcu; zope@zope.org Subject: Re: [Zope] access to passwords
Zope stores passwords either as hash or encrypted but in plaintext.
-aj
True, but you can capture them on the way in. I did this by adding a module to exUserFolder but you should be able to modify any UserFolder class to do this.
hi You can find out all the passwords for all the users using an External method. Put in Extensions directory a file called getpwd.py with the fallowing content: def getpwd(self): list={} for user in self.REQUEST.PARENTS[-1].acl_users.getUsers(): list[user.name]=user.__ print list Add an External method in Zope and call getpwd method .. in the console window you will have a dictionary with the structure user:password rgds ----- Original Message ----- From: "Eugen Nedelcu" <eugen@sifolt.ro> To: <zope@zope.org> Sent: Tuesday, January 21, 2003 1:01 PM Subject: [Zope] access to passwords
Is there a way to access the password entered by the user, the same as with the user name itself (REQUEST['AUTHENTICATED_USER'])?
-- ICQ: 165549179
_______________________________________________ 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 )
participants (4)
-
Andreas Jung -
Charlie Reiman -
Dragos Chirila -
Eugen Nedelcu