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

secure socket programming

Hey guys,

Has anyone here done done socket programming with c# where you would connect
to secure server over SSL? After numerious searches online on google, I am
almost to the point where I believe that .net framework doesn't have any
classes for SSL sockets. Is that true?

So if I want to make connections over SSL, does that mean I have to use
someone's libraries that provide sockets that are capable of completing SSL
required handshakes?

Any message or hint on this is greatly appreciated. Thanks!
Nov 16 '05 #1
3 6742
laimis,

You are right, .NET 1.1 does not have any classes that deal with SSL.
You would have to use a third party library (perhaps the Indy project at
http://www.indyproject.org).

However, .NET 2.0 does have support for Secure Sockets, so you won't
have to wait too long if don't want to use something outside the framework.

Hope this helps.

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

"laimis" <si*****@NOSPAMiit.edu> wrote in message
news:Ou**************@TK2MSFTNGP12.phx.gbl...
Hey guys,

Has anyone here done done socket programming with c# where you would
connect
to secure server over SSL? After numerious searches online on google, I am
almost to the point where I believe that .net framework doesn't have any
classes for SSL sockets. Is that true?

So if I want to make connections over SSL, does that mean I have to use
someone's libraries that provide sockets that are capable of completing
SSL
required handshakes?

Any message or hint on this is greatly appreciated. Thanks!

Nov 16 '05 #2
Thanks so much! I needed someone to make sure I am not "halucinating"

Thanks

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:ep**************@tk2msftngp13.phx.gbl...
laimis,

You are right, .NET 1.1 does not have any classes that deal with SSL.
You would have to use a third party library (perhaps the Indy project at
http://www.indyproject.org).

However, .NET 2.0 does have support for Secure Sockets, so you won't
have to wait too long if don't want to use something outside the framework.
Hope this helps.

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

"laimis" <si*****@NOSPAMiit.edu> wrote in message
news:Ou**************@TK2MSFTNGP12.phx.gbl...
Hey guys,

Has anyone here done done socket programming with c# where you would
connect
to secure server over SSL? After numerious searches online on google, I am almost to the point where I believe that .net framework doesn't have any
classes for SSL sockets. Is that true?

So if I want to make connections over SSL, does that mean I have to use
someone's libraries that provide sockets that are capable of completing
SSL
required handshakes?

Any message or hint on this is greatly appreciated. Thanks!


Nov 16 '05 #3
There is also a free open-source security library at
http://www.mentalis.org

This contains source code and samples for SSL, cryptography,
certificates. The code is as easy to use as the native
System.Net.Socket classes

Rob Vretenar [imason inc.]

Nov 16 '05 #4

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

Similar topics

6
by: Sarah Tanembaum | last post by:
I was wondering if it is possible to create a secure database system using RDBMS(MySQL, Oracle, SQL*Server, PostgreSQL etc) and web scripting/programming language(Perl, PHP, Ruby, Java, ASP, etc)...
1
by: John Sheppard | last post by:
Thanks to everyone that responded to my previous Socket Programming question. Now I have run into some behavior that I don't quite understand. Programming environment. VS.NET 2003, C#, Windows...
2
by: djc | last post by:
I read a network programming book (based on framework 1.1) which indicated that you should 'never' use the RecieveTimeout or the SendTimeout 'socket options' on TCP sockets or you may loose data. I...
10
by: Uma - Chellasoft | last post by:
Hai, I am new to VB.Net programming, directly doing socket programming. In C, I will be able to map the message arrived in a socket directly to a structure. Is this possible in VB.Net. Can...
7
by: Robert Seacord | last post by:
The CERT/CC has just deployed a new web site dedicated to developing secure coding standards for the C programming language, C++, and eventually other programming language. We have already...
0
by: Holly | last post by:
I copied this code that works to connect into Unix. I am looking for a way to get it to work with a secure Unix box. Anyone have any insights on how to do this? I am trying to build an sftp...
8
by: Daniel Crespo | last post by:
Hello everybody, I'm trying to implement a secure xmlrpc server with basis on http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496786 recipe. The thing that I'm concerned about is how can...
68
by: Jack | last post by:
http://www.open-std.org/jtc1/sc22/wg14/ http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1135.pdf Has anyone gone through this? Is this useful? Will it make it to the next standard?
8
by: =?Utf-8?B?Sm9obg==?= | last post by:
Hi all, I am new to .net technologies. ASP.NET supports socket programming like send/receive in c or c++? I am developing web-site application in asp.net and code behind is Visual C#. In...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.