This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Connect to a trusted device only

I am looking for a way only a known/trusted device can connect and write/read information from my device. Filtering by address(white-listing) is not feasible. So what is a way this can be achieved? Security tokens, crypto challenge or any other means? I'm looking for a way that this gets handled during the connection handshaking if possible.