Secure Spatial Data Distribution Using Licensed File Geodatabases

Sharing GIS data is part of everyday work, whether it’s delivering a project to a client, distributing datasets to partners, or selling data under a use agreement. But once a file geodatabase leaves your hands, anyone who receives it can open it, copy it, and export it freely.

In this three-part video series, we use ArcGIS Pro (or ArcGIS All Source) to show how easily unprotected data can be extracted, and how Esri’s file geodatabase licensing tools let you lock it down. For the demonstrations, we used a sample file geodatabase containing a few feature classes, but the same steps apply to any file geodatabase you want to protect.

Part 1: The problem with unlicensed file geodatabases

In the first video, we show just how exposed a regular file geodatabase is. Anyone with a copy of the .gdb folder can add it to a map, view every feature and attribute, and export the data to another format in a few clicks. Nothing stops them from reusing, redistributing, or repackaging your work.

For many datasets, that openness is fine. But if your data is the product, represents significant effort, or is shared under specific terms, you need a way to control who can use it and for how long.

Part 2: Creating a licensed file geodatabase

The solution starts with the Generate Licensed File Geodatabase tool, found in the Data Management Tools toolbox under the File Geodatabase toolset. It creates a protected copy of your geodatabase plus a license definition file (.licdef) that controls whether its contents can be displayed.

In ArcGIS Pro, we opened the tool from the Geoprocessing pane and set three parameters:

Parameter What it does
Input File Geodatabase The original, unlicensed geodatabase you want to protect
Output Licensed File Geodatabase The name and location of the new protected copy
Output License Definition File The .licdef file, needed later to create licenses

After running the tool, our output folder held the original geodatabase, the protected geodatabase, and the license definition file.

To prove it works, we opened a new map, connected to the licensed geodatabase in the Catalog pane, and tried to add one of its feature classes to the map. The feature classes are visible in the catalog, but the layer fails to load with an “Access denied” error. The data is now license protected.

A few things to know before you use this tool:

Part 3: Generating a file geodatabase license

A locked geodatabase is only useful if the right people can unlock it. That’s where the Generate File Geodatabase License tool comes in. It takes the .licdef file from Part 2 and produces a license file (.sdlic) you can distribute to your users.

Two optional parameters give you real control over how your data is used:

Once the license is created, the ArcGIS Client must register it. In ArcGIS Pro, this is done from the Licensing section on the Project tab: open Manage your Data Licenses, click Add, and browse to the .sdlic file. Until the license is added, the data stays locked. After registering it, the same feature class that failed earlier loads normally.

Putting it all together

The complete workflow in ArcGIS Pro takes just two geoprocessing tools:

With this in place, you can share your data confidently, knowing it’s viewable only by licensed users, protected from export, and accessible only for as long as you choose.

Note: “Generate File Geodatabase License” & “Generate Licensed File Geodatabase” geoprocessing tools are available with ArcGIS Pro Standard or Advanced License.

References

geetesh-esri-india

As Product Lead, Geetesh focuses on Esri India Data Products, including Indo ArcGIS Living Atlas, Basemaps, and StreetMap Premium.

Geetesh Singh Esri India

Next Article

Smarter Asset Inspection with ArcGIS API for Python

Read this article