Search Index Security: Only Authenticated Users

Hello there,
I am implementing algolia instantsearch in my frontend client, which uses firebase authentication mechanism. I want my search index to be protected from outside queries (un-authenticated users).
I am using currently using “angular-instantsearch”: “^3.0.0-beta.5”.

The only thing i have found so far is implementing a proxy server (Backend InstantSearch).

Does anyone know simpler way of allowing search only for authenticated users of my app?

Thank you very much in advance,

Friedrich

Hi @friedrichmocker92 Could you hide your searchbox until they are authenticated? Or require authentication on your frontend client before they are allowed to access the search? Or have I misunderstood your question?