?
Solved

Visual Basic WebBrowser and Automatic Authentication

Posted on 2006-11-21
3
Medium Priority
?
1,541 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 1000 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

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

807 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