Anonymous user access to index file

Hi, I don’t want anonymous users (general site visitors) to view any data by going to matomo/index.php
I know I can set anonymous users to “No Access” from the control panel but that blocks them to view the real-time map widget embedded on that site.

  1. If this feature is not there, I request to please add it.
  2. If its already there please let me know how to run it.
  3. If its not going to come then please suggest some way how I can do it.