I want to secure Kibana by asking credentials or only allowed authenticated users can access the webpage. How can I do it?
If you are a customer with a subscription to Elastic you should use Shield. https://www.elastic.co/products/shield
There is a trial license if you want to try that. It gives you very flexible security with users and roles. It can be integrated with LDAP or Active directory systems.
If you are not a customer, I think you could put a proxy in front of Kibana so users have to log in through that. But I think that just would give you authentication and not authorization (no roles for different users).