HOW TO
Instructions provided describe how to disable the Save Username and Password check box on the New Spatial Database Connection dialog box so that these settings cannot be persisted in the sde connection files. This prevents a user from connecting to data they should not have access to, even if they are provided with an sde connection file.
HKEY_CURRENT_USER\Software\ESRI\Geodatabase\Settings
HKEY_CURRENT_USER\Software\ESRI\Desktop###\Geodatabase\Settings
Note:
If the 'Geodatabase\Settings' keys are not present in the registry path, create them.
Get help from ArcGIS experts
Download the Esri Support App