IIS 6.0 givex 403 when asp page is requested by winhhtprequest
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > IIS 6.0 givex 403 when asp page is requested by winhhtprequest




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    IIS 6.0 givex 403 when asp page is requested by winhhtprequest  
Nikhil


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 06:55 AM

I am using winHttprequest object to make a request to an
asp page sitting on a different server. The IIS server
returns a HTTP 403 error. If i request the same asp page
using a browser the page is served. What security setting
to i need to change to allow the request.





[ Post a follow-up to this message ]



    Re: IIS 6.0 givex 403 when asp page is requested by winhhtprequest  
Ken Schaefer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 06:55 AM

Is anonymous authentication enabled on the IIS server?

Cheers
Ken

"Nikhil" <anonymous@discussions.microsoft.com> wrote in message
news:ca2501c3ba36$67336e50$a601280a@phx.gbl...
: I am using winHttprequest object to make a request to an
: asp page sitting on a different server. The IIS server
: returns a HTTP 403 error. If i request the same asp page
: using a browser the page is served. What security setting
: to i need to change to allow the request.







[ Post a follow-up to this message ]



    Re: IIS 6.0 givex 403 when asp page is requested by winhhtprequest  
Andrew Davis [MS]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 06:55 AM

Nikhil,

It's sounds like the object your using is passing different credentials to
the other IIS server than your browser. IE will try an pass the credentials
of the interactive (logged on) user, and when accessing via the
WinHTTPObject different credentials are being sent.

It may be sending anonymous credentials, so Ken is right on with asking if
anonymous access is allowed on the remote IIS servers however you may want
to specify explicit credentials for your WinHTTPObject to use. Try posting
to the WinInet Isapi newsgroup for more info on this. There may also be
some good docs on TechNet.

I found "SetCredentials" for use with the WinHttpRequest object - Hope this
helps!
http://msdn.microsoft.com/library/d...-us/winhttp/htt
p/iwinhttprequest_setcredentials.asp

This posting is provided "AS IS" with no warranties, and confers no rights.

Thanks!
~Andrew Davis
Microsoft PSS Security

--------------------
| From: "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com>
| References: <ca2501c3ba36$67336e50$a601280a@phx.gbl>
| Subject: Re: IIS 6.0 givex 403 when asp page is requested by
winhhtprequest
| Date: Thu, 4 Dec 2003 21:55:40 +1100
| Lines: 14
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <#GylrUluDHA.684@TK2MSFTNGP09.phx.gbl>
| Newsgroups: microsoft.public.inetserver.iis.security
| NNTP-Posting-Host: dsl-203-33-161-224.nsw.netspace.net.au 203.33.161.224
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.inetserver.iis.security:7600
| X-Tomcat-NG: microsoft.public.inetserver.iis.security
|
| Is anonymous authentication enabled on the IIS server?
|
| Cheers
| Ken
|
| "Nikhil" <anonymous@discussions.microsoft.com> wrote in message
| news:ca2501c3ba36$67336e50$a601280a@phx.gbl...
| : I am using winHttprequest object to make a request to an
| : asp page sitting on a different server. The IIS server
| : returns a HTTP 403 error. If i request the same asp page
| : using a browser the page is served. What security setting
| : to i need to change to allow the request.
|
|
|






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:58 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register