Ask a Question related to ASP.NET Security, Design and Development.
-
John #1
Getting asp.net to not write to c drive where temporary folders reside?
If an ASP.NET needs to use an Access database and impersonation is turned
on, ASP.NET writes temp files to "Document settings\ServerName\ASPNET\Local
settings\Temp" (in my c drive) even though I have my TMP and TEMP user and
system environment variables set to a folder on another partition.
The framework also writes to the "Temporary ASP.NET Files" folder when it
compiles asp.net pages. That folder also resides in my c drive.
I really do not wish these files to be written to my c drive which is my
system drive because an asp.net user could dump large files in these
folders, filling up the drive and potentially causing a crash.
Is there a way to set up asp.net so that these folders could be moved to
another drive away from the system drive?
TIA
--
John Dalberg
John Guest
-
Accessing files/folders inside other application folders
How can I have an asc file from one application read text files in another applications directory? I have multiple applications creating text... -
db informix IDS 7.31: error -264,Could not write to a temporary file.
I have allways that message when the sql is dynamic, how cat to resolve? I don't understand for this error because I have much free disk space.... -
Why did XP Upgrade Write Protect All My Files and Folders?
After upgrading Windows ME to Windows XP Home edition I find all of my files and folders Write protected. I have manually tried to alter their... -
Privatizing Folders on External Hard Drive
I'm running XP Home on a Sony laptop and I recently purchased a Western Digital firewire hard drive for increased storage. I'm wondering if there... -
Can Oracle XML DB Repository and Oracle reside on different server.
Can we store XML DB Repository on different machine which will be trated as document server and Oracle on the seperate machine will access this... -
Dominick #2
Re: Getting asp.net to not write to c drive where temporary folders reside?
Hello John,
the <compilation> element has a tempDirectory atttribute where you can set
the location of the temporary asp.net assemblies-
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
Dominick Guest
-
Ravichandran #3
RE: Getting asp.net to not write to c drive where temporary folders re
Open Windows Explorer, browse to the specific folder, right-click on it,
select Properties, in the Properties dialog, click the Security tab, remove
the ASPNet account from the list (For Win2k).
with regards,
J.v.
"John Dalberg" wrote:
Ravichandran Guest
-
John #4
Re: Getting asp.net to not write to c drive where temporary folders re
On Wed, 18 May 2005 03:00:03 -0700, Ravichandran J.V. wrote:
The impersonated user needs access to these folders. Otherwise the asp.net
pages will give an error message. Removing NTFS write permission to a
folder that is needed is not a solution. I was asking how to tell .net to
relocate to another folder.
[/ref]
--
John Dalberg
John Guest



Reply With Quote

