Re: The ASP.NET application is not permitted to write to disk!

From: Jimco Add-ins (jimco@nospam.jimcoaddins.com)
Date: 10/12/02


From: "Jimco Add-ins" <jimco@nospam.jimcoaddins.com>
Date: Sat, 12 Oct 2002 10:23:32 -0500


Make sure that you are specifying domain\username in the web.config. Make
sure that you are using Windows authentication. If you are using
forms-based authentication, unless the authentication ticket is passed with
the request, it won't work.

--
Jimco Add-ins
-------------------------------------------------------------------
http://www.jimcoaddins.com
FREE Add-ins and Utilities for FrontPage
-------------------------------------------------------------------
Secure pages with ASP!
Read our most recent edition of Insights
-------------------------------------------------------------------
"Tom Vogel" <tvch@yahoo.com> wrote in message
news:OsoulAfcCHA.1940@tkmsftngp10...
> Thanks for the input. But it's not that easy. My web site is hosted at a
> third-party, an ASP.NET hosting provider. So all my users are either
> anonymous or FormsAuthentication is used. But that doesn't change the
> situation for the ASP.NET process.
>
> My problem at the moment is, that the ASP.NET application doesn't have
> permission to write to the filesystem. So how can I make my application
run
> with the only Windows NT account that has the required permission while an
> anonymous user requests the page.
>
> Tom
>
> "Jimco Add-ins" <jimco@nospam.jimcoaddins.com> wrote in message
> news:uATCt4ecCHA.1340@tkmsftngp10...
> > Tom,
> >
> > All you have to do is change your web.config file.  If you enable
> > impersonation and deny unauthenticated users, you will be running under
> your
> > own account.  In other words, add the following:
> >
> > <identity impersonate="true" />
> >
> > Then you will need to change the <authorization> section as follows:
> >
> > <authorization>
> >
> >      <deny users="?" />
> >
> > </ authorization>
> >
> > --
> >
> > Jimco Add-ins
> > -------------------------------------------------------------------
> > http://www.jimcoaddins.com
> > FREE Add-ins and Utilities for FrontPage
> > -------------------------------------------------------------------
> > Secure pages with ASP!
> > Read our most recent edition of Insights
> > -------------------------------------------------------------------
> >
> >
> >
> > "Tom Vogel" <tvch@yahoo.com> wrote in message
> > news:#HuEauecCHA.2520@tkmsftngp11...
> > > The situation at my ASP.NET hosting provider is that,
> > > - I have a virtual web server
> > > - a Windows NT account and FTP access to my folder
> > > - and ASP.NET running, I assume, under the ASPNET account
> > >
> > > The problem is, that the ASPNET account can read my pages but I have
no
> > > other privileges like writing to disk etc.
> > >
> > > Unfortunately Microsoft only lets you change the username in the
> > > ProcessModel section of the machine.config file. This is not a
suitable
> at
> > > all for a multi-site environment.
> > >
> > > What I'd like to do is have the ASP.NET process run under my account
id.
> > Is
> > > this possible and how?
> > >
> > > Thanks for your help.
> > >
> > > Tom
> > >
> > >
> > >
> > >
> >
> >
>
>


Relevant Pages

  • Re: Access denied ( From one site to another, that is in another server)
    ... | configure it for Basic Authentication, can I avoid use Kerberos and use ... |> Enable Integrated Windows Authentication check box is ... Active Directory - Delegation: ... To verify that the application account can act ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Access denied ( From one site to another, that is in another server)
    ... If insted of configure the ASP.NET Application for Windows Authentication, ... Active Directory - Delegation: ... To verify that the application account can act ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: NT based roles using forms authentication
    ... You could create locked down local accounts on the web server and ... still use Windows authentication. ... >them selves and change between users without logging off the account. ... >> Windows manage the authentication and impersonation with a web.config ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Login failed for ServerGuest
    ... Not in terms of the same type of thing with the guest ... account.When it's a specific account failing, ... > I have noticed that when I try to log in using Windows Authentication to ...
    (microsoft.public.sqlserver.connect)
  • Re: Basic Authentication fails with Error 401.2 where Integrated s
    ... Just as a check I used NET USER /ADD on my test account and as expected ... The password dialog is supposed to appear for Basic authentication ... Thinking more esoterically now -- what are the login rights assigned ... IIS uses a specific login type, ...
    (microsoft.public.inetserver.iis.security)