Ruby on Rails Monday, January 5, 2015


I don't believe the MAC address is passed in a TCP/IP request, this is used by the networking (switches & routers) layer only.

Passing MAC addresses around the internet seems like it could lead to people spoofing other people's machines easily, so that's probably why it isn't done.

Generally in a web app you record the user's browser using a cookie (which is tied to a session) and you record the user's IP address. I've never heard of anyone recording a MAC address.

-Jason


On Jan 5, 2015, at 12:21 PM, Yasin PEHLİVANLI <yasin.pehlivanli.71@gmail.com> wrote:

Hi;
How to get client login mac address? (ruby on rails)

i am sorry bad english :)

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1034b6d2-e1c8-4e0b-90b8-5c16936e9863%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment