Control access to server #301

arnomoonens opened this Issue Feb 4, 2012 · 1 comment


None yet
2 participants

This is maybe a stupid question, but for what is authlogic exactly used, because I don't really understand it after reading documentation.

Can I give users access to my server without hem needing to go to a login page?
I want to control who can use my server and who can't by checking an iPhone's UDID, using this authlogic plugin

Is this possible?


tiegz commented Jun 19, 2014

@neyuh late answer, but: authlogic is for logging in and persisting user sessions (thru the built-in sessions and remember-me cookies, or other ways). The plugin you mention specifically assumes by default that you have a udid column in your user model. This would give them access to your website by using UserSession.find(...) to set a method like current_user in your controllers/views (assuming your model is User).

tiegz closed this Jun 19, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment