Register a Device to access the App(Whitelist)

How do I prevent the unwanted devices from accessing the app?

How can i make a whitelist of any type of devices to access my app under the same networks or outside of it.
I been looking at the documentation for Meteor.onConnection but wont work for devices under the same network.
anyone have an idea?

What i’m trying to achieve is that an admin user is going to be able to add devices that are going to be able to access to some routes of the app without any sort of login-registration.

Thanks in advance.