# Limiting access to a beta site

**URL:** <https://www.ruby-forum.com/t/limiting-access-to-a-beta-site/120003>\
**Category:** Rails\
**Created:** [November 12, 2007, 8:42pm UTC](https://www.ruby-forum.com/t/limiting-access-to-a-beta-site/120003 "2007-11-12T20:42:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomC](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8dc957/32.png) [@TomC](https://www.ruby-forum.com/u/TomC)\
**Post date:** [November 12, 2007, 8:42pm UTC](https://www.ruby-forum.com/t/limiting-access-to-a-beta-site/120003/1 "2007-11-12T20:42:27Z")

</div>

[http://www.igvita.com/blog/2007/06/21/5-minute-beta-authentication-in-rails/](http://www.igvita.com/blog/2007/06/21/5-minute-beta-authentication-in-rails/)

I’m just learning Rails. I tried to implement the code snippets in  
the  
link above but have not been successful.

Would anyone be willing to test it and discuss? Do you have any other  
approaches that work well for you? I’m also considering single- or  
triple-use passwords/links in lieu of the login-password approach.

I listed some of the problems I had as comments on the linked page,  
and  
I can provide more details. I’ll add that I created a column in the  
database for ‘key’ and created a field for it in the form, assuming  
that  
the key is submitted with the form instead of being sent as a  
parameter  
in a link (as the beta\_key.rb implies).

Tom Calloway
