How can I password protect my firebase realtime database?

I want to password protect my firebase realtime database with the rules stuff like that.
My set up is just a single HTML file and a firebase realtime database.
I keep getting emails that my rules are insecure.

I tried to use the firebase auth and custom claims, but that did not work.