Considering that Close by Share is tied in your Google account, you could select specific persons from your contacts to permit or block, or Restrict it to only your devices. Any individual having an Android device or Chromebook can use Nearby Share without any setup, making it very similar https://www.youtube.com/channel/UCK3nqP-F7qzlU_p5d4IxrPA