简体   繁体   中英

How to secure a web-app with the mac address

I'd like to know if it's possible to get the mac address of a client with javascript, It would be a good way to secure a web-app. (eg. Limit one license p/ Mac Adress)

No, you can't. It's the same security issue. You can't do this with Flash either.

It's not a good idea.

The MAC address can be changed programmatically.

1/ You can't. MACs only travel in the local network.

2/ Javascript is a weird choice for license enforcements.

It is not a good strategy. What if a network card burns out and the client will have to replace it? These things happen.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM