Security and privacy on the Internet refer to the measures and principles designed to safeguard online information and personal data.…