---
sourceDocument: Brazil Public Sector
sourceDocumentLink: https://www.servicenow.com/docs/r/government-industry

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Public Sector

ft:clusterId :

    - gvin

bundleId :

    - gvin

workflow :

    - Customer and Industry


---

# Configure widget security

# Configure widget security in the GDS Service Portal by role {#ariaid-title1}

Release version: Brazil  
Updated June 1, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Configure widget security to verify that your GDS Service Portal widgets are being accessed only by the intended audience.

## Before you begin

Role required: admin or sp_admin

## About this task

There are several ways to configure widget security:

* Restrict the widget to users with a login only (authenticated users)
* Restrict the widget to users with certain roles only
* Restrict which tables a public widget can access and return data from for guest (unauthenticated) users

{#psds-config-gds-widg-sec__configure-widget-security_ul_ehl_myt_hkb}

When you configure widget security, configure the page security accordingly so that users can access the widget via the page on which it appears. For more information, see [Configure page security](https://www.servicenow.com/docs/yHbcKZYdhK1QBXzs7sLCOA "Set up GDS Service Portal pages to be public, or filter them by role.").

## Procedure

1. Navigate to AllService PortalWidgets.
2. Open the record of the widget to configure.
3. On the form, configure the widget security.

   | Option | Procedure |
   | Restrict the widget to authenticated users | Unselect the check box next to Public and leave the Roles field blank. This will display the widget to ALL users with a login. |
   | Restrict the widget to certain roles | 1. Clear the Public check box. 2. Next to Roles, select the edit icon (![Edit icon]()). 3. In the Roles related list, select a role by moving it from the Available list to the Selected list. 4. Select Done. {#psds-config-gds-widg-sec__ol_lgg_5zt_hkb} |
   |-|-|

   {#psds-config-gds-widg-sec__choicetable_n5r_xyt_hkb}
4. Select Update.

## What to do next

For more information on configuring portal access by role, see [Managing portal access](https://www.servicenow.com/docs/access?context=portal-security&version=brazil&pubname=brazil-platform-user-interface&ft:locale=en-US).
**Previous topic:** [Configure page security in the GDS Service Portal by role](https://www.servicenow.com/docs/yHbcKZYdhK1QBXzs7sLCOA "Set up GDS Service Portal pages to be public, or filter them by role.")  
**Next topic:** [Configure the Grants Management Portal](https://www.servicenow.com/docs/e11jmJnyCRss2IiI~zTKMA "As an admin, you can configure various elements of the Grants Management Portal.")

*[\>]: and then


