Re: Credientials to an HTTP POST request.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thus wrote Kevin,

Thank you again. I am starting to understand.

Adding the credentials to the HttpWebRequest does not seem to alter
the flow on the server side. The credentails are ignored and the
request succeeds. I guess my real question is, "Setting the
credentials on the client request doesn't seem to trigger any events
on the server side. So what do I need to do on the server side to
require these credentials? How do I make a need for authentication?

You have to configure IIS to apply Basic Authentication. But as I said, it's handled completely inside IIS and is based on Windows Domains as realm.

And then once this need is created what events will be generated on
the server that will need to be responded to in order for the request
to succeed?"

In answered that in my previous post. There are AuthenticateRequest and PostAuthenticateRequest.

Cheers,
--
Joerg Jooss
news-reply@xxxxxxxxxxxxx


.



Relevant Pages

  • Re: BASIC authentication Issues with IE - Part II - Solved but WHY?
    ... We have complete control of the Request and Response ... it is up to the browser to send the credentials. ... ASP runs internally on the server. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Page Cannot Be Displayed Errors
    ... In WFetch, for Advanced Request, change to "Add Headers" and write: ... > directly on the web server, ... >>> Where can I get the IIS 6.0 Resource Kit, and how do I use WFetch? ...
    (microsoft.public.inetserver.iis)
  • Re: Performance question (IIS 6)
    ... The delay on the first request is due to interaction between IIS process ... You can do this yourself by making a request to the necessary application ... Turn off all the application pool recycling parameters except maybe the ... until you reboot the server. ...
    (microsoft.public.inetserver.iis)
  • Re: Page Cannot Be Displayed Errors
    ... not IIS, but something else. ... >>> directly on the web server, ... >>>>> I have done some additional checking in the logs. ... >>>>> either the request isn't even getting to IIS at this point, ...
    (microsoft.public.inetserver.iis)
  • Re: client gets always every first time for every page a 401
    ... only the first request get 401. ... Why does my Browser in case 5 not submit the Basic Authorization String ... credentials as used in 3, because they have the same root. ... Explorer has established a connection with the server by using Basic or NTLM ...
    (microsoft.public.inetserver.iis.security)