RE: asp.net, basic authentication, file access
From: jzink (zinks.home_at_verizon.net)
Date: 01/06/04
- Next message: gmarquez: "Strange behavior using SSL and "FORMS" authentication."
- Previous message: Ryan: "RE: Access Denied using Impersonation"
- In reply to: Holly Mazerolle: "RE: asp.net, basic authentication, file access"
- Next in thread: Hernan de Lahitte: "Re: asp.net, basic authentication, file access"
- Reply: Hernan de Lahitte: "Re: asp.net, basic authentication, file access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 6 Jan 2004 07:20:51 -0800
I do not have impersonation set to true, yet when I put
this code into my aspx page:
Response.Write (
Thread.CurrentPrincipal.Identity.Name.ToString() )
it will write out the name of the user who was
authenticated not ASPNET. What am I missing ???
>-----Original Message-----
>You will want to grant access to the ASPNET account for
deleting the file.
>If you want only the authenticated user to have the
ability to delete the
>file then you could simply set impersonation to true and
set permissions
>for that logged on user. If you do this and you are still
having problems,
>a good way to troubleshoot would be to use filemon while
you repro any
>errors. You can download it from www.sysinternals.com. It
will show you
>what user is accessing what files and whether the access
was successful or
>not.
>
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>
>Holly
>
>.
>
- Next message: gmarquez: "Strange behavior using SSL and "FORMS" authentication."
- Previous message: Ryan: "RE: Access Denied using Impersonation"
- In reply to: Holly Mazerolle: "RE: asp.net, basic authentication, file access"
- Next in thread: Hernan de Lahitte: "Re: asp.net, basic authentication, file access"
- Reply: Hernan de Lahitte: "Re: asp.net, basic authentication, file access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]