Is it possible to find out the clients IP and possibly MAC address from non IE browsers (i.e. without using ActiveX)? If so, how?
-
1You'll be lucky getting your hands on the MAC address matey! DmitryK's response is how I'd have envisaged you getting your hands on the IP address, tho'.Will A– Will A2010-09-02 13:43:11 +00:00Commented Sep 2, 2010 at 13:43
-
Why do you need the MAC address? it's meaningless to the server unless you're on the same network (at which point you could do an ARP request based on the IP address)Rowland Shaw– Rowland Shaw2010-09-02 13:44:43 +00:00Commented Sep 2, 2010 at 13:44
-
I can get (and have) gotten hold of the MAC address in IE. Didn't think it would be possible without ActiveX though.Ben– Ben2010-09-02 13:45:35 +00:00Commented Sep 2, 2010 at 13:45
-
@Rowland - It's for making sure one user within a company doesn't hand his username and password to everyone and their dog and let them all use it.Ben– Ben2010-09-02 13:50:47 +00:00Commented Sep 2, 2010 at 13:50
-
1@Ben You might need to solve that "some other way", as they may be using a multi-homed device, or have a genuine need to "pop up" somewhere else. Bear in mind that the server can also only see the IP address of the client connected to it, which might be a proxy server (which might lie to you). You could use some sort of cookies, and detect multiple instances of the same login details with differing cookies. Whilst not infallible, it may be enough to put off casual abusers (really, the only true solution is "lawyers")Rowland Shaw– Rowland Shaw2010-09-02 13:57:48 +00:00Commented Sep 2, 2010 at 13:57
|
Show 1 more comment