For Programmers: Free Programming Magazines  


Home > Archive > ASP > January 2006 > ServerXMLHTTP and impersonation









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ServerXMLHTTP and impersonation
Lambuz

2006-01-09, 7:10 pm

Hi all,
I'm trying to use a ServerXMLHTTP connection in async mode to request
Page2.asp from Page1.asp.

Both pages are inside 2 different virtual directories with Windows
Integrated Authentication but the user who requests Page2.asp is
different from user has requested Page1.asp.
The user of Page2.asp is IWAM_machine_name.

If I use ServerXMLHttp in standard mode there is no problem.

Please help me.

Best ragards

Lambuz

2006-01-09, 7:10 pm

any idea ?

please help me

Egbert Nierop \(MVP for IIS\)

2006-01-09, 7:10 pm


"Lambuz" <lambu76@gmail.com> wrote in message
news:1135240244.581203.124300@g49g2000cwa.googlegroups.com...
> any idea ?
>
> please help me
>


WRite your COM component as if you were ignoring impersonation.
Then deploy your component using COM+ where you can set impersonation. As a
server library of course, so your component runs ' out of process'.

--
compatible web farm Session replacement for Asp and Asp.Net
http://www.nieropwebconsult.nl/asp_session_manager.htm

Lambuz

2006-01-09, 7:10 pm

Thx fror your answer but I think you have posted it in the wrong post.

bye

Lambuz

2006-01-09, 7:10 pm

any ideas from any body ?

please help me

Dave Anderson

2006-01-09, 7:10 pm

Lambuz wrote:
> any ideas from any body ?
>
> please help me


http://msdn.microsoft.com/library/e...3c0e098b8f3.asp



--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.


Lambuz

2006-01-09, 7:10 pm

sorry but in your url I can't find nothing more useful than I've
already know about ServerXMLHTTP.

Please could you be more clear ?

Best Regards

Lambuz

2006-01-09, 7:10 pm

please any other ideas ?

or some more clear example ?

Egbert Nierop \(MVP for IIS\)

2006-01-11, 6:55 pm


"Lambuz" <lambu76@gmail.com> wrote in message
news:1135710034.061755.322740@z14g2000cwz.googlegroups.com...
> Thx fror your answer but I think you have posted it in the wrong post.
>
> bye
>


My answer was correct. Is something not clear?

Lambuz

2006-01-11, 6:56 pm

Sorry but all your answer is not clear.

this is my originale post:
---------------------
Hi all,
I'm trying to use a ServerXMLHTTP connection in async mode to request
Page2.asp from Page1.asp.


Both pages are inside 2 different virtual directories with Windows
Integrated Authentication but the user who requests Page2.asp is
different from user has requested Page1.asp.
The user of Page2.asp is IWAM_machine_name.


If I use ServerXMLHttp in standard mode there is no problem.


Please help me.


Best ragards
-------------

This is your response:
-----------
WRite your COM component as if you were ignoring impersonation.
Then deploy your component using COM+ where you can set impersonation.
As a
server library of course, so your component runs ' out of process'.
-------------------

As you can see in my post I've never written about a COM component.

Regards

Egbert Nierop \(MVP for IIS\)

2006-01-30, 7:55 am


"Lambuz" <lambu76@gmail.com> wrote in message
news:1136996057.997724.119980@z14g2000cwz.googlegroups.com...
> Sorry but all your answer is not clear.
>
> this is my originale post:
> ---------------------
> Hi all,
> I'm trying to use a ServerXMLHTTP connection in async mode to request
> Page2.asp from Page1.asp.
>
>
> Both pages are inside 2 different virtual directories with Windows
> Integrated Authentication but the user who requests Page2.asp is
> different from user has requested Page1.asp.
> The user of Page2.asp is IWAM_machine_name.
>
>
> If I use ServerXMLHttp in standard mode there is no problem.
>
>
> Please help me.
>
>
> Best ragards
> -------------
>
> This is your response:
> -----------
> WRite your COM component as if you were ignoring impersonation.
> Then deploy your component using COM+ where you can set impersonation.
> As a
> server library of course, so your component runs ' out of process'.
> -------------------
>
> As you can see in my post I've never written about a COM component.


I was writing about a COM component not meaning that you -were- writing a
COM componet. If that's not clear, sorry.
I meant that you -should- write a COM component.

Configure the component in COM+ and delegate it as a process to a windows
user with the correct security priviliges to do remote requests.
ServerXMLHttp is also subject to IE security zone settings. The default
IWAM and IUSR accounts, have lowest settings.


> Regards
>


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com