Rack has this baked in, the Sinatra docs have a good example of using it:

http://www.sinatrarb.com/faq.html#auth

On Mon, Dec 7, 2009 at 11:35 AM, Bradley <[email protected]> wrote:

> Is it possible to password protect a site, through something like http
> auth?  I want to set up testing and staging sites, but I don't want
> these to be public and I don't want to have these restrictions in the
> code of my app.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<heroku%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.


Reply via email to