Re: Web service to ruin under a certain NT account

From: Simon Pallister (simon@dotcom.com)
Date: 06/27/02


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
>
>



Relevant Pages

  • RE: Help! Web service cant be accessed!
    ... Try not to design classes like this. ... Or have one override the definition of ... Try to put a specific XmlElementAttribute on each name property - don't ... Web service can't be accessed! ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • How Can I overide a function in an existing class
    ... I am using ZSI SOAP library for a web service. ... I cannot make a new class derived from BaseHTTPServer and override the ... log_message function because I can't change the web server object used ... I also can't redirect stderr because the service messes with stdout ...
    (comp.lang.python)
  • Web service to ruin under a certain NT account
    ... I have created a Web Service and when it runs on the server I want it to ... 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. ...
    (microsoft.public.dotnet.framework.aspnet.security)

Loading