Hi,
Working on an application which has some areas locked down using standard .net authorization through web.config i.e.
<location path="MySite/MyPrivateFolder">
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>
However I need pages from this location to be accessible by the ASP.NET worker process, ideally not only from a different machine but potentially from any different machine. The code in question is grabbing screenshots from the site, including the secure pages, and serving them up.
So, some questions: 1) What account do I use for the worker process? I tried using underneath the deny tag in the above code but it didn't work, even from the same machine. Am I going to be best off trying to use identity impersonate? 2) In order to allow access from a different machine, I presume I need to prefix the proper account name for the asp.net worker process with the machine name? 3) Is there any way to make this blanket access for an asp.net worker process from any machine?
Cheers, Matt