Solved

Visual Basic WebBrowser and Automatic Authentication

Posted on 2006-11-21
3
1,528 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…

726 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