Solved

Visual Basic WebBrowser and Automatic Authentication

Posted on 2006-11-21
3
1,521 Views
Last Modified: 2013-11-25
Hello everybody,

we develop a java application, but the java wrapper around IE is still pretty buggy so until the jniwrapper guys get it fixed properly we are using a VB6 alternative. I do know VB6 is old and outdated but that is not the point of my question :)

My problem is: Authentication. We launch the VB Browser as an external application giving it the URL as a cmdline parameter along with a username and a password for authentication. Is there a way to prevent this "Type your username and password" box from appearing? i could send along an authentication header, however that causes problems on some pages that dont expect authentication.

quick help is appreciated.
0
Comment
Question by:Professor
3 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 250 total points
Comment Utility
It can be included within the URL itself, e.g.,

http://username:password@www.website.com/page.html
0
 

Author Comment

by:Professor
Comment Utility
That is actually quite a good point :)

I just tried it ... i thought it wouldnt work because it doesnt work in IE :/

I am just implementing it :)
0
 

Expert Comment

by:deliriumxx
Comment Utility
The problem with this method is that is poses a a major security issue. It actually send a CLEAR text user name and password  that can be easily traceable by any sort of web analytics type software and is prone to hacks.

I have been searching for a better solution for this for a while now,, and nothing yet...
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now