On 05/03/2021 10.07, Sachin Kumar wrote:
HI Mike,

Thanks a lot for the reply I can capture the hostname of the localhost i also want to capture mac address of the local host. is there any way we can capture the Mac Address of the client?


In general no. If the client is on the same network you might be able to find its MAC address with ARP, but it's definitely not something you can rely on.

It is not really possible to uniquely identify a client without something like setting a cookie or similar. Even then, don't rely on that as it is trivial for the client the spoof anything it sends (in the case of HTTP that includes the client IP). Don't trust the client.

Kind regards,

Kasper Laudrup

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/bcb336ad-0c95-6c0a-367b-d7480afd3196%40stacktrace.dk.

Reply via email to