Re: How do I give ASP.NET process network credentials?

From: Joseph Geretz (jgeretz@nospam.com)
Date: 10/24/02


From: "Joseph Geretz" <jgeretz@nospam.com>
Date: Thu, 24 Oct 2002 09:46:55 -0400


Thanks Jay.

Two follow up questions though.

1. What implications does asigning this user as a domain user have? Is the
overhead of using a domain user, rather than a local user account
significant?

2. What's the difference between specifying this in the identity section,
rather then in the processModel section which also contains attributes for
userName and password?

Thanks,

- Joe Geretz -

"Jay Warmack" <jwarmack@weblandingzone.net> wrote in message
news:u9AGi1xeCHA.1788@tkmsftngp11...
> In web.config you should be able to use:
>
> <identity impersonate="false" userName="domain\localuser"
> password="password"/>
>
>
> "Joseph Geretz" <jgeretz@nospam.com> wrote in message
> news:uZ00wfueCHA.2128@tkmsftngp12...
> > I have a Source Safe database installed on my Win2K 'domain controller'.
A
> > Source Safe database is not a database in the traditional sense of the
> word.
> > It is actually a file system folder structure. Source Safe workstation
> users
> > access this 'database' via a folder share or mapped drive. The VSS
> database
> > is installed on a machine called Dimension2.
> >
> > I have written an ASP.NET process (web services) which interacts with
the
> > VSS API in order to access the VSS database on dimension. These web
> services
> > are hosted under IIS on a member server named Dimension. I was finding
> that
> > if I logged on locally to Dimension and ran the VSS Win32 Explorer
client,
> I
> > was able to successfully access the VSS database on Dimension2. However,
> the
> > ASP.NET code was unable to access this database.
> >
> > I changed the ASP.NET username in the processmodel section of
> machine.config
> > to SYSTEM. Still no success. So I made the following changes to the
> > web.config file at the root of the web service site.
> >
> > Authentication: Windows
> > Impersonation: true
> >
> > Now the code runs successfully, since the ASP.NET code is now running
> using
> > my interactive session network credentials. This was a useful test to
> > isolate the problem and to confirm that the problem is based on
> credentials
> > and security. However this is no solution for a production environment.
I
> > need to allow this to work for anonymous users coming in over the
Internet
> > without domain credentials.
> >
> > How can I set this up? Can ASPNET on Dimension be set up as a network
> > account? Can a new network account be created and ASP.NET or my web
> services
> > be configured to use this special account? Or is there a different way
in
> > which this is typically done?
> >
> > Thanks for your help.
> >
> > - Joe Geretz -
> >
> >
>
>



Relevant Pages

  • Re: How do I give ASP.NET process network credentials?
    ... >> Source Safe database is not a database in the traditional sense of the ... >> I have written an ASP.NET process (web services) which interacts with ... >> VSS API in order to access the VSS database on dimension. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: How do I give ASP.NET process network credentials?
    ... > I have a Source Safe database installed on my Win2K 'domain controller'. ... > VSS API in order to access the VSS database on dimension. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Developing with VS2005 over a WAN
    ... I've been using the same database since 2003 and even migrated it to a new server. ... VSS doesn't do atomic checkins. ... In Perforce, deleting/renaming a file from the depot means that the ...
    (microsoft.public.vsnet.general)
  • Re: How do I give ASP.NET process network credentials?
    ... The domain user needs certain proviledges - acting as part of the operating ... >>> Source Safe database is not a database in the traditional sense of the ... >>> my interactive session network credentials. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: VSS 2005 BUG? Check-in unchanged files.
    ... > update the file in the working directory. ... > B wants to synchronize with database. ... VSS does not update database at this> time, ...
    (microsoft.public.vstudio.sourcesafe)