Written by

Question Touggourt · Feb 20, 2023

Restrict access to a webpage

Hi Guys,

How can I restrict access to a webpage to a specific user only?

Thanks 

Product version: Ensemble 2014.1

Comments

Robert Cemper · Feb 20, 2023
  • if you have access to the CSP or ZEN page you may just check the user name in
    method OnPreHTTP or similar, and redirect him to the moon.
  • if can't touch the page then rename it and create a filter page that does a server-side
    redirect for everyone except the banned user.

    .

0
Touggourt  Feb 20, 2023 to Robert Cemper

Thanks.

I though maybe you can create a Role for that user and restrict the webpage to only be accessed by that role!?

0
Tani Frankel  Feb 21, 2023 to Touggourt

See the RESOURCE Class Parameter of a Zen page, see related Docs.

Then you can provide or not provide permissions on this Resource for your Role.
 

0