Re: Web service to ruin under a certain NT account
From: Simon Pallister (simon@dotcom.com)
Date: 06/27/02
- Next message: Ben Miller [MS]: "Re: ASPNET User Problem in Shared Hosting Environment"
- Previous message: Kevin T. Price: "Re: Re-write of <form action=https"
- In reply to: Ken Beard: "Web service to ruin under a certain NT account"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Simon Pallister" <simon@dotcom.com> Date: Thu, 27 Jun 2002 11:05:26 +1000
After much searching, I found how this is done (I need to do something
similar, but for different reasons - see post just above!). In the
machine.config there is a section starting <section name="processModel".....
If you remove the 'allowDefinition="MachineOnly"' attribute from the end,
you can then override this in your web.config (Of course you can just set
this in the machine.config further down, but I suspect you may want to do it
the override way). Then, in your web.config, include the line (copied from
machine.config)...
<processModel enable="true" timeout="Infinite" idleTimeout="Infinite"
shutdownTimeout="0:00:05" requestLimit="Infinite" requestQueueLimit="5000"
restartQueueLimit="10" memoryLimit="60" webGarden="false"
cpuMask="0xffffffff" userName="machine" password="AutoGenerate"
logLevel="Errors" clientConnectedCheck="0:00:05"
comAuthenticationLevel="Connect" comImpersonationLevel="Impersonate"
responseRestartDeadlockInterval="00:09:00"
responseDeadlockInterval="00:03:00" maxWorkerThreads="25"
maxIoThreads="25"/>
...replacing 'userName="machine" password="AutoGenerate"' with the
appropraie username/password (inc domain if reqd).
Hope this helps
Simon
"Ken Beard" <kenneth.beard@puc.state.oh.us> wrote in message
news:u36fuyjFCHA.2640@tkmsftngp04...
> I have created a Web Service and when it runs on the server I want it to
> run under a certain NT Account. This way I can give the special account
> access privileges to a file directory and remove all other access rights.
> This will cause users to use the web service to access the files.
>
> Can this be done with a web service?
>
> Thanks in advance!
>
> Ken
>
>
- Next message: Ben Miller [MS]: "Re: ASPNET User Problem in Shared Hosting Environment"
- Previous message: Kevin T. Price: "Re: Re-write of <form action=https"
- In reply to: Ken Beard: "Web service to ruin under a certain NT account"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|