BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how authenticate programmatically basic realm using TWebBrow

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi ActiveX Controls Usage
View previous topic :: View next topic  
Author Message
S.H.Setyawan
Guest





PostPosted: Thu Nov 13, 2003 7:24 am    Post subject: how authenticate programmatically basic realm using TWebBrow Reply with quote



Dear all,
I want to use TWebBrowser to access URL which has basic realm
authentication.
Can anyone tell me how to write user and password programmatically before
call NAVIGATE2 method?
so that user never write username and password again (silently).

Thank you


Back to top
Pascal Chapuis
Guest





PostPosted: Thu Nov 20, 2003 3:41 pm    Post subject: Re: how authenticate programmatically basic realm using TWeb Reply with quote



hi,

this syntax should work :
[url]http://user:password (AT) domain (DOT) com/path[/url]

For uncontrolled navigation (initiated by user, not delphi), the
authentication is not so easy from the browser side because URLMon manages
some aspects of the authentication process. IAuthenticate interface should
be the good one from an APP (Asynch Plugin Protocol) point of view.

pascal

Quote:
Dear all,
I want to use TWebBrowser to access URL which has basic realm
authentication.
Can anyone tell me how to write user and password programmatically before
call NAVIGATE2 method?
so that user never write username and password again (silently).

Thank you





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi ActiveX Controls Usage All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.