Knowledge Base - Technical Articles


Technical Article   HowTo:  Encrypt the connection string used by ArcGIS Server when connecting to SQL Server

Article ID: 36539
Software:  ArcGIS Server 9.3, 9.3.1, 10
Platforms: N/A

Summary

After configuring ArcGIS Server to use an external SQL Server database to store security parameters, the connection information to the SQL Server database can be encrypted. Instructions provided describe how to encrypt the connection string used by ArcGIS Server when connecting to SQL Server.

This information applies to ArcGIS Server for the Microsoft .NET Framework.

Procedure

The following instructions can be used to encrypt the connect string information stored in the Security and REST applications.

  1. Open a command prompt.
  2. Navigate to:

    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
  3. Execute the ASPNET_REGIIS.exe command using the -PE option to encrypt the connection strings section of the web.config file located under $WWWROOT\ArcGIS\Security.

    aspnet_regiis -pe "connectionStrings" -app "/Security" -prov "DataProtectionConfigurationProvider"

     For more information on connecting to SQL Server and encrypting connection string information, see the MSDN documentation provided in the Related Information section below.


Related Information


Created: 4/8/2009
Last Modified: 9/15/2010

If you would like to post a comment, please login