Ask a Question related to ASP.NET Security, Design and Development.
-
Zdenek Drlik #1
IsolatedStorage with impersonation in ASP.NET problem
Hi,
I have an ASP.NET application. I want to use IsolatedStorage in this
application. When I run this application with anonymous access set in
IIS (user set to IUSR_<machine>) and impersonation set to false in
web.config, IsolatedStorage works fine.
But when I try to set impersonation to true via the web.config, calling
IsolatedStorageFile.GetUserStoreForDomain()
get me an IsolatedStorageException with this call stack:
System.IO.IsolatedStorage.IsolatedStorageFile.nGet RootDir(IsolatedStorageScope
scope) +0
System.IO.IsolatedStorage.IsolatedStorageFile.Init GlobalsNonRoaming(IsolatedStorageScope
scope) +42
System.IO.IsolatedStorage.IsolatedStorageFile.GetR ootDir(IsolatedStorageScope
scope) +98
System.IO.IsolatedStorage.IsolatedStorageFile.GetG lobalFileIOPerm(IsolatedStorageScope
scope) +208
System.IO.IsolatedStorage.IsolatedStorageFile.Init (IsolatedStorageScope
scope) +37
System.IO.IsolatedStorage.IsolatedStorageFile.GetS tore(IsolatedStorageScope
scope, Type domainEvidenceType, Type assemblyEvidenceType) +66
System.IO.IsolatedStorage.IsolatedStorageFile.GetU serStoreForDomain() +12
and tells me that storage directory cannot be created (System could not
find specified file).
Does anybody know what's wrong, or how to use IsolatedStorage with
impersonation in ASP.NET?
Thanks
Zdenek Drlik
Zdenek Drlik Guest
-
Impersonation problem.
When I enable impersonation in web.config and show User identity in .aspx page, it is the user IIS authenticates. But when I try to access Sql... -
Impersonation problem
Hi ! I'm trying to secure my web application using impersonation within the web.config file as follows : <identity impersonate="true"... -
problem with impersonation using LogonUser
Hello All This is what I am tring to do: I have some folders shared for specific users on network. Now from my web appl I have to access them.... -
HttpWebRequest, impersonation and DefaultCredentials problem.
I'm trying to create a HttpWebRequest object that uses the current logged in user's credentials. It's currently setup with: <identity... -
Problem with Impersonation
I recently installed Active Directory on my webserver (yeah people say it's a bad idea but I had no other choice). Now when I access a web app with...



Reply With Quote

