Link to home
Start Free TrialLog in
Avatar of Bagon
Bagon

asked on

Getting Site Info

Hi,
I want to download site inforamtion.
the site is protected with username and pasword in a page
with ssl (https).
how can I get the information? how can I simulate
entering username and password to a site that is protected in ssl?
thanks,
bagon
Avatar of Richie_Simonetti
Richie_Simonetti
Flag of Argentina image

maybe this could help:
www.angelfire.com/realm/vb-shared/index.html under "IE COM..." topic.
Avatar of tutsamewasa
tutsamewasa

hi
you can use Internet Comtrol to this.
by creating object of SHDocVw.InternetExplorer you can catch hold of browser, and with the object of MSHTML.IHTMLDocument2 you can catch hold of curent html page, you can get html objects like form body colors etc.
you can get the name and password feilds suply values and submit the page through you vb program with the help of these two component.(Provided you do have valid username and password)
i have done the same job to crawl the site which was password protected. so try it. if you can't i can write the code and give it to you.



Hi Bagon,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept tutsamewasa's comment(s) as an answer.

Bagon, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
:0, what happens?
Richie_Simonetti,
When I go to page that you linked, I get bombarded with pop-behind ads, and I can find nothing that looks even vaguely like  "IE COM..." topic.  Thats what happens.

If you object to a recommended disposition, please do so in full sentences, and explain why you think you or another expert should deserve points.  That would be very helpful.  Thanks!
-- Dan
ASKER CERTIFIED SOLUTION
Avatar of Richie_Simonetti
Richie_Simonetti
Flag of Argentina image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I think I found it.  Perhaps you are referring to...
   http://www.angelfire.com/realm/vb-shared/IE_WB_DOM_tips.htm#log

That is a good explanation of how to automate login when the username and password need to be entered into an HTML form.  Although the asker may have been interested in logging to a site that requires a true secure login, I agree that since the question is ambiguous, that could be construed as an acceptable answer.  I am changing my recommendation to:

    Accept  Richie_Simonetti's comment as an Answer.
==========
DanRollins -- EE database cleanup volunteer
Take in mind that the example is for Hotmail, which is a secure site.
The problem isn't how secure it is if you have to write user and password in a html page.
Other problem would be if you have to login to a server (as Win NT user/pwd stuff) when popups a window asking you for an user/password.
That is exactly what I meant the "grey box" login like this one:
      https://investment.datek.com/
one solution to that is to use
      https://username:password@investment.datek.com/
In this case, the browser handles the initial error by placing the username and password in the header.

-- Dan
"one solution to that is to use
     https://username:password@investment.datek.com/"
i agree with that. i use it all the time to enter to our company site.
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange