|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
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? Hello, Sathyaish!
S> [QUOTE S> src="http://www.codeguru.com/Csharp/Csharp/cs_syntax/serialization/artic S> le.php/c7201/"] The BinaryFormatter class is generally not appropriate S> when data is meant to be passed through a firewall. S> [/QUOTE] IMHO the author meant that Firewalls are performing some sort of data analysis when checking data traffic. The possibility that they suspect something in binary data is large. Firewall will 'think' that data is malicious and won't pass it. Thus receiver will not get the data and you will have probems. OTOH is depends what channel you use. If you're using some custom protocol to transfer data, then there is no difference what the data is SOAP message or binary one. If you use for instance HTTP then binary data is simply wrapped with HTTP header info and sent over network. 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" <sathya***@gmail.com> wrote in message src="http://www.codeguru.com/Csharp/Csharp/cs_syntax/serialization/article.php/c7201/"]news:1140849969.453434.99720@t39g2000cwt.googlegroups.com... | [QUOTE | Show quote | The BinaryFormatter class is generally not appropriate when data is | meant to be passed through a firewall. | [/QUOTE] | | Why? | |
|||||||||||||||||||||||