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" <ar**********@b acoll.ac.uk>
!References: <uB************ **@tk2msftngp13 .phx.gbl> <#7************ **@TK2MSFTNGP12 .phx.gbl>
<Tm************ **@cpmsftngxa06 .phx.gbl> <#s************ **@TK2MSFTNGP09 .phx.gbl>
<PP************ **@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: <er************ **@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]" <yh*****@online .microsoft.com> wrote in message
!news:PP******* *******@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" <ar**********@b acoll.ac.uk>
!> !References: <uB************ **@tk2msftngp13 .phx.gbl>
!<#7*********** ***@TK2MSFTNGP1 2.phx.gbl>
!> <Tm************ **@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: <#s************ **@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]" <yh*****@online .microsoft.com> wrote in message
!> !news:Tm******* *******@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" <cd******@NOSPA Myahoo.com>
!> !> !References: <uB************ **@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: <#7************ **@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" <ar**********@b acoll.ac.uk> wrote in message
!> !> !news:uB******* *******@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
!> !> !>
!> !> !>
!> !> !
!> !> !
!> !> !
!> !>
!> !>
!> !
!> !
!> !
!>
!>
!
!
!