2 Mar
2003
2 Mar
'03
4:41 p.m.
What are the security implications of storing a password in a python product as persistent data? I was thinking of something like this: class MyProduct: def __init__(self, hostname, username, password): self.hostname = hostname self.username = username self.password = password But I will also need to be able to use the password in anonymous actions; otherwise I could ask for the password (in some suitable way) each time it's needed. Basically, how do I keep good security with sensitive persistent data in a python product? Peter