all groups > dotnet xml > february 2006 >
You're in the

dotnet xml

group:

Binary Formatter not suitable accross firewalls


Binary Formatter not suitable accross firewalls Sathyaish
2/24/2006 10:46:09 PM
dotnet xml: [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?
Re: Binary Formatter not suitable accross firewalls William Stacey [MVP]
2/25/2006 1:03:14 PM
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]

[quoted text, click to view]
| [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?
|

AddThis Social Bookmark Button