Sometimes it is necessary to authenticate the remote device that is connected through a public IP network. You can do this by querying and comparing the domain name system (DNS) name of the device to its IP address. To perform host resolve queries to both directions, use the RHostResolver class.
Note that this is not a secure way to authenticate remote devices, because some clients (for example, in a local network) may not have DNS names at all . For reliable authentication and secure communication, use stronger methods like key exchange or secure protocol solutions.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License v1.0.