IPSec is a method to provide internet security over the layer 3 of the OSI model.
Security Protocol (IP Security Protocol, better known by its acronym, IPsec) is an extension of the IP protocol that aims to be the standard method for providing user privacy (increasing the reliability of the information provided by the user to a location of internet, such as banks), data integrity (ensuring that the same content that reached its destination is the same source) and authenticity of the information or identity spoofing prevention (ensuring that a person is who they claim to be), when transferring information over IP networks via the Internet.