Skip to content

Potential Security issues when using InsertToken wrapper. #1

@djarrard-zz

Description

@djarrard-zz

If Info-level messaging is enabled on the GP Service > Parameters > Message Level setting, the username and password information that is stored in the "Insert Token To Webmap JSON" tool is visible in plain text.
messages

Workaround: This is only an issue when using Info level messaging. Leave it at the default (Error) or Warning instead of Info. In most cases, for a production level service, it is highly inadvisable to leave Info messaging on permanently. The other way to workaround this would be to embed the credentials as permanent values in the actual script file instead of making them variables within the script tool.

One other consideration: The entire toolbox and script is uploaded to the arcgisserver > arcgisinput directory upon publishing to ArcGIS Server. This means that anyone with permissions to view that file-system could potentially extract the credentials. When using best practices, however, this would not be a concern because these directories would only be accessible to GIS administrators anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions