Secure queries for specific users

Is there a way or A way to lock down the query parameters so if I want to generate a graph for client A, they can only see and query there own data, not someone elses data if they can sniff the traffic? For my data-source, I am using Elasticsearch.