问题
Is there any function that gets the user's MAC address so I can record it as some authentication credential?
回答1:
No.
Once you involve a layer 3 router, the original MAC address is no longer available / relevant.
来源:https://stackoverflow.com/questions/17516669/is-it-possible-to-get-the-visitors-mac-address-in-rails