<p>I work on an application that uses DCOM to communicate between what are essentially several peers; in the course of normal use, instances on separate machines serve a variety of objects to one another.  Historically, for this to work we have used some magic incantations, chief among which is that on every machine the user must log into an account of the same name (note that these are local accounts; there is no domain available).  Obviously, this is an aspect of our user experience that could be improved.</p>

<p>I would like to better understand how DCOM authentication works, but I am having difficulty assembling the whole story from the MSDN documentation for <a href="http://msdn.microsoft.com/en-us/library/ms693736.aspx" rel="nofollow noreferrer">CoInitializeSecurity()</a>, <a href="http://msdn.microsoft.com/en-us/library/ms692692.aspx" rel="nofollow noreferrer">CoSetProxyBlanket()</a>, and the like.  Are there any thorough explanations available of how, exactly, DCOM operations are accepted or denied?  Books, journals, web, any format is fine.</p>

[{'answer_id': 49679, 'author': 'Johannes Passing', 'author_id': 4372, 'author_profile': 'https://Stackoverflow.com/users/4372', 'pm_score': 2, 'selected': True, 'text': '<p><em>Programming Windows Security</em> by Keith Brown includes a thorough discussion of DCOM security. I can highly recommend this book.</p>\n'}, {'answer_id': 444765, 'author': 'Eli', 'author_id': 9169, 'author_profile': 'https://Stackoverflow.com/users/9169', 'pm_score': 0, 'selected': False, 'text': '<p>You could also try to round up a copy of <em>Inside Distributed COM</em> by Guy and Henry Eddon (Microsoft Press) - It is out of print but amazon shows a number of used copies for sale:</p>\n\n<p><a href="https://rads.stackoverflow.com/amzn/click/com/157231849X" rel="nofollow noreferrer" rel="nofollow noreferrer">http://www.amazon.com/Inside-Distributed-Com-Mps-Eddon/dp/157231849X/ref=sr_1_5?ie=UTF8&amp;s=books&amp;qid=1231968553&amp;sr=8-5</a></p>\n'}]
['https://Stackoverflow.com/questions/49663', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4841/']