We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Restrict Portal Users from go to Now platform.

rohanbhatia
Tera Contributor

Hi,

We want to restrict Our portal Users (CSM portal) to go to Now Platform. 
We have a UI script and modified spEntryPage as well.
UI script currently works well when someone removed  "/csm" and spEntryPage redirects users to the right portal.
Problem is when someone copy pasted url like "now/nav/ui" or "now/sow/home" they get access of now platform.
We want to restrict it and redirect them again to CSM Portal.

6 REPLIES 6

Ui type = desktop
Global = true

Application scope = Global

@rohanbhatia 

share complete script here and what that script include is checking

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader