Page security

Hello,

When I add codeless logic at page enter to redirect notAuthenticatedUser to login page. Is the code executed on client side or server side ?

Is there another way to manage page security? A kind of security filter at backend level to define the pages that a user role has the right to access otherwise the user is redirected.

Thanks in advance for your answer.

Hello @Seb777

Yes, the handler is executed each time when you open the page.

And yes, there is another approach:

  1. create a custom function and use the function on each page where you want to verify whether a user logged in or not
  2. in the function you can just check existing Current User, if you do not need to check a specific role

Regards, Vlad

Ok thanks for answering @vladimir-upirov !