[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Storing passwords
From: Alexander Neundorf <neundorf () kde ! org>
Date: 2003-04-26 9:49:07
[Download RAW message or body]
On Saturday 26 April 2003 00:41, Unai Garro Arrazola wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I'm writing a KDE tool based on a mysql database. Most of the database
> stuff is already done, but I'm stuck at the point that I don't know how to
> store the user's mysql-password safely. Is there a proper/standard way to
> do so?
>
> If I want the program to remember it after I closing the program, then it
> must be stored in a file, but then it must definetely be encrypted. But how
> can I make a program that is able to decrypt it while a normal user is not?
E.g. the smb ioslave in kdebase/kioslave/smbro/ uses a simple scrambling
function to scramble and unscramble the password, so that it's at least not
simply readable.
Bye
Alex
--
Work: alexander.neundorf@jenoptik.com - http://www.jenoptik-los.de
Home: neundorf@kde.org - http://www.kde.org
alex@neundorf.net - http://www.neundorf.net
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic