Ask a Question related to ASP.NET Security, Design and Development.
-
Swati #1
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.
I am using forms authentication.
I am trying to use the LogonUser call from my cs file so that i can
log on as the network user.
I create a windowsprincipal object using the token returned from this
method in my code and attach it to the httpcontext.
I do not get any errors or exceptions. The Identity.Name returns the
correct name.
The user has permissions on the network for that share but from my web
app I cannot access the folders.But from my web app I cannot access
the folders .. I get an access denied error.
Any idea whats lacking?
I am using Win2k and I have set the aspnet user to "Act as OS" or
whatever that setting is required.
Any help will be useful.
thnx,
Swati
Swati 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... -
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... -
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
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... -
Impersonation in ASPNET and LogonUser
Have you taken a look at the asp.net security best practices paper? It discusses some of the pitfalls and issues when using impersonation....



Reply With Quote

