Back Forum Reply New

How to prevent DOS attack?

My service interface has parameters of type byte[].
How can I prevent someone to send GBytes of data which may lead to an OutOfMemoryException server side.
Is there some property in the client proxy where I can set the max data size?

I'm using RMI and Hessian as protocol.

Thank you.
¥
Back Forum Reply New