主权项 |
1. A computer-implemented method executed by a network management system including one or more processors, the method comprising:
generating, by the one or more processors of the network management system, a unique key for a client device; configuring, by the one or more processors of the network management system, the client device to send a request for a proxy automatic configuration (PAC) script upon accessing a network, the request including a PAC script uniform resource location (URL) associated with the PAC script, the PAC script URL including the unique key; receiving, by the network management system over a network, a request for the PAC script including requested PAC script URL including a request key; parsing the requested PAC script URL to retrieve the request key; authenticating the client device on the network, by the network management system, if the request key matches the client device's unique key; determining, by the network management system, a first address associated with the request, wherein the first addresses is a Media Access Control (MAC) address or Internet Protocol (IP) address; associating, by the network management system, the first address with the unique key; sending, by the network management system, the PAC script associated with the requested PAC script URL to the client device in response to authenticating the client device on the network; receiving, by the network management system, over the network, a second request for the PAC script including the unique key and a second address wherein the second address is a Media Access Control (MAC) address or Internet Protocol (IP) address; and in response to the determination that the second address is different from the first address, blocking, by the network management system, a second client associated with the second address from accessing the network. |