Limit access to feature layers in public-facing website when using organizational account

290
1
09-02-2025 10:36 PM
Labels (1)
GisChinchilla
New Contributor

Hello! I was wondering if anyone knows of a way to limit what people can access with a feature layer displayed in a public-facing website created with experience builder when using an organizational account. I was following the steps outlined in https://support.esri.com/en-us/knowledge-base/how-to-limit-access-to-secured-hosted-services-or-map-... however at step 3b, I am not sure what can I input for credentials since I am using an organizational account and can only log-in through the organizational url. 

Thanks for any leads or tips!

0 Kudos
1 Reply
Wei_Ying
Esri Regular Contributor

With the latest 2025 October you may achieve this scenario using Login widget

1. In the Experience Builder app Add a Login widget

2. at privacy &  security enable both "Skip sign-in prompt for secured resources" and "Skip credential banner" so that anonymous users won't see login prompt for the non-shared feature layer

Wei_Ying_0-1763417825650.png

 

3. share the app publicly 

4. Anonymous user can view the app without loading the non-access feature layer

4. Organization user can login through Login widget and the app will load the feature layer if they have access

0 Kudos