473,397 Members | 1,985 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Access secure website

I want to perform the following manual steps
programatically.

1) I go to a secure website (https://secure.xxx.yyy)
where I am prompted for a user name and password with
windows authorization dialog.

2) After I enter my user name and password, I am taken
to a 'Do you agree' webpage that requires I click an 'I
agree' submit button.

3) I am then taken to a report criteria web page, where
I can select criteria, press submit, and am then taken to
a webpage that displays my report (that I will eventually
need to scrape).

I have seen that I need to use webrequest and webresponse
with networkcredentials in order to login to the web
page. However, I cannot figure out how to use these
objects to 'navigate' past the 'Do you agree' page and
ultimately post criteria data to the report page.

Thanks for any help - sample code greatly appreciated.
Jul 21 '05 #1
3 4251
Hi, Sean

I can give you some help with the pieces.

165298 HOWTO: Simulate a Form POST Request Using WinInet
http://support.microsoft.com/?id=165298

168151 HOWTO: Make SSL Requests Using WinInet
http://support.microsoft.com/?id=168151

and for handling Authentication check out

http://msdn.microsoft.com/library/en...ng_authenticat
ion.asp?frame=true

Thank you for choosing the MSDN Managed Newsgroups,

John Eikanger
Microsoft Developer Support

This posting is provided “AS IS” with no warranties, and confers no rights.
"Microsoft highly recommends to all of our customers that they visit the
http://www.microsoft.com/protect site and perform the three straightforward
steps listed to improve your computer’s security."
--------------------
| Content-Class: urn:content-classes:message
| From: "Sean Walsh" <sw******@attbi.com>
| Sender: "Sean Walsh" <sw******@attbi.com>
| Subject: Access secure website
| Date: Fri, 19 Sep 2003 11:32:02 -0700
| Lines: 23
| Message-ID: <8a****************************@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcN+3FG0yfJvcWfyR4+po7KAoyTfPQ==
| Newsgroups: microsoft.public.dotnet.general
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:109215
| NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
| X-Tomcat-NG: microsoft.public.dotnet.general
|
| I want to perform the following manual steps
| programatically.
|
| 1) I go to a secure website (https://secure.xxx.yyy)
| where I am prompted for a user name and password with
| windows authorization dialog.
|
| 2) After I enter my user name and password, I am taken
| to a 'Do you agree' webpage that requires I click an 'I
| agree' submit button.
|
| 3) I am then taken to a report criteria web page, where
| I can select criteria, press submit, and am then taken to
| a webpage that displays my report (that I will eventually
| need to scrape).
|
| I have seen that I need to use webrequest and webresponse
| with networkcredentials in order to login to the web
| page. However, I cannot figure out how to use these
| objects to 'navigate' past the 'Do you agree' page and
| ultimately post criteria data to the report page.
|
| Thanks for any help - sample code greatly appreciated.
|

Jul 21 '05 #2
John,

Thanks for the response. I have looked at the articles and they are
helpful. Do you have any articles/examples for VB 6 or VB.NET?

Thanks,
Sean Walsh

"John Eikanger [MSFT]" <jo****@online.microsoft.com> wrote in message
news:Mo*************@cpmsftngxa06.phx.gbl...
Hi, Sean

I can give you some help with the pieces.

165298 HOWTO: Simulate a Form POST Request Using WinInet
http://support.microsoft.com/?id=165298

168151 HOWTO: Make SSL Requests Using WinInet
http://support.microsoft.com/?id=168151

and for handling Authentication check out

http://msdn.microsoft.com/library/en...ng_authenticat ion.asp?frame=true

Thank you for choosing the MSDN Managed Newsgroups,

John Eikanger
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights. "Microsoft highly recommends to all of our customers that they visit the
http://www.microsoft.com/protect site and perform the three straightforward steps listed to improve your computer's security."
--------------------
| Content-Class: urn:content-classes:message
| From: "Sean Walsh" <sw******@attbi.com>
| Sender: "Sean Walsh" <sw******@attbi.com>
| Subject: Access secure website
| Date: Fri, 19 Sep 2003 11:32:02 -0700
| Lines: 23
| Message-ID: <8a****************************@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcN+3FG0yfJvcWfyR4+po7KAoyTfPQ==
| Newsgroups: microsoft.public.dotnet.general
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:109215
| NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
| X-Tomcat-NG: microsoft.public.dotnet.general
|
| I want to perform the following manual steps
| programatically.
|
| 1) I go to a secure website (https://secure.xxx.yyy)
| where I am prompted for a user name and password with
| windows authorization dialog.
|
| 2) After I enter my user name and password, I am taken
| to a 'Do you agree' webpage that requires I click an 'I
| agree' submit button.
|
| 3) I am then taken to a report criteria web page, where
| I can select criteria, press submit, and am then taken to
| a webpage that displays my report (that I will eventually
| need to scrape).
|
| I have seen that I need to use webrequest and webresponse
| with networkcredentials in order to login to the web
| page. However, I cannot figure out how to use these
| objects to 'navigate' past the 'Do you agree' page and
| ultimately post criteria data to the report page.
|
| Thanks for any help - sample code greatly appreciated.
|

Jul 21 '05 #3
Hi, Sean

I'm afraid not. If you have specific questions, I can try to address them.

Thank you for choosing the MSDN Managed Newsgroups,

John Eikanger
Microsoft Developer Support

This posting is provided “AS IS” with no warranties, and confers no rights.
"Microsoft highly recommends to all of our customers that they visit the
http://www.microsoft.com/protect site and perform the three straightforward
steps listed to improve your computer’s security."

Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ashish Jassra | last post by:
This is regarding a project where we have to built a secure website (HTTPS). kindly let me know 1) how is developing a secure website (https) different from developing a normal site (http). ...
1
by: WC Justice | last post by:
I have a SQL Server-driven website with public and secure areas. Anonymous connection is via IUSR and authentication for the secure area is done via asp. Several pages first authenticate with asp...
3
by: ajdfljsdf | last post by:
After some basic research, I am still somewhat unclear on how Access would be used in a workgroup setting. Basically, we want to run 10 MS Access clients to access an MS Access database on a...
9
by: CMan | last post by:
Hi , We have a internal database application which we now need to update from a website hosted at an external site. We want users to be able to come to the website and see their very latest...
3
by: Sean Walsh | last post by:
I want to perform the following manual steps programatically. 1) I go to a secure website (https://secure.xxx.yyy) where I am prompted for a user name and password with windows authorization...
2
by: areejan2000 | last post by:
Experts/Programmers please advice on these questions. 1. Is Mysql secure than MsAccess (there are softwares avilable to retrieve Ms Office Password) 2. Which 3rd Party tool Would You...
3
by: David Thielen | last post by:
Hi; I created a virtual directory in IIS 6.0 and my asp.net app runs fine. But when it tries to write a file I get: Access to the path is denied. - C:\Inetpub\wwwroot\RunReportASP\images ...
2
by: phil cunningham | last post by:
I am using Access to run a database within the company and also have a website that makes some of the information available to the general public And so far everything is working very well q....
49
by: Mell via AccessMonster.com | last post by:
I created databases on Access 2003 and I want to deploy them to users. My code was also done using 2003. If they have Ms Access 2000 or higher, will they be able to use these dbs with all code,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.