Hi, Zope 2-7-0 Linux Is possible to get user's password by getPassword() method using Python Script? Any proxes don't work. the code below: user = context.getMemberById(context,'koperski') return user.getPassword() returns: The object is marked as private. Access to 'getPassword' of (MemberData at 0x2353aea0) denied. Thanks in advance KK
Am Montag, den 27.12.2004, 14:30 +0100 schrieb Krzysztof Kubacki:
Hi,
Zope 2-7-0 Linux
Is possible to get user's password by getPassword() method using Python Script? Any proxes don't work.
the code below: user = context.getMemberById(context,'koperski') return user.getPassword()
returns: The object is marked as private. Access to 'getPassword' of (MemberData at 0x2353aea0) denied.
Well, you dont want anybody read your password. In fact modern userfolder implementations only save crypted (hashed) password so the function would be of no use anyway. If you want to help users who forgot passwords, offer a function to generate a new password. Regards Tino
--On Montag, 27. Dezember 2004 14:30 Uhr +0100 Krzysztof Kubacki <krzysztof.kubacki@bmpg.pl> wrote:
Hi,
Zope 2-7-0 Linux
Is possible to get user's password by getPassword() method using Python Script? Any proxes don't work.
the code below: user = context.getMemberById(context,'koperski') return user.getPassword()
Use an external method or look at Dieter Maurer's TrustedExecutables. -aj
participants (3)
-
Andreas Jung -
Krzysztof Kubacki -
Tino Wildenhain