I've seen various methods where people have tried to prevent users from straying outside a defined extent but nothing really works properly.
Has anyone managed to achieve this without resorting to some sort of server-side masking? (although I suspect ultimately that's going to be the only way to properly prevent users from seeing data outside an extent)
I notice for Silverlight there's ConstrainExtentBehavior which appears to be designed for this purpose, is there any equivalent for the JS API? (even if it means 'porting' the functionality into custom JS)