title: Password protect AWS Node EB application
body: <p>I've got a Node Elastic Beanstalk app up and running (though ELB). Right now it is just the AWS sample Node application on the server. Since this is a development server, before I can push my actual code up to the server I need to password protect the entire thing (this is to be used for client review, etc).</p>
  
  <p>I am having a ton of trouble trying to figure out how to do this. It seems that the application code is dropped in <code>/var/app/</code> and there's nothing in <code>/var/www/html/</code> (no hidden files) where I would normally setup an htaccess file. It's using nginx proxy, which I have never used, and I'm not exactly sure how the files are being served.</p>
  
  <p>What's the best way to lock this server down? Security groups? htaccess? Something else?</p>