Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any method to get MAC address of the user's system using custom policies? #65

Open
1993Saurabh opened this issue Jan 7, 2020 · 1 comment

Comments

@1993Saurabh
Copy link

Hi,

I want to uniquely identify the user's machine other than IP addresses and want to store it into the claims as well. Is there any method to get MAC address of the user's machine using the custom policies flow or is there any other way to uniquely identify the user's machine. The reason behind why I don't want to go with the IP address is that this approach cannot uniquely identify the user's machine if all the machines are on the same network let's say on an organisational network. In that case it will give me the public IP address which I don't want because public IP address will be same for all the machines inside that network.

@xinaxu
Copy link
Contributor

xinaxu commented Jan 28, 2020

This is technically not possible. MAC address is useful only in link layer and gets lost over the internet after hopping over multiple routers.
Alternatively, you can rely on the cookie sent from your web application to identify unique browser sessions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants