472,328 Members | 997 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,328 software developers and data experts.

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 2068
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Frank Millman | last post by:
Hi all I need to generate potentially large reports from a database, and I want to offer the option of print preview before actually printing...
5
by: great_googley_moogley | last post by:
Greetings, I am in the process of installing a SQL database at a customer location. I have determined that there are 3 ways to do this, and I...
5
by: MLH | last post by:
I have little or no knowledge as to how a runtime Access database application might be distributed from a website. I am sure that I'm about to find...
5
by: localhost | last post by:
I want to determine within my code-behind only the location of the current tem directory for ym ASP.NET files. For example, the latest web app...
10
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created...
1
by: mikehixson | last post by:
Hi, As I understand ASP.NET 2.0 caches large POSTs to disk when the POST is greater than 256 bytes by default. The default location for the...
1
by: teo | last post by:
I need to install the add-in "PasteAs" for the Visual Studio 2005 IDE. It should convert the C# code to the VB code. It's a MS add-in and you...
2
by: Bill | last post by:
I have an Access 2003 database application that I split into an application component MDB file (i.e., forms, etc) and a data component MDB file...
14
by: Keith | last post by:
I have an MDE application used by several hundred people in different parts of the world. The majority of users are of lesser experience computer...
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
1
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.