How can secure my app only selected members can use it

Want to create family directory app which can only access the selected members. How to do it?

Can I protect this app with a password or can I give the access to selected email ids.

Password or whitelist would work for you