I want to publish an R Shiny web application (http://www.rstudio.com/shiny/) on the web, but I want to password protect it so that only people with credentials can view what I h
This may be a little late for the OP but it may be useful for your use case:
https://auth0.com/blog/2015/09/24/adding-authentication-to-shiny-open-source-edition/
It's similar to the Rohith's answer, but it uses Auth0 instead, which allows you more authentication options (Like connecting, Google Accounts, Active directory, LDAP, and a big etc)
Disclaimer: I work at Auth0, we are using Shiny internally with this configuration and it works fine.