Secure AISDatasource.db/AISDataStore.db Files
- Last UpdatedFeb 28, 2025
- 1 minute read
- Engineering
- Integration Service 4.0
- Integrators
After installing the Config API and the Data API. For example, at C:\Program Files (x86)\AVEVA\Shared\AISConfig and C:\Program Files (x86)\AVEVA\Shared\AISDataAPI.
-
Move the files AISDatasource.db and AISDataStore.db files to a different location on the local drive, or a secured network location. The installation location should no longer have the files in it.
-
Set the permissions on the files so that they are only allowed access by the AVEVA Integration Service Service account and a system administrator. No other users should, or need to have access to the database files.
-
In the installation location of the Config API (AISConfig) locate and open appsettings.json.
-
Modify the value of the SQLite parameter as shown below:
"SQLite": "Data Source=\\\\MachineName\\filePath\\AISDatasource.db"

Note: The path separator (\) count must be even in number. Initial path separator must be 4 in number (\\\\) and other separators must be 2 (\\). You must repeat the steps for Data API (AISDataAPI).
-
The user credentials must be set. See Change Installation Location of Config API/Data API.