Feodor,
I do not mean to seem harsh. However, this seems to be a fairly significant oversight, not just a "would be nice" feature.
I doubt anyone would argue that best practices for ASPNET website security would call for separate identities for the worker process and the anonymous user.
Just because this flaw in DNP is difficult for your coder to fix does not make it non-critical.
Thought: Does DNP maintain information about the identities it creates for websites, or does it simply use that information at creation and not need it after that? If it does not need to maintain the identity information, it should be a very simply patch to insert creation of a second identity to assign to the app pool. If it must maintain the details of the identities, then I can see how it would require significantly more coding to accomodate storing and retrieving that information.
Now, my original question remains:
*IF* this (separate identities) is not critical, then someone please explain HOW to allow ASPNET to write to a directory without allowing anonymous web users to write to the directory. If that cannot be done, then it IS indeed a significant problem.
I'm not making a theoretical argument here. I have clients who want major, widely known ASPNET applications installed on their websites, and those websites require the ability for ASPNET to write to the directory structure under web root.
For me to have to manually create new identities, reassign the app pool, copy over permissions, etc. seems like a lot to ask when this is, after all, the reason we pay lots of money for a control panel. Sure, we can do all of these tasks ourselves, but we want it automated and simplified.
Soooooooo ......... where does that leave us? There's a big potential security hole in ASPNET websites created using DNP. The steps that DNP's code needs to take to eliminate this problem (second identity) are clear and not difficult. So what can we do here?
Thank you