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. Thanks, Klaus -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Maybe Matching Threads
- Question w/intranet and internet
- I canĀ“t access from my intranet to the webserver using www.mydomain.com ....
- assest pipeline how to exclude some css files?
- Error reverse engineering MySQL with RMRE
- Is ogg vorbis suitable for vidoe conference in the Intranet environment?