473,327 Members | 2,090 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,327 software developers and data experts.

Binary Formatter not suitable accross firewalls

[QUOTE
src="http://www.codeguru.com/Csharp/Csharp/cs_syntax/serialization/article.php/c7201/"]
The BinaryFormatter class is generally not appropriate when data is
meant to be passed through a firewall.
[/quote]

Why?

Feb 25 '06 #1
1 923
That is only because for some reason people have the impression that
anything non-http on port 80 is a problem. It is not. Remember your just
sending bytes over TCP. That would be like saying any byte stream using tcp
will have issues. If that was the case, ftp, telnet, smtp, dns, etc, would
all have issues. It is true, however, that by default many firewall admins
allow http over port 80 and specific known tcp ports like ftp and smtp and
block everything else by default. So they manage by exception - which may
be reasonable. So the real issue is the firewall rules, not the
binaryformatter. If the rules allows your port over tcp, then all should be
well. If not, then your blocked. This is not an issue in my mind. Just
need to decide what to block and what to allow at the firewall.

--
William Stacey [MVP]

"Sathyaish" <sa*******@gmail.com> wrote in message
news:11*********************@t39g2000cwt.googlegro ups.com...
| [QUOTE
|
src="http://www.codeguru.com/Csharp/Csharp/cs_syntax/serialization/article.php/c7201/"]
| The BinaryFormatter class is generally not appropriate when data is
| meant to be passed through a firewall.
| [/quote]
|
| Why?
|
Feb 25 '06 #2

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

Similar topics

0
by: Christopher Pragash | last post by:
Hello All, Recently I had posted a message to forum requesting assistance to resolve a security issueI was facing in .NET Framework 1.1, the error being "Because of Security Restrictions, the...
0
by: Esa Komulainen via .NET 247 | last post by:
Sorry if my english sucks, it's not my native language. I'm stuck with following problem: I have two vb.net (2003) applications, first one makes a list ofwords and their occurrence: Dim formatter...
1
by: BH | last post by:
I'm trying a simple object serialization and deserialization, and keep getting this error: System.Runtime.Serialization.SerializationException: Binary stream does not contain a valid...
9
by: Ching-Lung | last post by:
Hi all, I try to create a tool to check the delta (diff) of 2 binaries and create the delta binary. I use binary formatter (serialization) to create the delta binary. It works fine but the...
2
by: news.microsoft.com | last post by:
I need a quick way to binary serialize an ArrayList of System.Drawing.Point objects. There are a lot of point is this list so I am trying to avoid iterating over them. I have tried the following...
2
by: TJO | last post by:
I need a quick way to binary serialize an ArrayList of System.Drawing.Point objects. There are a lot of point is this list so I am trying to avoid iterating over them. I have tried the following...
7
by: schoenfeld1 | last post by:
I've implemented IPC between two applications using named pipes and binary serialization, but have noticed that the binary formatter is rather slow. It seems that the binary formatter reflects...
1
by: Gilad Kapelushnik | last post by:
Hello I need to send data (a whole class) from a Sever to a Client. I convert this class to a binary array using Binary Serialization: public byte ToBytes(){ try{ IFormatter formatter = new...
5
by: Harold Howe | last post by:
I am having a problem deserializing objects from a library when the following conditions exist: 1- The library is strongly named 2- The serialized file was created with version 1.0 of the...
0
by: Tommaso Caldarola | last post by:
I got the following exception System.Runtime.Serialization.SerializationException: The input stream is not a valid binary format. The starting contents (in bytes) are:...
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...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
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....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.