Ask a Question related to ASP.NET Security, Design and Development.
-
David Williams #1
Impersonating for [Local] File Access
I have a DLL that I am writing that will be used from our web site. Within this DLL I must change the user that the code is running under so that I have access to several unmanaged API's, WMI, Registry read/write access, and creation and update of a number of files. The user that I am changing to is in a group (NOT an administator) that has the rights assigned in the group policy that I need. Changing to the user using the LoginUser API and setting the WindowsIndenity is fairly trival (once you know what needs to be done!).
The problem that I am currently struggling with is that a number of temporary files need to be created. When the call IO.Path.GetTempFileName is made an exception of "Invalid Directory Name" is thrown. I suppect that the problem is security related as when during debugging I attempt to see the Environment.SpecialFolders.ApplicationData directory it returns an empty string. Can anyone give me a pointer to what I need to do to continue forward?
TIA
David
David Williams Guest
-
Problem with local file and local link
Hi to everybody, I have installed a new version of flash player (9,0,28,0) and when I open a local file like: c:\test\index.html When I click... -
Need to Access a Local Variable
How do I access a variable that is generated within a function? For example, in the code below, I need to access the "count" variable (which is... -
LWP - multipart/form-data file upload from scalar rather than local file
I'm looking to do an HTTP upload, preferably with HTTP::Request::Common, but get the file data from either a filehandle or a scalar rather than... -
Local DB Access
I need local db access from my Flash Prof App. I know I can do it with PHP and MySQL, but is there a direct Flash Remoting connector to a local DB.... -
local network access
i have windows xp pro installed with iis. i want local computers on the network to be able to access my iis site, anyone know how to do this? i...



Reply With Quote

