Add authentication to elasticsearch without xpack and reverse proxies

Hi,
I am looking for a way to add authentication to elasticsearch without xpack and reverse proxies, is there any way to do this.
Do i need to look into any file in particular.

Thanks

You asked for the same question at Add SSO(single sign on) to elasticsearch without xpack and reverse proxies.

Let's keep the discussion in one single place.
I'm closing this thread.