Re: How to get authorization HTTP header from within an ActiveX co

From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 09/22/04


Date: Wed, 22 Sep 2004 13:09:34 -0400


"Innovactive" <Innovactive@discussions.microsoft.com> wrote in message
news:351F7DDA-03DB-483F-9356-6CF8964D9773@microsoft.com
> That is right, but only IE knows the user credentials inserted in
> login dialog!
>
> So, after the user has been "recognized" by IE, how can the ActiveX
> control know which username and password were entered?

Ah. For that, you need to use URL Monikers and IE's IBindHost
implementation. That allows IE to handle authentication on your behalf.
See

http://msdn.microsoft.com/workshop/components/com/data_retrieval.asp

-- 
With best wishes,
    Igor Tandetnik
"On two occasions, I have been asked [by members of Parliament], 'Pray,
Mr. Babbage, if you put into the machine wrong figures, will the right
answers come out?' I am not able to rightly apprehend the kind of
confusion of ideas that could provoke such a question." -- Charles
Babbage


Relevant Pages

  • Re: HTTPWebRequest
    ... application without going to the login page. ... I have no control over ... authentication or bad authentication. ... have a good username and password without actually going to the web ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Lost ability to use membership system
    ... Something happened where it won't let me login with the same usernames ... deleting the database from the SQL Server ... Opened ASP.NET Configuration and created a new username and passowrd. ... control: "Your login attempt was not successful. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Something more advance... I think.
    ... I am developing an application where I need to have employee id (example ... controls like login control, login view control, login status control and ... I can just drag and drop them and immediately username ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • RE: Macro to VBA
    ... Database Administrator ... Dim Ret as Long 'Return Value ... Static iLogAttempts as Integer 'Number of Login Attempts ... 'Save the logged user to somwhere, in this case to a control on form Home ...
    (microsoft.public.access.modulesdaovba)
  • Re: Forms Authentication without Login Page
    ... OK thanks Brad. ... pressing a login button. ... invokes methods on the control to do the login. ... > Request.IsAuthenticated will be true for the entire request context. ...
    (microsoft.public.dotnet.framework.aspnet.security)