Hi Monty,

> > This info should really go in the user profile's temp 
> > directory (%TMP%, I
> > believe).
> 
> Why is that? The history.txt and calcmem.txt files get written to the
> install directory.  Why not put the DQSDLaunch.html file 
> there as well? 

Because it mandates that the user has write permissions in the Program Files
directory.
This is considered really bad form, since it makes things easier for worms
and viruses. See for example [1] for a general view of the issue, by Keith
Brown, author of Programming Windows Security [2].

I know that history.txt and calcmem.txt go in the install dir already, but
the should really be moved, rather than bring more data in there.

> I just need to put it anywhere other than the temp directory, 
> or skip the initial writing of an empty one on startup.  Is this a change 
> that could be made?

Ah, I just read your initial mail... That makes it tricky. I'm not sure why
the initial write is there - maybe some of the original "componenteers"
know... I think the write at startup should be removed rather than
re-directed to the install dir.

Cheers,
Kim

[1] http://www.develop.com/kbrown/hallofshame/default.htm
[2] http://www.amazon.com/o/ASIN/0201604426



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
DQSD-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-devel

Reply via email to