473,657 Members | 2,700 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2618
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.co m

"Sin Jeong-hun" <ty*******@gmai l.comwrote in message
news:11******** *************@d 57g2000hsg.goog legroups.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
3581
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 access the secured websites (using the HTTPS protocol) using this approach. I would greatly appreciate if someone could suggest a way out. I have looked at the HttpsURLConnection class, but unfortunately this class is abstract.
4
1383
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 the procedure described in the Access Security FAQ and as I have been doing since the time I have started using Access. So let the access application be xxx.mdb. After completing the whole development for xxx.mdb, i secured it using the procedure...
3
1943
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 with custom user account database. And it shows clients a list of hyperlinks to content pages located in some separated subfolders. This application and content pages are entirely secured, so everyone must logon to the application. The application...
3
2376
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 the pages I need. I have gathered information from sites that don't require secured login by using the following code: Function readHtmlPage(ByVal url As String) As String Dim objResponse As WebResponse Dim objRequest As WebRequest
1
4966
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 made a windows application to access a web service. its running fine. But later, the web service provider changed the web service into Secured web service. and they have given me a "echoserviceclient.cert" Certificate file. now i dont know what the...
2
2597
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 NetworkCredential, but also it didn't work like:- Dim myProxy As New WebProxy("https://TheServername.com/", 443) Also I used that way to create a class to accept all kinds of certifications, and also it didn't work.
1
2960
by: securedcardss | last post by:
http://card.2youtop.info secured credit card card credit instant secured card cash credit secured card
2
1637
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 webservice(not WSE implemented) from this secured webservice. also there is a something interesting i have noticed here, when i comment out the below line in the web.config under <soapExtensionTypesof the secured WS i can access the unsecured WS....
10
9760
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 returned. So the username and password should be ok. I'm using this code: Merchant myMerch = new Merchant(); myMerch.merchantIdentifier=merchantId;
0
8407
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8319
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8739
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8512
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8612
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4171
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2739
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1732
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.