[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Storing passwords
From:       Marcos Dione <mdione () grulic ! org ! ar>
Date:       2003-04-25 22:47:32
[Download RAW message or body]

On Fri, Apr 25, 2003 at 11:41:18PM +0100, Unai Garro Arrazola wrote:
> 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?

	no need to, just make sure the file where the passwd will go to be only
read/writeable by the user, i.e., perms like 0600. check out kppp's code for an
example on how to achieve this.

-- 
La gelatina hecha con vodka pega mas que 'La Gotita'
            --oyente anonimo del programa de radio "Dos tipos audaces"
 
>> 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