Ask a Question related to ASP.NET Security, Design and Development.
-
Ryan #1
Access Denied using Impersonation
I am developing an intranet application that uses windows
authentication and impersonation. The problem I'm having
is that it seems when the session ends the access token
is lost (just a guess) and when the user tries to load
the page again an Access Denied error is generated. Has
anyone experienced this before and know of a workaround.
Any help is greatly appreciated. Thank You!
Ryan
Ryan Guest
-
IExtractImage, Impersonation, GDI and "access denied" for non-local admins
Hi, We're using the IExtractImage interface from behind a .NET web service to generate thumbnails for various files in our network (windows... -
EMAB, Impersonation, & Access Denied to Event Log in ASP.NET
Hi, I am working on an ASP.NET project and wanted to use the Exception Management Application Block to do my error logging. With the ASP.NET... -
Access Denied and Impersonation
Hi, I need to use impersonation in in my ASP.NET applicaiton. But when I set it to "true" in the Web.config file, the "Access Denied" message... -
Access denied when creating Access application object
In an ASP file I am running the following in VBScript in order to extract data from an Access 2002 MDB file which is physically located in the... -
Newbie: Access denied error when using impersonation
I've written a simple web service in which I'm accessing some DLLs. When I run it, I get following error: CS0009: Metadata file... -
Holly Mazerolle #2
RE: Access Denied using Impersonation
If this is a situation where the user is logged on to a domain and you are
using Windows Integrated Authentication in IIS the session should not
matter. Even if the session ends, on the next request, the same credentials
should be passed to the server and used. If you think it is the session, a
good test would be to lower the timeout to maybe 5 mins and try the same
steps with that.
You can find the timeout setting in the web.config file. Another thing you
could do if you are not sure what user is really trying to access the file
at the time the error occurs would be to run filemon from
[url]www.sysinternals.com[/url]. You can look for Access Denieds and it will also list
the account that is doing the access.
This posting is provided "AS IS" with no warranties, and confers no rights.
Hope this helps.
Holly
Holly Mazerolle Guest
-
Ryan #3
RE: Access Denied using Impersonation
I ran Filemon on the server and found that the domain
user did not have rights for the Inetpub folder. Very
wierd because the user has rights to the web app under
Inetpub and can run the application most of the time.
Just occasionally the user would get an access denied
error. Anyways, I added the domain user to have
read/write priveleges to the Inetpub folder and it seems
to be working. Thank you for you help. By the way, my
wife's name is Holly also, what a coincedence.
Thanks,
Ryan
domain and you are>-----Original Message-----
>If this is a situation where the user is logged on to asession should not>using Windows Integrated Authentication in IIS thethe same credentials>matter. Even if the session ends, on the next request,is the session, a>should be passed to the server and used. If you think itand try the same>good test would be to lower the timeout to maybe 5 minsAnother thing you>steps with that.
>
>You can find the timeout setting in the web.config file.to access the file>could do if you are not sure what user is really tryingfrom>at the time the error occurs would be to run filemonand it will also list>[url]www.sysinternals.com[/url]. You can look for Access Deniedsconfers no rights.>the account that is doing the access.
>
>This posting is provided "AS IS" with no warranties, and>Hope this helps.
>Holly
>
>.
>Ryan Guest
-
Holly Mazerolle #4
RE: Access Denied using Impersonation
No problem. :-)
Holly
Holly Mazerolle Guest



Reply With Quote

