To the best of my knowledge you cant get this from a web connection. The information is not shared. Also a single PC can have more than one MAC address (one per ethernet connection) plus any device that the PC connects through, such as the router, will have several. It is also trivial to change the MAC address on any system and so cannot be trusted (any more than you can trust anything else) http://whatismyipaddress.com/change-mac On 24 October 2011 11:13, Rajesh B. <rajesh.13kits / gmail.com> wrote: > Hi all, > > > I have a requirement, > > i need to check the users mac address and if the mac address is correct > then i have to allow him to lo into website > > i used 'macaddr' gem but this gives me my server's mac address. > > > How can i find the mac address from where the user is accessing the > website? > > Please help me.! > > > Thanks in advance > Rajesh > > -- > Posted via http://www.ruby-forum.com/. > >