Solved

Visual Basic WebBrowser and Automatic Authentication

Posted on 2006-11-21
3
1,527 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
ID: 17987387
It can be included within the URL itself, e.g.,

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

Author Comment

by:Professor
ID: 17987921
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
ID: 26395225
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

856 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