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

List:       kde-commits
Subject:    Re: kdelibs/kio
From:       Graham TerMarsch <gtermars () home ! com>
Date:       2000-05-16 20:27:21
[Download RAW message or body]

CVS by adawit wrote:
> - Added password caching support for all io-slave using the kdesu daemon.
>   This support is provided through the ui_server and available to any
>   application or io-slave.  To make use of this caching mechanism simply
>   change your call to openPassDlg( head, user, password ) to the new
>   overloaded function openPassDlg( head, user, password, hostname ). Note
>   the hostname is used as a key to cache the password.

Only thing that immediately comes to mind is the "what if" scenario of
"what if a given host has more than one password protected realm for a
given protocol?"  For example, what if....

http://www.somedomain.com/mystats/
and
http://www.somedomain.com/yourstats/

are both password protected, but use different passwords?  I know that in
HTTP the 'basic' authentication uses a "realm" to identify where within the
host/site the password is to be considered valid for, but don't know if
that concept applies well (or at all) to other protocols.

Will admit that I have not looked at your patch to determine whether it
handles any of that (or whether its handled elsewhere by KIO), but from
reading the snippet you've outlined above it was one of the first things to
come to mind.  Can't wait to try it....if only I had enough time to do a
full build right now.....

-- 
Graham TerMarsch

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

Configure | About | News | Add a list | Sponsored by KoreLogic