Dashboard embedded Security Acces

Hello everyone!
Someone discovered how to embedding a dashboard but ask for login or use some private keys ?
Sharing a public url is quite risky, I think embedding is one of the best features but we have to find a way to make it safe.
Thank you!