If a WCF service returns a byte array in its response message, there\'s a chance the data will exceed the default length of 16384 bytes. When this happens, the exception wil
There is an article on MSDN which explains the various security considerations you need to think about when setting these values. Some denial-of-service attacks are those which eat up your memory and some of them (such as MaxDepth not being set properly) could cause fatal StackOverflowExceptions which could bring down your server in a single request.
http://msdn.microsoft.com/en-us/library/ms733135.aspx