How to authenticate the user using the PC Mac address

Is it possible to only allow users to access my website with their PC Mac Address authentication? One’s the user access my website, the mac address will be first check if it is a valid mac address before it will completely view my website. Or is it ideal to only use certificate authentication? Please advise if what’s more secure? or just by using https instead of http? Thanks:):):slight_smile:

It’s not possible to get a users PC mac address using PHP, the only possible solution i have ever found was to use a java software plugin.

If your users are all on a local LAN which contains the web server, you can execute a something similar to nbtstat -A to obtain the MAC address.

Thanks, what would be the best solution to tighten my security?