DCOM + IIS + user credential

  • Thread starter Thread starter Lambuz
  • Start date Start date
L

Lambuz

Hi all,
we have this intranet scenario:

- Active Directory
- A web application secured with Integrated Windows Authentication on
IIS 5

- machine A WIN 2000 adv srv
IIS 5

- machine B WIN 2000 adv srv
Custom COM object

- machine C Win2000 Professionale o WinXP Professionale
IE 5.5 sp2 o IE6 sp1

How can we arrange the system in order to create from ASP on machine A
a remote COM object on machine B?
How can we ensure that user's credentials (from the browser on machine
C) will be transmitted to the COM object on machine B?

Best regards

thx
 
Lambuz said:
Hi all,
we have this intranet scenario:

- Active Directory
- A web application secured with Integrated Windows Authentication on
IIS 5

- machine A WIN 2000 adv srv
IIS 5

- machine B WIN 2000 adv srv
Custom COM object

- machine C Win2000 Professionale o WinXP Professionale
IE 5.5 sp2 o IE6 sp1

How can we arrange the system in order to create from ASP on machine A
a remote COM object on machine B?

It's as simple as: CreateObject("ComObjectB's.ProgID", "MACHINEB");
How can we ensure that user's credentials (from the browser on machine
C) will be transmitted to the COM object on machine B?

For two machine hops, you will need to enable delegation.

Start your reading here:
http://msdn.microsoft.com/library/d...html/245bff1a-31d3-49ce-847e-c37d0c96f9d1.asp

http://msdn.microsoft.com/library/d...html/fd75eb54-eefe-411f-a7aa-0bc8628f8778.asp

HTH

Brian
 
Back
Top