Dan, Colin,
I've asked our config guys to look into producing official guidance for opening up DCOM for the configuration COM objects.
IMHO, I wouldnt open RPC in general in a production system just to allow MWA remoting - I believe many enterprises already have policy against doing this. Opening RPC for dllhost.exe is no better (as Colin mentions), since most COM objects are hosted by dllhost.exe COM servers.
Given the current DCOM support, I would use the approach given by KB 312960 to publish the RPC endpoint used by the "Ahadmin" COM package to a specific port. Then, open that port in the firewall. This way, you would only open DCOM access to the IIS COM objects, which require authentication and demand administrative credentials.
Also, while this is not a substitute for programatic IIS administration, you can consider using IIS Manager's remote management capability which uses HTTP-based connectivity to the management service, and therefore doesnt require DCOM. Unfortunately, this currently requires you to perform your management within the context of the IIS Manager.
I've asked our config guys to come up with the official guidance for opening DCOM endpoints for Ahadmin that can be published on IIS.NET.
Thanks for raising this issue -
Mike Volodarsky
Program Manager
IIS Core Server
Visit mvolo.com for more on IIS 7.0 and ASP.NET
This posting is provided "AS IS" with no warranties, and confers no rights.