Hello (PHP, Linux) Experts,
I'm hoping to be able to restrict access to a PHP program I wrote, to one specific Ubuntu server, based on its Mac address, (i.e., access the Mac address and compare it against the Mac address stored in an obfuscated file on the server).
The program will be hosted on a client's Ubuntu server. I'm trying to restrict the operation of the program to this one specific server Mac address.
Is there a means of programmatically accessing the Mac address of the Linux server via PHP script?
Note: I've seen a half dozen PHP scripts that DO NOT WORK... or only work on Windows servers. I need some PHP code that will work on an Ubuntu Linux server.
Is it even possible to access the Mac address of a Linux server from a PHP program... or is Linux too smart?
Thanks!
Tom