Re: Authentication

From: Greg Burns (greg_burns_at_DONT_SPAM_ME_hotmail.com)
Date: 09/08/04


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!!!!!



Relevant Pages

  • Re: Going from anonymous security to Windows Security in an ASP.NET application
    ... as I said in my previous post - there is no context on the client... ... Your page.context exists purely on the server. ... we need to have our own login page instead of the standard Windows logon ... impersonation, which takes place on the server has no effect on page ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • HELP!! CS0016 Compilation Error on Windows 2003
    ... I have the following problem with ASP.NET running on Windows 2003. ... Windows 2003 Server Standard ... directory and added in the security tab the ASPNET user to the list, ... ASP.NET working processes (iis6 and iis5 isolation mode) for Windows ...
    (microsoft.public.dotnet.framework.aspnet)
  • Identity Impersonate - help!
    ... I have a website running on Windows 2000 Server, ... Server, SQL Server 2000 and SQL Server 2000 Analysis Services. ... ASPNET user has no rights on the other machine. ... the operating system" to be able to impersonate another user. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Permissions - giving "everyone" full permissions is bad ?
    ... >Now I want to deploy this app to a windows 2003 web edition server, so my customers can test the app. ... >So I go into the properties for the dir where this TXT file is, and adds ASPNET user and gives it "modify" permissions - no luck! ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: disable right click on icons
    ... > one of my server is a terminal server for application and my client ... > the server is a windows 2000 domain controller. ... > 5- Remove Windows Explorer's default context menu Enabled ...
    (microsoft.public.win2000.group_policy)