Identity System

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Arran Pearce

    #1

    Identity System

    Hi,

    How can i get my ASP Page or Web Service to run as the LocalSystem rather
    than a user?

    cheers


  • Craig Deelsnyder

    #2
    Re: Identity System

    The default user for all apps is set in your machine.config file in your
    local .NET installation folder (in a folder called config). If you look in
    that file, in the <processModel > section user="machine" is pry what is set
    right now. You can change that to SYSTEM as you want, but it is highly
    recommended you don't do that (for security reasons). But it's your call.

    In addition, I'm not sure, you may be able to define this in your local
    web.config also, and thus override the machine.config setting. Haven't
    investigated that myself, so dunno if you can do on an app by app basis...

    Another alternative is to use impersonation, and set the user you want all
    visitors to run under....

    --
    Craig Deelsnyder
    Microsoft MVP - ASP/ASP.NET


    "Arran Pearce" <arran.pearce@b acoll.ac.uk> wrote in message
    news:uBuoEnIVDH A.1680@tk2msftn gp13.phx.gbl...[color=blue]
    > Hi,
    >
    > How can i get my ASP Page or Web Service to run as the LocalSystem rather
    > than a user?
    >
    > cheers
    >
    >[/color]


    Comment

    • Yan-Hong Huang[MSFT]

      #3
      Re: Identity System

      Hi,

      I think what you meant is ASP.NET impersonation.

      You could add a line in web.config to run an application as a configurable identity. For example:

      <identity impersonate="tr ue" userName="conto so\Jane" password="pass"/>

      Please refer to http://msdn.microsoft.com/library/en...asp?frame=true for details.

      Thanks very much.

      Best regards,
      Yanhong Huang
      Microsoft Online Partner Support

      Get Secure! - www.microsoft.com/security
      This posting is provided "AS IS" with no warranties, and confers no rights.

      --------------------
      !From: "Craig Deelsnyder" <cdeelsny@NOSPA Myahoo.com>
      !References: <uBuoEnIVDHA.16 80@tk2msftngp13 .phx.gbl>
      !Subject: Re: Identity System
      !Date: Sun, 27 Jul 2003 20:26:12 -0500
      !Lines: 30
      !X-Priority: 3
      !X-MSMail-Priority: Normal
      !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
      !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
      !Message-ID: <#7Cn4cKVDHA.25 08@TK2MSFTNGP12 .phx.gbl>
      !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
      !NNTP-Posting-Host: c-66-41-16-200.mn.client2. attbi.com 66.41.16.200
      !Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP12.phx.g bl
      !Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1624 83
      !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
      !
      !The default user for all apps is set in your machine.config file in your
      !local .NET installation folder (in a folder called config). If you look in
      !that file, in the <processModel > section user="machine" is pry what is set
      !right now. You can change that to SYSTEM as you want, but it is highly
      !recommended you don't do that (for security reasons). But it's your call.
      !
      !In addition, I'm not sure, you may be able to define this in your local
      !web.config also, and thus override the machine.config setting. Haven't
      !investigated that myself, so dunno if you can do on an app by app basis...
      !
      !Another alternative is to use impersonation, and set the user you want all
      !visitors to run under....
      !
      !--
      !Craig Deelsnyder
      !Microsoft MVP - ASP/ASP.NET
      !
      !
      !"Arran Pearce" <arran.pearce@b acoll.ac.uk> wrote in message
      !news:uBuoEnIVD HA.1680@tk2msft ngp13.phx.gbl.. .
      !> Hi,
      !>
      !> How can i get my ASP Page or Web Service to run as the LocalSystem rather
      !> than a user?
      !>
      !> cheers
      !>
      !>
      !
      !
      !


      Comment

      • Arran Pearce

        #4
        Re: Identity System

        One other thing....

        how to i get my application to run with the rights of the local system
        account? What would i enter in the username & password (in the web.config
        file).

        again....many thanks

        Arran

        "Yan-Hong Huang[MSFT]" <yhhuang@online .microsoft.com> wrote in message
        news:PPPMFQbVDH A.2128@cpmsftng xa06.phx.gbl...[color=blue]
        > Hello Arran,
        >
        > You are welcome. Thanks very much for participating the community.
        >
        > Best regards,
        > Yanhong Huang
        > Microsoft Online Partner Support
        >
        > Get Secure! - www.microsoft.com/security
        > This posting is provided "AS IS" with no warranties, and confers no[/color]
        rights.[color=blue]
        >
        > --------------------
        > !From: "Arran Pearce" <arran.pearce@b acoll.ac.uk>
        > !References: <uBuoEnIVDHA.16 80@tk2msftngp13 .phx.gbl>[/color]
        <#7Cn4cKVDHA.25 08@TK2MSFTNGP12 .phx.gbl>[color=blue]
        > <TmsAcOXVDHA.20 80@cpmsftngxa06 .phx.gbl>
        > !Subject: Re: Identity System
        > !Date: Tue, 29 Jul 2003 08:50:15 +0100
        > !Lines: 88
        > !X-Priority: 3
        > !X-MSMail-Priority: Normal
        > !X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
        > !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
        > !Message-ID: <#s5Z8WaVDHA.21 64@TK2MSFTNGP09 .phx.gbl>
        > !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
        > !NNTP-Posting-Host: 212.219.119.220
        > !Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP09.phx.g bl
        > !Xref: cpmsftngxa06.ph x.gbl[/color]
        microsoft.publi c.dotnet.framew ork.aspnet:1629 08[color=blue]
        > !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
        > !
        > !Thanks for the info.
        > !
        > !
        > !
        > !"Yan-Hong Huang[MSFT]" <yhhuang@online .microsoft.com> wrote in message
        > !news:TmsAcOXVD HA.2080@cpmsftn gxa06.phx.gbl.. .
        > !> Hi,
        > !>
        > !> I think what you meant is ASP.NET impersonation.
        > !>
        > !> You could add a line in web.config to run an application as a[/color]
        configurable[color=blue]
        > !identity. For example:
        > !>
        > !> <identity impersonate="tr ue" userName="conto so\Jane" password="pass"/>
        > !>
        > !> Please refer to
        >[/color]
        !http://msdn.microsoft.com/library/en...netimpersonati
        o[color=blue]
        > !n.asp?frame=tr ue for details.
        > !>
        > !> Thanks very much.
        > !>
        > !> Best regards,
        > !> Yanhong Huang
        > !> Microsoft Online Partner Support
        > !>
        > !> Get Secure! - www.microsoft.com/security
        > !> This posting is provided "AS IS" with no warranties, and confers no
        > !rights.
        > !>
        > !> --------------------
        > !> !From: "Craig Deelsnyder" <cdeelsny@NOSPA Myahoo.com>
        > !> !References: <uBuoEnIVDHA.16 80@tk2msftngp13 .phx.gbl>
        > !> !Subject: Re: Identity System
        > !> !Date: Sun, 27 Jul 2003 20:26:12 -0500
        > !> !Lines: 30
        > !> !X-Priority: 3
        > !> !X-MSMail-Priority: Normal
        > !> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
        > !> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
        > !> !Message-ID: <#7Cn4cKVDHA.25 08@TK2MSFTNGP12 .phx.gbl>
        > !> !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
        > !> !NNTP-Posting-Host: c-66-41-16-200.mn.client2. attbi.com 66.41.16.200
        > !> !Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP12.phx.g bl
        > !> !Xref: cpmsftngxa06.ph x.gbl
        > !microsoft.publ ic.dotnet.frame work.aspnet:162 483
        > !> !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
        > !> !
        > !> !The default user for all apps is set in your machine.config file in[/color]
        your[color=blue]
        > !> !local .NET installation folder (in a folder called config). If you[/color]
        look[color=blue]
        > !in
        > !> !that file, in the <processModel > section user="machine" is pry what is
        > !set
        > !> !right now. You can change that to SYSTEM as you want, but it is[/color]
        highly[color=blue]
        > !> !recommended you don't do that (for security reasons). But it's your
        > !call.
        > !> !
        > !> !In addition, I'm not sure, you may be able to define this in your[/color]
        local[color=blue]
        > !> !web.config also, and thus override the machine.config setting.[/color]
        Haven't[color=blue]
        > !> !investigated that myself, so dunno if you can do on an app by app
        > !basis...
        > !> !
        > !> !Another alternative is to use impersonation, and set the user you want
        > !all
        > !> !visitors to run under....
        > !> !
        > !> !--
        > !> !Craig Deelsnyder
        > !> !Microsoft MVP - ASP/ASP.NET
        > !> !
        > !> !
        > !> !"Arran Pearce" <arran.pearce@b acoll.ac.uk> wrote in message
        > !> !news:uBuoEnIVD HA.1680@tk2msft ngp13.phx.gbl.. .
        > !> !> Hi,
        > !> !>
        > !> !> How can i get my ASP Page or Web Service to run as the LocalSystem
        > !rather
        > !> !> than a user?
        > !> !>
        > !> !> cheers
        > !> !>
        > !> !>
        > !> !
        > !> !
        > !> !
        > !>
        > !>
        > !
        > !
        > !
        >
        >[/color]


        Comment

        • Yan-Hong Huang[MSFT]

          #5
          Re: Identity System

          Hello Arran,

          Craig has provided the answer already. :)

          Please look in machine.confign file in C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ config folder, in the
          <processModel > section user="machine" is what is set right now. You can change that to SYSTEM as you want, but it is not
          recommended sicne asp.net app will running under a more powerful account.

          Thanks.

          Best regards,
          Yanhong Huang
          Microsoft Online Partner Support

          Get Secure! - www.microsoft.com/security
          This posting is provided "AS IS" with no warranties, and confers no rights.

          --------------------
          !From: "Arran Pearce" <arran.pearce@b acoll.ac.uk>
          !References: <uBuoEnIVDHA.16 80@tk2msftngp13 .phx.gbl> <#7Cn4cKVDHA.25 08@TK2MSFTNGP12 .phx.gbl>
          <TmsAcOXVDHA.20 80@cpmsftngxa06 .phx.gbl> <#s5Z8WaVDHA.21 64@TK2MSFTNGP09 .phx.gbl>
          <PPPMFQbVDHA.21 28@cpmsftngxa06 .phx.gbl>
          !Subject: Re: Identity System
          !Date: Wed, 30 Jul 2003 00:35:35 +0100
          !Lines: 145
          !X-Priority: 3
          !X-MSMail-Priority: Normal
          !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
          !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
          !Message-ID: <erSzKniVDHA.16 92@TK2MSFTNGP11 .phx.gbl>
          !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
          !NNTP-Posting-Host: host213-122-6-143.in-addr.btopenworl d.com 213.122.6.143
          !Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP11.phx.g bl
          !Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1631 81
          !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
          !
          !One other thing....
          !
          !how to i get my application to run with the rights of the local system
          !account? What would i enter in the username & password (in the web.config
          !file).
          !
          !again....many thanks
          !
          !Arran
          !
          !"Yan-Hong Huang[MSFT]" <yhhuang@online .microsoft.com> wrote in message
          !news:PPPMFQbVD HA.2128@cpmsftn gxa06.phx.gbl.. .
          !> Hello Arran,
          !>
          !> You are welcome. Thanks very much for participating the community.
          !>
          !> Best regards,
          !> Yanhong Huang
          !> Microsoft Online Partner Support
          !>
          !> Get Secure! - www.microsoft.com/security
          !> This posting is provided "AS IS" with no warranties, and confers no
          !rights.
          !>
          !> --------------------
          !> !From: "Arran Pearce" <arran.pearce@b acoll.ac.uk>
          !> !References: <uBuoEnIVDHA.16 80@tk2msftngp13 .phx.gbl>
          !<#7Cn4cKVDHA.2 508@TK2MSFTNGP1 2.phx.gbl>
          !> <TmsAcOXVDHA.20 80@cpmsftngxa06 .phx.gbl>
          !> !Subject: Re: Identity System
          !> !Date: Tue, 29 Jul 2003 08:50:15 +0100
          !> !Lines: 88
          !> !X-Priority: 3
          !> !X-MSMail-Priority: Normal
          !> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
          !> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
          !> !Message-ID: <#s5Z8WaVDHA.21 64@TK2MSFTNGP09 .phx.gbl>
          !> !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
          !> !NNTP-Posting-Host: 212.219.119.220
          !> !Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP09.phx.g bl
          !> !Xref: cpmsftngxa06.ph x.gbl
          !microsoft.publ ic.dotnet.frame work.aspnet:162 908
          !> !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
          !> !
          !> !Thanks for the info.
          !> !
          !> !
          !> !
          !> !"Yan-Hong Huang[MSFT]" <yhhuang@online .microsoft.com> wrote in message
          !> !news:TmsAcOXVD HA.2080@cpmsftn gxa06.phx.gbl.. .
          !> !> Hi,
          !> !>
          !> !> I think what you meant is ASP.NET impersonation.
          !> !>
          !> !> You could add a line in web.config to run an application as a
          !configurable
          !> !identity. For example:
          !> !>
          !> !> <identity impersonate="tr ue" userName="conto so\Jane" password="pass"/>
          !> !>
          !> !> Please refer to
          !>
          !!http://msdn.microsoft.com/library/en...netimpersonati
          !o
          !> !n.asp?frame=tr ue for details.
          !> !>
          !> !> Thanks very much.
          !> !>
          !> !> Best regards,
          !> !> Yanhong Huang
          !> !> Microsoft Online Partner Support
          !> !>
          !> !> Get Secure! - www.microsoft.com/security
          !> !> This posting is provided "AS IS" with no warranties, and confers no
          !> !rights.
          !> !>
          !> !> --------------------
          !> !> !From: "Craig Deelsnyder" <cdeelsny@NOSPA Myahoo.com>
          !> !> !References: <uBuoEnIVDHA.16 80@tk2msftngp13 .phx.gbl>
          !> !> !Subject: Re: Identity System
          !> !> !Date: Sun, 27 Jul 2003 20:26:12 -0500
          !> !> !Lines: 30
          !> !> !X-Priority: 3
          !> !> !X-MSMail-Priority: Normal
          !> !> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
          !> !> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
          !> !> !Message-ID: <#7Cn4cKVDHA.25 08@TK2MSFTNGP12 .phx.gbl>
          !> !> !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
          !> !> !NNTP-Posting-Host: c-66-41-16-200.mn.client2. attbi.com 66.41.16.200
          !> !> !Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP12.phx.g bl
          !> !> !Xref: cpmsftngxa06.ph x.gbl
          !> !microsoft.publ ic.dotnet.frame work.aspnet:162 483
          !> !> !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
          !> !> !
          !> !> !The default user for all apps is set in your machine.config file in
          !your
          !> !> !local .NET installation folder (in a folder called config). If you
          !look
          !> !in
          !> !> !that file, in the <processModel > section user="machine" is pry what is
          !> !set
          !> !> !right now. You can change that to SYSTEM as you want, but it is
          !highly
          !> !> !recommended you don't do that (for security reasons). But it's your
          !> !call.
          !> !> !
          !> !> !In addition, I'm not sure, you may be able to define this in your
          !local
          !> !> !web.config also, and thus override the machine.config setting.
          !Haven't
          !> !> !investigated that myself, so dunno if you can do on an app by app
          !> !basis...
          !> !> !
          !> !> !Another alternative is to use impersonation, and set the user you want
          !> !all
          !> !> !visitors to run under....
          !> !> !
          !> !> !--
          !> !> !Craig Deelsnyder
          !> !> !Microsoft MVP - ASP/ASP.NET
          !> !> !
          !> !> !
          !> !> !"Arran Pearce" <arran.pearce@b acoll.ac.uk> wrote in message
          !> !> !news:uBuoEnIVD HA.1680@tk2msft ngp13.phx.gbl.. .
          !> !> !> Hi,
          !> !> !>
          !> !> !> How can i get my ASP Page or Web Service to run as the LocalSystem
          !> !rather
          !> !> !> than a user?
          !> !> !>
          !> !> !> cheers
          !> !> !>
          !> !> !>
          !> !> !
          !> !> !
          !> !> !
          !> !>
          !> !>
          !> !
          !> !
          !> !
          !>
          !>
          !
          !
          !


          Comment

          • Arran Pearce

            #6
            Re: Identity System

            So i have to change it for the whole server. I cant just change it for one
            application?

            sorry if i am being very stupid here.

            thanks

            Arran

            "Yan-Hong Huang[MSFT]" <yhhuang@online .microsoft.com> wrote in message
            news:2pJdIhmVDH A.2080@cpmsftng xa06.phx.gbl...[color=blue]
            > Hello Arran,
            >
            > Craig has provided the answer already. :)
            >
            > Please look in machine.confign file in[/color]
            C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ config folder, in the[color=blue]
            > <processModel > section user="machine" is what is set right now. You can[/color]
            change that to SYSTEM as you want, but it is not[color=blue]
            > recommended sicne asp.net app will running under a more powerful account.
            >
            > Thanks.
            >
            > Best regards,
            > Yanhong Huang
            > Microsoft Online Partner Support
            >
            > Get Secure! - www.microsoft.com/security
            > This posting is provided "AS IS" with no warranties, and confers no[/color]
            rights.[color=blue]
            >
            > --------------------
            > !From: "Arran Pearce" <arran.pearce@b acoll.ac.uk>
            > !References: <uBuoEnIVDHA.16 80@tk2msftngp13 .phx.gbl>[/color]
            <#7Cn4cKVDHA.25 08@TK2MSFTNGP12 .phx.gbl>[color=blue]
            > <TmsAcOXVDHA.20 80@cpmsftngxa06 .phx.gbl>[/color]
            <#s5Z8WaVDHA.21 64@TK2MSFTNGP09 .phx.gbl>[color=blue]
            > <PPPMFQbVDHA.21 28@cpmsftngxa06 .phx.gbl>
            > !Subject: Re: Identity System
            > !Date: Wed, 30 Jul 2003 00:35:35 +0100
            > !Lines: 145
            > !X-Priority: 3
            > !X-MSMail-Priority: Normal
            > !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
            > !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
            > !Message-ID: <erSzKniVDHA.16 92@TK2MSFTNGP11 .phx.gbl>
            > !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
            > !NNTP-Posting-Host: host213-122-6-143.in-addr.btopenworl d.com[/color]
            213.122.6.143[color=blue]
            > !Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP11.phx.g bl
            > !Xref: cpmsftngxa06.ph x.gbl[/color]
            microsoft.publi c.dotnet.framew ork.aspnet:1631 81[color=blue]
            > !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
            > !
            > !One other thing....
            > !
            > !how to i get my application to run with the rights of the local system
            > !account? What would i enter in the username & password (in the[/color]
            web.config[color=blue]
            > !file).
            > !
            > !again....many thanks
            > !
            > !Arran
            > !
            > !"Yan-Hong Huang[MSFT]" <yhhuang@online .microsoft.com> wrote in message
            > !news:PPPMFQbVD HA.2128@cpmsftn gxa06.phx.gbl.. .
            > !> Hello Arran,
            > !>
            > !> You are welcome. Thanks very much for participating the community.
            > !>
            > !> Best regards,
            > !> Yanhong Huang
            > !> Microsoft Online Partner Support
            > !>
            > !> Get Secure! - www.microsoft.com/security
            > !> This posting is provided "AS IS" with no warranties, and confers no
            > !rights.
            > !>
            > !> --------------------
            > !> !From: "Arran Pearce" <arran.pearce@b acoll.ac.uk>
            > !> !References: <uBuoEnIVDHA.16 80@tk2msftngp13 .phx.gbl>
            > !<#7Cn4cKVDHA.2 508@TK2MSFTNGP1 2.phx.gbl>
            > !> <TmsAcOXVDHA.20 80@cpmsftngxa06 .phx.gbl>
            > !> !Subject: Re: Identity System
            > !> !Date: Tue, 29 Jul 2003 08:50:15 +0100
            > !> !Lines: 88
            > !> !X-Priority: 3
            > !> !X-MSMail-Priority: Normal
            > !> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
            > !> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
            > !> !Message-ID: <#s5Z8WaVDHA.21 64@TK2MSFTNGP09 .phx.gbl>
            > !> !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
            > !> !NNTP-Posting-Host: 212.219.119.220
            > !> !Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP09.phx.g bl
            > !> !Xref: cpmsftngxa06.ph x.gbl
            > !microsoft.publ ic.dotnet.frame work.aspnet:162 908
            > !> !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
            > !> !
            > !> !Thanks for the info.
            > !> !
            > !> !
            > !> !
            > !> !"Yan-Hong Huang[MSFT]" <yhhuang@online .microsoft.com> wrote in message
            > !> !news:TmsAcOXVD HA.2080@cpmsftn gxa06.phx.gbl.. .
            > !> !> Hi,
            > !> !>
            > !> !> I think what you meant is ASP.NET impersonation.
            > !> !>
            > !> !> You could add a line in web.config to run an application as a
            > !configurable
            > !> !identity. For example:
            > !> !>
            > !> !> <identity impersonate="tr ue" userName="conto so\Jane"[/color]
            password="pass"/>[color=blue]
            > !> !>
            > !> !> Please refer to
            > !>
            >[/color]
            !!http://msdn.microsoft.com/library/en...pnetimpersonat
            i[color=blue]
            > !o
            > !> !n.asp?frame=tr ue for details.
            > !> !>
            > !> !> Thanks very much.
            > !> !>
            > !> !> Best regards,
            > !> !> Yanhong Huang
            > !> !> Microsoft Online Partner Support
            > !> !>
            > !> !> Get Secure! - www.microsoft.com/security
            > !> !> This posting is provided "AS IS" with no warranties, and confers no
            > !> !rights.
            > !> !>
            > !> !> --------------------
            > !> !> !From: "Craig Deelsnyder" <cdeelsny@NOSPA Myahoo.com>
            > !> !> !References: <uBuoEnIVDHA.16 80@tk2msftngp13 .phx.gbl>
            > !> !> !Subject: Re: Identity System
            > !> !> !Date: Sun, 27 Jul 2003 20:26:12 -0500
            > !> !> !Lines: 30
            > !> !> !X-Priority: 3
            > !> !> !X-MSMail-Priority: Normal
            > !> !> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
            > !> !> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
            > !> !> !Message-ID: <#7Cn4cKVDHA.25 08@TK2MSFTNGP12 .phx.gbl>
            > !> !> !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
            > !> !> !NNTP-Posting-Host: c-66-41-16-200.mn.client2. attbi.com 66.41.16.200
            > !> !> !Path:[/color]
            cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP12.phx.g bl[color=blue]
            > !> !> !Xref: cpmsftngxa06.ph x.gbl
            > !> !microsoft.publ ic.dotnet.frame work.aspnet:162 483
            > !> !> !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
            > !> !> !
            > !> !> !The default user for all apps is set in your machine.config file in
            > !your
            > !> !> !local .NET installation folder (in a folder called config). If you
            > !look
            > !> !in
            > !> !> !that file, in the <processModel > section user="machine" is pry what[/color]
            is[color=blue]
            > !> !set
            > !> !> !right now. You can change that to SYSTEM as you want, but it is
            > !highly
            > !> !> !recommended you don't do that (for security reasons). But it's[/color]
            your[color=blue]
            > !> !call.
            > !> !> !
            > !> !> !In addition, I'm not sure, you may be able to define this in your
            > !local
            > !> !> !web.config also, and thus override the machine.config setting.
            > !Haven't
            > !> !> !investigated that myself, so dunno if you can do on an app by app
            > !> !basis...
            > !> !> !
            > !> !> !Another alternative is to use impersonation, and set the user you[/color]
            want[color=blue]
            > !> !all
            > !> !> !visitors to run under....
            > !> !> !
            > !> !> !--
            > !> !> !Craig Deelsnyder
            > !> !> !Microsoft MVP - ASP/ASP.NET
            > !> !> !
            > !> !> !
            > !> !> !"Arran Pearce" <arran.pearce@b acoll.ac.uk> wrote in message
            > !> !> !news:uBuoEnIVD HA.1680@tk2msft ngp13.phx.gbl.. .
            > !> !> !> Hi,
            > !> !> !>
            > !> !> !> How can i get my ASP Page or Web Service to run as the[/color]
            LocalSystem[color=blue]
            > !> !rather
            > !> !> !> than a user?
            > !> !> !>
            > !> !> !> cheers
            > !> !> !>
            > !> !> !>
            > !> !> !
            > !> !> !
            > !> !> !
            > !> !>
            > !> !>
            > !> !
            > !> !
            > !> !
            > !>
            > !>
            > !
            > !
            > !
            >
            >[/color]


            Comment

            • Kevin Spencer

              #7
              Re: Identity System

              If you were running a hosting service, hosting clients that ran ASP.Net
              sites, would you want them to simply allow their apps to run under your
              SYSTEM account?

              --
              HTH,

              Kevin Spencer
              Microsoft MVP
              ..Net Developer
              All hotels in Benidorm. The best selection of Benidorm hotels with reviews and maps. Book in advance and save.

              Complex things are made up of
              lots of simple things.

              "Arran Pearce" <arran.pearce@b acoll.ac.uk> wrote in message
              news:Ox%235EEnV DHA.652@tk2msft ngp13.phx.gbl.. .[color=blue]
              > So i have to change it for the whole server. I cant just change it for[/color]
              one[color=blue]
              > application?
              >
              > sorry if i am being very stupid here.
              >
              > thanks
              >
              > Arran
              >
              > "Yan-Hong Huang[MSFT]" <yhhuang@online .microsoft.com> wrote in message
              > news:2pJdIhmVDH A.2080@cpmsftng xa06.phx.gbl...[color=green]
              > > Hello Arran,
              > >
              > > Craig has provided the answer already. :)
              > >
              > > Please look in machine.confign file in[/color]
              > C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ config folder, in the[color=green]
              > > <processModel > section user="machine" is what is set right now. You can[/color]
              > change that to SYSTEM as you want, but it is not[color=green]
              > > recommended sicne asp.net app will running under a more powerful[/color][/color]
              account.[color=blue][color=green]
              > >
              > > Thanks.
              > >
              > > Best regards,
              > > Yanhong Huang
              > > Microsoft Online Partner Support
              > >
              > > Get Secure! - www.microsoft.com/security
              > > This posting is provided "AS IS" with no warranties, and confers no[/color]
              > rights.[color=green]
              > >
              > > --------------------
              > > !From: "Arran Pearce" <arran.pearce@b acoll.ac.uk>
              > > !References: <uBuoEnIVDHA.16 80@tk2msftngp13 .phx.gbl>[/color]
              > <#7Cn4cKVDHA.25 08@TK2MSFTNGP12 .phx.gbl>[color=green]
              > > <TmsAcOXVDHA.20 80@cpmsftngxa06 .phx.gbl>[/color]
              > <#s5Z8WaVDHA.21 64@TK2MSFTNGP09 .phx.gbl>[color=green]
              > > <PPPMFQbVDHA.21 28@cpmsftngxa06 .phx.gbl>
              > > !Subject: Re: Identity System
              > > !Date: Wed, 30 Jul 2003 00:35:35 +0100
              > > !Lines: 145
              > > !X-Priority: 3
              > > !X-MSMail-Priority: Normal
              > > !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
              > > !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
              > > !Message-ID: <erSzKniVDHA.16 92@TK2MSFTNGP11 .phx.gbl>
              > > !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
              > > !NNTP-Posting-Host: host213-122-6-143.in-addr.btopenworl d.com[/color]
              > 213.122.6.143[color=green]
              > > !Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP11.phx.g bl
              > > !Xref: cpmsftngxa06.ph x.gbl[/color]
              > microsoft.publi c.dotnet.framew ork.aspnet:1631 81[color=green]
              > > !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
              > > !
              > > !One other thing....
              > > !
              > > !how to i get my application to run with the rights of the local system
              > > !account? What would i enter in the username & password (in the[/color]
              > web.config[color=green]
              > > !file).
              > > !
              > > !again....many thanks
              > > !
              > > !Arran
              > > !
              > > !"Yan-Hong Huang[MSFT]" <yhhuang@online .microsoft.com> wrote in message
              > > !news:PPPMFQbVD HA.2128@cpmsftn gxa06.phx.gbl.. .
              > > !> Hello Arran,
              > > !>
              > > !> You are welcome. Thanks very much for participating the community.
              > > !>
              > > !> Best regards,
              > > !> Yanhong Huang
              > > !> Microsoft Online Partner Support
              > > !>
              > > !> Get Secure! - www.microsoft.com/security
              > > !> This posting is provided "AS IS" with no warranties, and confers no
              > > !rights.
              > > !>
              > > !> --------------------
              > > !> !From: "Arran Pearce" <arran.pearce@b acoll.ac.uk>
              > > !> !References: <uBuoEnIVDHA.16 80@tk2msftngp13 .phx.gbl>
              > > !<#7Cn4cKVDHA.2 508@TK2MSFTNGP1 2.phx.gbl>
              > > !> <TmsAcOXVDHA.20 80@cpmsftngxa06 .phx.gbl>
              > > !> !Subject: Re: Identity System
              > > !> !Date: Tue, 29 Jul 2003 08:50:15 +0100
              > > !> !Lines: 88
              > > !> !X-Priority: 3
              > > !> !X-MSMail-Priority: Normal
              > > !> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
              > > !> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
              > > !> !Message-ID: <#s5Z8WaVDHA.21 64@TK2MSFTNGP09 .phx.gbl>
              > > !> !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
              > > !> !NNTP-Posting-Host: 212.219.119.220
              > > !> !Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP09.phx.g bl
              > > !> !Xref: cpmsftngxa06.ph x.gbl
              > > !microsoft.publ ic.dotnet.frame work.aspnet:162 908
              > > !> !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
              > > !> !
              > > !> !Thanks for the info.
              > > !> !
              > > !> !
              > > !> !
              > > !> !"Yan-Hong Huang[MSFT]" <yhhuang@online .microsoft.com> wrote in[/color][/color]
              message[color=blue][color=green]
              > > !> !news:TmsAcOXVD HA.2080@cpmsftn gxa06.phx.gbl.. .
              > > !> !> Hi,
              > > !> !>
              > > !> !> I think what you meant is ASP.NET impersonation.
              > > !> !>
              > > !> !> You could add a line in web.config to run an application as a
              > > !configurable
              > > !> !identity. For example:
              > > !> !>
              > > !> !> <identity impersonate="tr ue" userName="conto so\Jane"[/color]
              > password="pass"/>[color=green]
              > > !> !>
              > > !> !> Please refer to
              > > !>
              > >[/color]
              >[/color]
              !!http://msdn.microsoft.com/library/en...pnetimpersonat[color=blue]
              > i[color=green]
              > > !o
              > > !> !n.asp?frame=tr ue for details.
              > > !> !>
              > > !> !> Thanks very much.
              > > !> !>
              > > !> !> Best regards,
              > > !> !> Yanhong Huang
              > > !> !> Microsoft Online Partner Support
              > > !> !>
              > > !> !> Get Secure! - www.microsoft.com/security
              > > !> !> This posting is provided "AS IS" with no warranties, and confers[/color][/color]
              no[color=blue][color=green]
              > > !> !rights.
              > > !> !>
              > > !> !> --------------------
              > > !> !> !From: "Craig Deelsnyder" <cdeelsny@NOSPA Myahoo.com>
              > > !> !> !References: <uBuoEnIVDHA.16 80@tk2msftngp13 .phx.gbl>
              > > !> !> !Subject: Re: Identity System
              > > !> !> !Date: Sun, 27 Jul 2003 20:26:12 -0500
              > > !> !> !Lines: 30
              > > !> !> !X-Priority: 3
              > > !> !> !X-MSMail-Priority: Normal
              > > !> !> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
              > > !> !> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
              > > !> !> !Message-ID: <#7Cn4cKVDHA.25 08@TK2MSFTNGP12 .phx.gbl>
              > > !> !> !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
              > > !> !> !NNTP-Posting-Host: c-66-41-16-200.mn.client2. attbi.com[/color][/color]
              66.41.16.200[color=blue][color=green]
              > > !> !> !Path:[/color]
              > cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP12.phx.g bl[color=green]
              > > !> !> !Xref: cpmsftngxa06.ph x.gbl
              > > !> !microsoft.publ ic.dotnet.frame work.aspnet:162 483
              > > !> !> !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
              > > !> !> !
              > > !> !> !The default user for all apps is set in your machine.config file[/color][/color]
              in[color=blue][color=green]
              > > !your
              > > !> !> !local .NET installation folder (in a folder called config). If[/color][/color]
              you[color=blue][color=green]
              > > !look
              > > !> !in
              > > !> !> !that file, in the <processModel > section user="machine" is pry[/color][/color]
              what[color=blue]
              > is[color=green]
              > > !> !set
              > > !> !> !right now. You can change that to SYSTEM as you want, but it is
              > > !highly
              > > !> !> !recommended you don't do that (for security reasons). But it's[/color]
              > your[color=green]
              > > !> !call.
              > > !> !> !
              > > !> !> !In addition, I'm not sure, you may be able to define this in your
              > > !local
              > > !> !> !web.config also, and thus override the machine.config setting.
              > > !Haven't
              > > !> !> !investigated that myself, so dunno if you can do on an app by app
              > > !> !basis...
              > > !> !> !
              > > !> !> !Another alternative is to use impersonation, and set the user you[/color]
              > want[color=green]
              > > !> !all
              > > !> !> !visitors to run under....
              > > !> !> !
              > > !> !> !--
              > > !> !> !Craig Deelsnyder
              > > !> !> !Microsoft MVP - ASP/ASP.NET
              > > !> !> !
              > > !> !> !
              > > !> !> !"Arran Pearce" <arran.pearce@b acoll.ac.uk> wrote in message
              > > !> !> !news:uBuoEnIVD HA.1680@tk2msft ngp13.phx.gbl.. .
              > > !> !> !> Hi,
              > > !> !> !>
              > > !> !> !> How can i get my ASP Page or Web Service to run as the[/color]
              > LocalSystem[color=green]
              > > !> !rather
              > > !> !> !> than a user?
              > > !> !> !>
              > > !> !> !> cheers
              > > !> !> !>
              > > !> !> !>
              > > !> !> !
              > > !> !> !
              > > !> !> !
              > > !> !>
              > > !> !>
              > > !> !
              > > !> !
              > > !> !
              > > !>
              > > !>
              > > !
              > > !
              > > !
              > >
              > >[/color]
              >
              >[/color]


              Comment

              • Arran Pearce

                #8
                Re: Identity System

                Yeah fair point.

                only reason i was wanting to run as system was because i am doing some
                testing with CDO on a exchange server.

                thanks for all the info everyone anyway.

                arran

                "Kevin Spencer" <kevin@takempis .com> wrote in message
                news:O0SBhTpVDH A.3924@tk2msftn gp13.phx.gbl...[color=blue]
                > If you were running a hosting service, hosting clients that ran ASP.Net
                > sites, would you want them to simply allow their apps to run under your
                > SYSTEM account?
                >
                > --
                > HTH,
                >
                > Kevin Spencer
                > Microsoft MVP
                > .Net Developer
                > http://www.takempis.com
                > Complex things are made up of
                > lots of simple things.
                >
                > "Arran Pearce" <arran.pearce@b acoll.ac.uk> wrote in message
                > news:Ox%235EEnV DHA.652@tk2msft ngp13.phx.gbl.. .[color=green]
                > > So i have to change it for the whole server. I cant just change it for[/color]
                > one[color=green]
                > > application?
                > >
                > > sorry if i am being very stupid here.
                > >
                > > thanks
                > >
                > > Arran
                > >
                > > "Yan-Hong Huang[MSFT]" <yhhuang@online .microsoft.com> wrote in message
                > > news:2pJdIhmVDH A.2080@cpmsftng xa06.phx.gbl...[color=darkred]
                > > > Hello Arran,
                > > >
                > > > Craig has provided the answer already. :)
                > > >
                > > > Please look in machine.confign file in[/color]
                > > C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ config folder, in the[color=darkred]
                > > > <processModel > section user="machine" is what is set right now. You[/color][/color][/color]
                can[color=blue][color=green]
                > > change that to SYSTEM as you want, but it is not[color=darkred]
                > > > recommended sicne asp.net app will running under a more powerful[/color][/color]
                > account.[color=green][color=darkred]
                > > >
                > > > Thanks.
                > > >
                > > > Best regards,
                > > > Yanhong Huang
                > > > Microsoft Online Partner Support
                > > >
                > > > Get Secure! - www.microsoft.com/security
                > > > This posting is provided "AS IS" with no warranties, and confers no[/color]
                > > rights.[color=darkred]
                > > >
                > > > --------------------
                > > > !From: "Arran Pearce" <arran.pearce@b acoll.ac.uk>
                > > > !References: <uBuoEnIVDHA.16 80@tk2msftngp13 .phx.gbl>[/color]
                > > <#7Cn4cKVDHA.25 08@TK2MSFTNGP12 .phx.gbl>[color=darkred]
                > > > <TmsAcOXVDHA.20 80@cpmsftngxa06 .phx.gbl>[/color]
                > > <#s5Z8WaVDHA.21 64@TK2MSFTNGP09 .phx.gbl>[color=darkred]
                > > > <PPPMFQbVDHA.21 28@cpmsftngxa06 .phx.gbl>
                > > > !Subject: Re: Identity System
                > > > !Date: Wed, 30 Jul 2003 00:35:35 +0100
                > > > !Lines: 145
                > > > !X-Priority: 3
                > > > !X-MSMail-Priority: Normal
                > > > !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
                > > > !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
                > > > !Message-ID: <erSzKniVDHA.16 92@TK2MSFTNGP11 .phx.gbl>
                > > > !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
                > > > !NNTP-Posting-Host: host213-122-6-143.in-addr.btopenworl d.com[/color]
                > > 213.122.6.143[color=darkred]
                > > > !Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP11.phx.g bl
                > > > !Xref: cpmsftngxa06.ph x.gbl[/color]
                > > microsoft.publi c.dotnet.framew ork.aspnet:1631 81[color=darkred]
                > > > !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
                > > > !
                > > > !One other thing....
                > > > !
                > > > !how to i get my application to run with the rights of the local[/color][/color][/color]
                system[color=blue][color=green][color=darkred]
                > > > !account? What would i enter in the username & password (in the[/color]
                > > web.config[color=darkred]
                > > > !file).
                > > > !
                > > > !again....many thanks
                > > > !
                > > > !Arran
                > > > !
                > > > !"Yan-Hong Huang[MSFT]" <yhhuang@online .microsoft.com> wrote in[/color][/color][/color]
                message[color=blue][color=green][color=darkred]
                > > > !news:PPPMFQbVD HA.2128@cpmsftn gxa06.phx.gbl.. .
                > > > !> Hello Arran,
                > > > !>
                > > > !> You are welcome. Thanks very much for participating the community.
                > > > !>
                > > > !> Best regards,
                > > > !> Yanhong Huang
                > > > !> Microsoft Online Partner Support
                > > > !>
                > > > !> Get Secure! - www.microsoft.com/security
                > > > !> This posting is provided "AS IS" with no warranties, and confers no
                > > > !rights.
                > > > !>
                > > > !> --------------------
                > > > !> !From: "Arran Pearce" <arran.pearce@b acoll.ac.uk>
                > > > !> !References: <uBuoEnIVDHA.16 80@tk2msftngp13 .phx.gbl>
                > > > !<#7Cn4cKVDHA.2 508@TK2MSFTNGP1 2.phx.gbl>
                > > > !> <TmsAcOXVDHA.20 80@cpmsftngxa06 .phx.gbl>
                > > > !> !Subject: Re: Identity System
                > > > !> !Date: Tue, 29 Jul 2003 08:50:15 +0100
                > > > !> !Lines: 88
                > > > !> !X-Priority: 3
                > > > !> !X-MSMail-Priority: Normal
                > > > !> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
                > > > !> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
                > > > !> !Message-ID: <#s5Z8WaVDHA.21 64@TK2MSFTNGP09 .phx.gbl>
                > > > !> !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
                > > > !> !NNTP-Posting-Host: 212.219.119.220
                > > > !> !Path:[/color][/color][/color]
                cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP09.phx.g bl[color=blue][color=green][color=darkred]
                > > > !> !Xref: cpmsftngxa06.ph x.gbl
                > > > !microsoft.publ ic.dotnet.frame work.aspnet:162 908
                > > > !> !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
                > > > !> !
                > > > !> !Thanks for the info.
                > > > !> !
                > > > !> !
                > > > !> !
                > > > !> !"Yan-Hong Huang[MSFT]" <yhhuang@online .microsoft.com> wrote in[/color][/color]
                > message[color=green][color=darkred]
                > > > !> !news:TmsAcOXVD HA.2080@cpmsftn gxa06.phx.gbl.. .
                > > > !> !> Hi,
                > > > !> !>
                > > > !> !> I think what you meant is ASP.NET impersonation.
                > > > !> !>
                > > > !> !> You could add a line in web.config to run an application as a
                > > > !configurable
                > > > !> !identity. For example:
                > > > !> !>
                > > > !> !> <identity impersonate="tr ue" userName="conto so\Jane"[/color]
                > > password="pass"/>[color=darkred]
                > > > !> !>
                > > > !> !> Please refer to
                > > > !>
                > > >[/color]
                > >[/color]
                >[/color]
                !!http://msdn.microsoft.com/library/en...pnetimpersonat[color=blue][color=green]
                > > i[color=darkred]
                > > > !o
                > > > !> !n.asp?frame=tr ue for details.
                > > > !> !>
                > > > !> !> Thanks very much.
                > > > !> !>
                > > > !> !> Best regards,
                > > > !> !> Yanhong Huang
                > > > !> !> Microsoft Online Partner Support
                > > > !> !>
                > > > !> !> Get Secure! - www.microsoft.com/security
                > > > !> !> This posting is provided "AS IS" with no warranties, and confers[/color][/color]
                > no[color=green][color=darkred]
                > > > !> !rights.
                > > > !> !>
                > > > !> !> --------------------
                > > > !> !> !From: "Craig Deelsnyder" <cdeelsny@NOSPA Myahoo.com>
                > > > !> !> !References: <uBuoEnIVDHA.16 80@tk2msftngp13 .phx.gbl>
                > > > !> !> !Subject: Re: Identity System
                > > > !> !> !Date: Sun, 27 Jul 2003 20:26:12 -0500
                > > > !> !> !Lines: 30
                > > > !> !> !X-Priority: 3
                > > > !> !> !X-MSMail-Priority: Normal
                > > > !> !> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
                > > > !> !> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
                > > > !> !> !Message-ID: <#7Cn4cKVDHA.25 08@TK2MSFTNGP12 .phx.gbl>
                > > > !> !> !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
                > > > !> !> !NNTP-Posting-Host: c-66-41-16-200.mn.client2. attbi.com[/color][/color]
                > 66.41.16.200[color=green][color=darkred]
                > > > !> !> !Path:[/color]
                > > cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP12.phx.g bl[color=darkred]
                > > > !> !> !Xref: cpmsftngxa06.ph x.gbl
                > > > !> !microsoft.publ ic.dotnet.frame work.aspnet:162 483
                > > > !> !> !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
                > > > !> !> !
                > > > !> !> !The default user for all apps is set in your machine.config[/color][/color][/color]
                file[color=blue]
                > in[color=green][color=darkred]
                > > > !your
                > > > !> !> !local .NET installation folder (in a folder called config). If[/color][/color]
                > you[color=green][color=darkred]
                > > > !look
                > > > !> !in
                > > > !> !> !that file, in the <processModel > section user="machine" is pry[/color][/color]
                > what[color=green]
                > > is[color=darkred]
                > > > !> !set
                > > > !> !> !right now. You can change that to SYSTEM as you want, but it[/color][/color][/color]
                is[color=blue][color=green][color=darkred]
                > > > !highly
                > > > !> !> !recommended you don't do that (for security reasons). But it's[/color]
                > > your[color=darkred]
                > > > !> !call.
                > > > !> !> !
                > > > !> !> !In addition, I'm not sure, you may be able to define this in[/color][/color][/color]
                your[color=blue][color=green][color=darkred]
                > > > !local
                > > > !> !> !web.config also, and thus override the machine.config setting.
                > > > !Haven't
                > > > !> !> !investigated that myself, so dunno if you can do on an app by[/color][/color][/color]
                app[color=blue][color=green][color=darkred]
                > > > !> !basis...
                > > > !> !> !
                > > > !> !> !Another alternative is to use impersonation, and set the user[/color][/color][/color]
                you[color=blue][color=green]
                > > want[color=darkred]
                > > > !> !all
                > > > !> !> !visitors to run under....
                > > > !> !> !
                > > > !> !> !--
                > > > !> !> !Craig Deelsnyder
                > > > !> !> !Microsoft MVP - ASP/ASP.NET
                > > > !> !> !
                > > > !> !> !
                > > > !> !> !"Arran Pearce" <arran.pearce@b acoll.ac.uk> wrote in message
                > > > !> !> !news:uBuoEnIVD HA.1680@tk2msft ngp13.phx.gbl.. .
                > > > !> !> !> Hi,
                > > > !> !> !>
                > > > !> !> !> How can i get my ASP Page or Web Service to run as the[/color]
                > > LocalSystem[color=darkred]
                > > > !> !rather
                > > > !> !> !> than a user?
                > > > !> !> !>
                > > > !> !> !> cheers
                > > > !> !> !>
                > > > !> !> !>
                > > > !> !> !
                > > > !> !> !
                > > > !> !> !
                > > > !> !>
                > > > !> !>
                > > > !> !
                > > > !> !
                > > > !> !
                > > > !>
                > > > !>
                > > > !
                > > > !
                > > > !
                > > >
                > > >[/color]
                > >
                > >[/color]
                >
                >[/color]


                Comment

                Working...