Re: Authentication
From: Greg Burns (greg_burns_at_DONT_SPAM_ME_hotmail.com)
Date: 09/08/04
- Next message: Karl: "Re: Post non-asp form to ASP.net Page"
- Previous message: Hellp: "Post non-asp form to ASP.net Page"
- In reply to: Jim Heavey: "Authentication"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 8 Sep 2004 15:35:02 -0400
When you run an ASP.NET page it executes in the context of the ASPNET user,
unless you have Identity Impersonate turned on in web.config.
Give the ASPNET user propery rights to create/delete the file. (It is a
different account on Windows 2003 server, NETWORKSERVICE)
Greg
"Jim Heavey" <JimHeavey@discussions.microsoft.com> wrote in message
news:00BD6782-1A95-4579-A9E0-C5824EE6DFDB@microsoft.com...
> If I trying to understand security - Windows vs. Identity.
>
> Using my own machine(not a server) using Windows athentication, when I
> attempt to write a file to the server, I get a
> "System.UnauthorizedAccessException" - access denied. I am not sure I
> understand why this is the case. I am logged on to my machine and I
> certainly do have update authority to create and delete files, so why am I
> getting an "Unathorized" exception?
>
> If I use identify impersonation where I supply my ID and Password, all is
> right with the world. Why doesn't "Windows" athentication work?
>
> On a related subject. If I am going to be creating files to be
> downloaded,
> do I need to enable the "Write" check box property within IIS on the
> "Directory" tab? With impersonation it seems to work if it is not
> checked,
> which makes me wonder what the checkbox is for.
>
> Thanks In Advance for your assistance!!!!!
- Next message: Karl: "Re: Post non-asp form to ASP.net Page"
- Previous message: Hellp: "Post non-asp form to ASP.net Page"
- In reply to: Jim Heavey: "Authentication"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|