Re: First message

"DK" <[email protected]> Mon, 30 Oct 2006 20:53:34 -0000
Newsgroups gmane.comp.security.passwordsafe.devel
Message-ID <007501c6fc65$77dfa600$0501a8c0@kelvinhome>
James,
 
The reason for the change in behaviour was that if a browser window was
already open, I and others were fed up with that window being "taken over"
by whichever site you wished to "Browse to" from Password Safe.  The change
made Password Safe open a new instance of the user's default browser.
 
I understand the issue but there is no other way (as far as I know) to find
out what is the user's default browser.  The user interface in Windows XP
does not provide an option for setting the default browser for each user.
 
There are bugs in both Internet Explorer and Windows that prevent you using
the entry in the Registry (can be seen when IE still checks if it is the
default even when you tell it not to).  Also, although the default browser
registry value is a "System/machine" variable and not a "user" variable,
there do exist programs that allow users to set their own default browser
and/or mail program (I use the ones in " <http://windowsxp.mvps.org/>
http://windowsxp.mvps.org" [search for the word "default" in the Index] so
that my family and I can have different settings on our "Home Computer".
See also Microsoft's Knowledge Base entry:
<http://support.microsoft.com/default.aspx?scid=kb;EN-US;315240>
http://support.microsoft.com/default.aspx?scid=kb;EN-US;315240 and other
related articles re: IE and default browsers.  If a user has set their own
default browser, then you can't use the general registry entry.
 
The only way I could get this to work was to actually detect which program
Windows would use to open the html file for this user.
 
I see two possible "other" solutions:
 
1. Trawl though the registry and find out exactly where in the
"HKEY_CLASSES_ROOT" tree the "system-wide" default is kept (I think I know
this one) and also check where within the "HKEY_CURRENT_USER" the user may
have specified their own particular override (I don't know this one), or
 
2. Make it an Option where the user can specify which program they want to
use to "Browse to URL" (default being IE) - always assuming that the user
can find out the full path to the browser as they may not have installed it
in a "standard" location"!  Need to check that if they select/default to IE,
it is where it normally is and not somewhere else!
 
Option 1 would require a lot of research.
Option 2 would be easiest but puts the onus on the user to find and specify
the correct program - I obviously prefer this one ;-)
 
Windows XP SP1 introduced the "Set Program Access and Defaults" facility but
again, I believe that this is "system-wide" and requires Administrator
rights to run.  What if you are a limited user on a shared machine and what
about operating systems prior to WinXP SP1?
 
What is your proposed solution to the original problem and make Password
Safe start a new instance of the user's default browser?
 
Regards,
 
David
 

  _____  

From: Rony Shapiro [mailto:[email protected]] 
Sent: 30 October 2006 15:48
To: 'Kelvin, David'; [email protected]
Subject: FW: [Passwordsafe-devel] First message


Hi David,
 
IIRC, you implemented the change that James refers to. Care to explain to
him (cc the list) why you did it that way? I'd be interested in seeing his
alternative - perhaps he has a more elegant solution?
 
    Rony

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of James
Walker
Sent: Monday, October 30, 2006 4:48 PM
To: [email protected]
Cc: PasswordSafe Developers
Subject: Re: [Passwordsafe-devel] First message


Hi Rony,

(This refers to the Windows port)

What I'm referring to is the way pwsafe figures the default browser. Right
now it creates a temporary (.html) file and sees which program is associated
with it. The problem here is that it's possible to have a program associated
with html files that is not actually set as the default browser. I'm not
sure why it changed (it used to not do this I think), and there may be a
reason for it, but my fix is limited to BOOL DboxMain::LaunchBrowser(const
CString &csURL). 

And sure, I would like to contribute regularly, that'd be cool.

Cheers,
James



On 10/29/06, Rony Shapiro < [email protected] <mailto:[email protected]> > wrote: 

Hi James,
 
Welcome aboard!
 
What's the bugfix? If it's a single specific issue, best to send me the
files and I'll commit them. If you'd like to contribute on a regular basis,
let me know, and I'll add you to the list of "official" project developers.
 
    Cheers,
 
        Rony

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of James
Walker
Sent: Friday, October 27, 2006 10:12 PM
To: [email protected]
Subject: [Passwordsafe-devel] First message



Hello everybody,

This is my first sourceforge list, so part of this is just a test.

The other part is I've got a fix for a bug I'd like to commit, but I'm
unaware of either how to go about it/how such things are discussed and
approved. 

Also I'd like to say thanks to all of you; Passwordsafe is great, and I've
been loving it since 2.13.

Cheers,
James

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Passwordsafe-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/passwordsafe-devel