If you're creating an app, then the sky is the limit...if you write custom code.
The simplest (but least robust) method would be to write a simple JavaScript prompt that asks for a password.
If you're not comfortable with this yourself, you'll want to find a web developer or an iOS developer.