Select to view content in your preferred language

prevent web debugging

744
2
11-25-2012 02:26 AM
irishadar
Occasional Contributor
Hi all,
I'm using javascript api after using ADF .
I've notice that every query/find /identify or feature layer returns in the response all the data attributes and geometry.
Is there a way to prevent my clients from copying or view the response through web debuggers .
Otherwise one can over time copy my entire layers.
does any one have any suggestions ?

thanks in advanced
iris hadar
0 Kudos
2 Replies
__Rich_
Deactivated User
Short answer - no.

You might try and put some proprietary obfuscation/encryption in place I suppose if it's a real problem, otherwise general web security patterns apply.
0 Kudos
JeffPace
MVP Alum
nothing in your web app can prevent it.

In fact, someone could just hit the rest endpoint and query objectid <500, objectid 500-1000, etc..

Your only option would be to hide the entire service behind a firewall, then only allow your application access to it.

However if your app can make the request and return results those request/results can always be viewed.
0 Kudos