I'd like to run an app in a restricted private beta on heroku.
We're changing the app regularly and haven't done a security audit.
To stop anyone exploiting stuff, we'd like to lock down the whole site, so you need a password to access anything.
Ideally similar to using .htaccess and .htpasswd files to lock an entire site on an Apache server.
Is there a simple one shot way to do this for a heroku hosted app?