Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Control access to server #301

Closed
arnomoonens opened this Issue · 1 comment

2 participants

@arnomoonens

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 https://github.com/cmeiklejohn/authlogic_udid

Is this possible?

@tiegz
Collaborator

@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 tiegz closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.