473,387 Members | 1,440 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,387 software developers and data experts.

Accessing SSL secured web sites from C# application.

I'm quite familiar with dealing standard HTML login and form posting.
Those could be handled using HttpWebRequest and CookieContainer. But
some web sites are SSL secured. The html pages are so complicated (too
many external JavaScripts, frames and they even blocked right mouse
click) that I used Ethereal to catch the form posting but nothing was
captuered when the filter was set HTTP. After I removed the filter, I
could see many TCP and SSL2, SSL3 messages but I couldn't figure out
how the web browser had posted the form with those.

Is there any good article on the internet that explains how to access
(login & form posting) SSL-enabled sites using C#? Thank you.

Mar 16 '07 #1
1 2611
Sin Jeong-hun,

There is no difference in accessing an HTTP vs a HTTPS resource using
the HttpWebRequest/HttpWebResponse classes. It's the Javascript that is
making things difficult.

I would say that you should use a tool like Fiddler, which is an HTTP
interceptor to see what is being sent (along with cookies and whatnot),
which you could then use to figure out what calls to make to
HttpWebRequest/HttpWebResponse.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Sin Jeong-hun" <ty*******@gmail.comwrote in message
news:11*********************@d57g2000hsg.googlegro ups.com...
I'm quite familiar with dealing standard HTML login and form posting.
Those could be handled using HttpWebRequest and CookieContainer. But
some web sites are SSL secured. The html pages are so complicated (too
many external JavaScripts, frames and they even blocked right mouse
click) that I used Ethereal to catch the form posting but nothing was
captuered when the filter was set HTTP. After I removed the filter, I
could see many TCP and SSL2, SSL3 messages but I couldn't figure out
how the web browser had posted the form with those.

Is there any good article on the internet that explains how to access
(login & form posting) SSL-enabled sites using C#? Thank you.

Mar 18 '07 #2

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

Similar topics

2
by: Generic Usenet Account | last post by:
I am trying to create a Java application that reads a list of URLs from a file and stores their contents on the local file system. I have succeeded in accessing normal websites, but I am unable to...
4
by: xunitinmullik | last post by:
Hello ppl: I am facing a problem that I ahve never experienced before with the secured database. I created an MS Access 2000 application (.mdb) using MS Access 2002 and secured it using exactly...
3
by: TK | last post by:
Excuse me for multiple posting because I've posted this message to aspnet.security NG but have not got any response yet. I'm building an ASP.NET application works in Forms Authentication mode...
3
by: John West | last post by:
I have a Web Site that I want to monitor and gather information from which requires a secured user id and password of which I have but don't know how to gather get by the secured log in to get to...
1
by: vineet.jsl | last post by:
Hello Everybody, i am facing some problem in accessing secured web service. i have some experience with web services but not with Secured web services. Actually what i have to do is, first, i...
2
by: Nader Shahin | last post by:
I tried to develop an application to download a file from an Https server. My application was able to download a file from a regural Http server. I used a WebProxy and i passed the...
1
by: securedcardss | last post by:
http://card.2youtop.info secured credit card card credit instant secured card cash credit secured card
2
by: =?Utf-8?B?TWFoZXNoIFJlZGR5?= | last post by:
i have a secured webservice implemented using WSE2.0, also i have added a soap extention to it for removing certain header information. now my problem is, i am not able to access another unsecured...
10
by: Anton | last post by:
Hi, when accessing a secured 3rd party webservice i'm getting a 401 HTTP Statuscode (unauthorized). When entering the url in a browser and entering the username and password manually, the wsdl is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.