- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
External-facing portals are now a standard part of many ServiceNow programs. They serve customers, partners, suppliers, tenants, and contractors. Sooner or later, every team asks the same question: do we build a custom portal, or adopt an out-of-the-box (OOB) one?
Many customers that ask this also protect their instance with IP allowlisting alone. That combination deserves attention. A portal for external users and a network perimeter built around internal users pull in opposite directions.
This article covers three things:
- How to weigh custom against OOB?
- What to plan for if you go custom?
- How Adaptive Authentication closes the access-control gap that IP allowlisting leaves open?
Start with the default
For most requirements, an OOB portal is the right starting point. A custom portal is justified when you have a requirement the platform doesn't and won't support, such as a brand experience or a workflow the product cannot be configured to meet. Even then, it helps to treat the custom portal as a deliberate exception, not the default.
OOB Vs custom portals
|
OOB portal |
Custom portal |
|
|
Security |
Tested and standardized. Per-portal security settings still apply. |
Every custom table, widget server script, and scripted REST API is a possible entry point. You own the testing and evidence. |
|
Audit and compliance |
Less custom code for reviews to cover. |
More surface for security and audit reviews, with your own pen tests and isolation testing. |
|
Platform health |
No new technical debt. Upgrades start from a tested baseline. |
Adds customization you maintain. Each upgrade needs a full regression pass. |
|
Cost |
Configure rather than build. Lower long-term cost. |
Build, test, remediate, and regression-test on every release. |
|
Time to value |
Faster once the capability is available. |
Longer, because you design and build before you launch. |
|
Flexibility |
Bounded by what the product supports. |
Full control over experience and behavior. |
|
Accessibility and UX |
Maintained accessibility and responsive design. |
You design, test, and re-verify accessibility, mobile, and cross-browser behavior. |
|
Future capabilities |
New features arrive with releases. |
AI Search and Now Assist are hard to embed in a custom build. |
|
People risk |
Skills are transferable. |
Depends on the few people who understand the custom build. |
The honest trade-off for OOB is fit. You may need a one-time transition or data migration, and licensing can change as capabilities grow. The ongoing cost of a custom build usually outweighs that.
If you choose custom: What to plan for?
A custom portal can be the right call. These areas decide whether it stays healthy.
Manageability -> You own every widget, page, script include, and integration. You need developers experienced in UI Builder or Service Portal, plus server-side scripting. Small changes need development, testing, and promotion where OOB would need only configuration.
Performance -> Custom server scripts often use unindexed filters or nested GlideRecord queries and return more rows than a page shows. Many large widgets on one page slow the initial load. Incorrect shared caching can serve stale or cross-user data, so teams often skip caching and lose speed. Plan your own load testing and transaction monitoring.
Upgradeability -> A custom portal needs a full regression of portal features each upgrade cycle, covering performance, security, and experience.
Security -> New tables have no portal-safe ACLs until you write them, and one missing ACL can expose one user population's data to another. Plan to build test evidence, such as ATF tests and pen tests, for isolation between users. Audit expectations will ask for it.
User Experience - > People expect timelines, attachments, notifications, and search. All of these become your build and test items.
Security practices for custom portals
- Audit public surfaces Review sys_public, pages and widgets with the public role, public knowledge articles, public catalog items and user criteria, and scripted REST APIs with "Requires authentication" unchecked.
- Use Explicit Roles Keep external users out of internal data with snc_internal and snc_external. A user cannot hold both.
- Apply the Security Center hardening settings including the Service Portal settings.
- Never leave a custom table without an ACL Prefer deny-unless ACLs, and use GlideRecordSecure in widget server scripts.
- Enforce tenant boundaries on the server, in layers: portal and page access first, then catalog visibility, then record-level ACLs. Hiding something in the UI is not access control.
- Consider MFA for external users, and a custom URL per portal.
The IP allowlisting problem
Many instances restrict access with IP Address Access Control. It is simple, and it works well when every user is an employee on a known network.
It breaks down the moment external users need to reach a portal. IP Address Access Control is instance-wide and runs before any user context exists. It cannot exempt a portal, a URL, or a user population. A blocked user gets a 403 before the login page loads. The pre-authentication context of Adaptive Authentication has the same limitation, because it also runs before the user is known.
Think of IP allowlisting as a locked gate at the edge of the property. It turns everyone away, staff and visitors alike. Adaptive Authentication is a reception desk inside the building. It checks who you are first, then decides where you may go.
How Adaptive Authentication helps?
Adaptive Authentication (plugin com.snc.adaptive_authentication) evaluates authentication requests against policies and either allows or denies access, using filter criteria such as IP address, role, and group. Policies are applied in a context, and the context is what makes the difference.
For an instance that serves both internal and external users, the recommended approach is a post-authentication policy:
- Remove or narrow the inbound Deny rules in IP Address Access Control. Existing ranges can be imported as IP filter criteria.
- Create filter criteria for the trusted network (an IP filter) and for internal users (a role or group filter, for example snc_internal when Explicit Roles is active).
- Set the Post Authentication Context default to a Deny policy with the condition internal role = true AND trusted network = false.
Because the default is Deny, everyone else is allowed. Internal users are blocked when they are off-network, and external portal users are unaffected.
You also gain more than the portal fix:
- Role-aware decisions. Access depends on who the user is, not only where they connect from.
- MFA step-up through the MFA context, for example for external users.
- Zero Trust Access (Policy Based Session Access) to reduce or limit roles for a session, based on IP, location, or identity provider attributes, instead of denying outright.
- REST API access policies to restrict inbound API access by IP and authentication type.
- Adaptive Authentication events for monitoring and troubleshooting.
Caveats to plan for
- Post-authentication policies cover interactive logins only. Integrations and APIs that relied on your IP rules need REST API access policies to keep the same restriction.
- Public, unauthenticated resources are not covered. Once the IP rules come off, review them, because they become internet-reachable.
- Validate the policy on a sub-production instance first, with Adaptive Authentication debug mode enabled.
A note on reverse proxies(if this is in your consideration)
A reverse proxy can technically work, because allow rules are evaluated against the forwarded address chain. It is usually the wrong fix. It is customer-owned infrastructure, it adds a single point of failure, and path allowlisting is brittle because portals depend on many backend endpoints. It also still doesn't tell internal users from external ones. It only moves the perimeter.
A quick decision guide to use
- Can the OOB portal meet the requirement through configuration? Use it.
- Is the gap real, and does the platform not plan to close it? Consider custom, and budget for security testing, upgrade regression, and long-term ownership.
- Is the instance protected only by IP allowlisting? Plan the Adaptive Authentication move early, alongside the portal, not after launch.
References:
- Adaptive authentication and Authentication policies
- Configure adaptive authentication properties
- MFA authentication context
- Activate REST API access policy
- Zero Trust Access and Activate Zero Trust Access
- Explicit Roles
- Access control lists
- Security Center best practices
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.