Re: Save passwords in scripts

2005-03-29 Thread Serge Orlov
Florian Lindner wrote: > Serge Orlov wrote: > >> Florian Lindner wrote: >>> Paul Rubin wrote: >>> - sort of similar: have a separate process running that knows the password (administrator enters it at startup time). That process listens on a unix socket and checks the ID of the clie

Re: Save passwords in scripts

2005-03-28 Thread Paul Rubin
Florian Lindner <[EMAIL PROTECTED]> writes: > Can I find out the identity of the client (PID/UID) when using unix socket? Unix sockets have a feature called ancillary messages that lets you do that, but the Python socket module currently doesn't support the feature. There's an open sourceforge b

Re: Save passwords in scripts

2005-03-28 Thread Florian Lindner
Serge Orlov wrote: > Florian Lindner wrote: >> Paul Rubin wrote: >> >>> - sort of similar: have a separate process running that knows the >>> password (administrator enters it at startup time). That process >>> listens on a unix socket and checks the ID of the client. It reveals >>> the password

Re: Save passwords in scripts

2005-03-24 Thread beaststwo
I had a similar problem a few years ago and decided that if I really had to store passwords, I could at least make them a bit harder to get at. I was using a the ConfigParser module to store other info in a config file, so I added entries for the UserID and password to the config file, as well as

Re: Save passwords in scripts

2005-03-22 Thread Serge Orlov
Florian Lindner wrote: > Paul Rubin wrote: > >> - sort of similar: have a separate process running that knows the >> password (administrator enters it at startup time). That process >> listens on a unix socket and checks the ID of the client. It reveals >> the password to authorized clients, i.e.

Re: Save passwords in scripts

2005-03-21 Thread Florian Lindner
Paul Rubin wrote: > Florian Lindner <[EMAIL PROTECTED]> writes: >> I've a scripts that allows limited manipulation of a database to users. >> This script of course needs to save a password for the database >> connection. The users, on the other hand need read permission on the >> script in order t

Re: Save passwords in scripts

2005-03-21 Thread Florian Lindner
Esben Pedersen wrote: > Florian Lindner wrote: >> Hello, >> I've a scripts that allows limited manipulation of a database to users. >> This script of course needs to save a password for the database >> connection. The users, on the other hand need read permission on the >> script in order to execu

Re: Save passwords in scripts

2005-03-21 Thread Paul Rubin
Florian Lindner <[EMAIL PROTECTED]> writes: > I've a scripts that allows limited manipulation of a database to users. This > script of course needs to save a password for the database connection. The > users, on the other hand need read permission on the script in order to > execute it but should n

Re: Save passwords in scripts

2005-03-21 Thread Esben Pedersen
Florian Lindner wrote: Hello, I've a scripts that allows limited manipulation of a database to users. This script of course needs to save a password for the database connection. The users, on the other hand need read permission on the script in order to execute it but should not be able to read out

Re: Save passwords in scripts

2005-03-21 Thread Florian Lindner
Peter Hansen wrote: > Florian Lindner wrote: >> I've a scripts that allows limited manipulation of a database to users. >> This script of course needs to save a password for the database >> connection. The users, on the other hand need read permission on the >> script in order to execute it but sh

Re: Save passwords in scripts

2005-03-21 Thread Peter Hansen
Florian Lindner wrote: I've a scripts that allows limited manipulation of a database to users. This script of course needs to save a password for the database connection. The users, on the other hand need read permission on the script in order to execute it but should not be able to read out the pa

Save passwords in scripts

2005-03-21 Thread Florian Lindner
Hello, I've a scripts that allows limited manipulation of a database to users. This script of course needs to save a password for the database connection. The users, on the other hand need read permission on the script in order to execute it but should not be able to read out the password. What is