HOW TO

Add secure ArcGIS Server services as items in ArcGIS Online

Last Published: March 16, 2022

Summary

This article describes how to add secure ArcGIS Server services items to ArcGIS Online with credentials attached. In some cases, a user has no access to a portal but wants to access a feature service securely through a mapping client such as ArcGIS Online. However, if the credentials are not stored with the service before adding them to ArcGIS Online, attempts to access the service result in prompts for credentials. For more information, refer to ArcGIS Online: Secure services.

Procedure

To ensure the service is secured, configure ArcGIS Server security before performing the following steps. For more information on configuring ArcGIS Server security, refer to ArcGIS Server: Secure your ArcGIS Server site and ArcGIS Server: Best practices for configuring a secure environment.

  1. Secure the ArcGIS Server service using ArcGIS Server Manager. To do so, refer to ArcGIS Server: Modifying permissions for a service or folder.
  2. Once the security settings are configured, copy the URL of the desired service. For more information on service URLs, refer to ArcGIS Server: Components of ArcGIS URLs.
  3. In ArcGIS Online, click the Content tab and click + New item > URL.
creating a new URL item
  1. Paste the URL copied from step 2 into the URL box.
  2. Toggle on the switch next to Store credentials with service item. Do not prompt for authentication option, and click Next.
enabling options
  1. Add a username in Enter username box, and password in Enter password box with the credentials for an ArcGIS Online account (both username and password are case-sensitive).
  2. Click Next.
  3. Give the item a title and click Save.
entering credentials
    Optionally, you can limit usage of your secure service under the Settings tab, For example, to make the service accessible only through certain URLs or IPs. For more details see Limit usage of secure services.

    Article ID:000021033

    Software:
    • ArcGIS Online
    • ArcGIS Server

    Get help from ArcGIS experts

    Contact technical support

    Download the Esri Support App

    Go to download options

    Related Information

    Discover more on this topic