Is there any way to run the iisexpress app pool under any other identity than currently logged in user?
I am getting around this problem using the "runas" command, but I would like to know whether there is something embedded in iisexpress that I can use.
It seems that it should be possible. In the applicationhost.config file of your IIS Express site, to: This specifies that the ASP.NET worker will run the process with a Windows identity, which is different from the Windows identity for identifying the default identity . By default, this feature is set to the machine, and the process runs under a user account called ASPNET, which automatically installs when ASP.NET is installed. The password for ASPNET account is generated cryptographicly at the time of installation. If valid credentials are presented in this attribute and password attribute, then the process is run from the given account. This should allow you to run the site under various credentials logged by the user. & lt; ProcessModel / & gt; element
& lt; ApplicationPoolDefaults & gt; Under the
& lt; ApplicationPools & gt;
& lt; Process model & gt; The element has the attributes for
usernames and
passwords . From
Comments
Post a Comment