469,949 Members | 2,183 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,949 developers. It's quick & easy.

Best location to install temporary files

I am writing a web based application that uses an ActiveX control on a
web page to install files on the user's computer. These files will
then be opened using programs on the user's computer such as WordPad.
Some of the files will be also executed and delete the files which are
not longer required.

The files are not meant to be permanently left on the users computer,
so there are by definition ‘temporary' files but will need to survive
a re-boot.

Can someone advise me on the best folder to copy these files to? I
want to avoid or reduce security issues. Because this is a web-based
application, I have no control over what security is in place.

Examples of folders I have in mind are:

\WINDOWS\
\WINDOWS\Downloaded Program Files (can this folder contain exe files?)
\WINDOWS\Temp
Creating a new folder somewhere on the user's hard disk

Regards

Allan Cammish
Jul 19 '05 #1
1 1961
The user's %temp% path is the best place for temp files, but you should
probably inquire in another group if you'd like a second opinion. This
group is all about server-side programming, so you're not as likely to find
as good of client-side advice here as you would in an ActiveX group, for
example.

Ray at work

"Allan Cammish" <al**********@hotmail.com> wrote in message
news:f9**************************@posting.google.c om...
I am writing a web based application that uses an ActiveX control on a
web page to install files on the user's computer. These files will
then be opened using programs on the user's computer such as WordPad.
Some of the files will be also executed and delete the files which are
not longer required.

The files are not meant to be permanently left on the users computer,
so there are by definition 'temporary' files but will need to survive
a re-boot.

Can someone advise me on the best folder to copy these files to? I
want to avoid or reduce security issues. Because this is a web-based
application, I have no control over what security is in place.

Examples of folders I have in mind are:

\WINDOWS\
\WINDOWS\Downloaded Program Files (can this folder contain exe files?)
\WINDOWS\Temp
Creating a new folder somewhere on the user's hard disk

Regards

Allan Cammish

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Frank Millman | last post: by
5 posts views Thread by great_googley_moogley | last post: by
5 posts views Thread by localhost | last post: by
10 posts views Thread by jojobar | last post: by
1 post views Thread by mikehixson | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.