In this chapter, we will demonstrate how to implement authentication and protect your pages from illegal access. We will create a login page without a sidebar as follows:

After login, we redirect users to the index page and display the user name on the right side of the header.

For third party framework integration approach to secure your application, please refer to ZK Deverloper's Reference/Integration/Security