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

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to