Restrict the download of an app through password? (ANDROID)

I am fairly new to unity and have been developing a few apps and games as a hobby so that I can work towards becoming better in the future. Right now I am building an app for a few family friends. They are going to upload the app online but want me to set a password such that the app can only be downloaded/used if the user that wants to download it has the password.

Is it possible to do this directly on unity or should I use external tools?

Thanks in advance :slight_smile:

If you are not worried about your users sharing the software themselves, Iā€™d just put a password on the website, to get to the download link (not in unity). If it contains sensitive information, you could password encrypt (zip) the file before putting it on the website.

If you ARE worried about your users sharing the software themselves, the above will NOT be sufficient security. (Someone can still upload the decrypted file to their own, unprotected, web-site)

Do you mean a KeyStore?

KeyStore is only install able with google play,
If you want to install it without google play do this

Make 2 directory
1 With KeyStore 2 No KeyStore
Build the KeyStore version and the no key store version
Both place them in their name map, and your done
Install the No KeyStore version and you can play