Klaus Fuchs wrote in post #1027695: > Is it possible to identify if someone is connecting my rails app through > the internet or an intranet? > I would like to enable web access only to a couple of users, others > should be able to login only when inside their intranet.
Check the request object. Something in there should give you what you need: http://api.rubyonrails.org/classes/ActionDispatch/Request.html -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.

