•Protection against attacks: The security framework protects the system from different common attacks and guarantees the privacy and security by exchanging sensitive information, such as information of authentication and encryption. It is also capable of detecting the fraudulent party of a fake entity to avoid abusing or illegal access to the resources by an attacker.