In order to indicate encryption preference in multitenancy application, “UseEncryption” key needs to be added to both web.config file and IDScan.MultiTenancy.App.exe.config file. Key value could be changed based on the preference. This value is “false” by default.
<add key="UseEncryption" value="false" />
1. Using without encryption:
Set the key value as “false” in both web.config and IDScan.MultiTenancy.App.exe.config.
<add key="UseEncryption" value="false" />
Execute the IEOSMultiTenancyCreation script.
2. Creating encrypted database:
Set the key value as “true” in both web.config and IDScan.MultiTenancy.App.exe.config.
<add key="UseEncryption" value="true" />
Execute the IEOSMultiTenancyCreation script.
3. Encrypting the existing database which belongs to the previous versions than the v8.4.1:
Execute the UpdateSchemaAndEncryptOldData script.
Execute the ExistingIEOSMultiTenancy script.
Set the key value as “true” in both web.config and IDScan.MultiTenancy.App.exe.config.
<add key="UseEncryption" value="true" />
4. If there is already one multitenancy database which belongs to the v8.4.1 and later versions:
Excute the AlterStoreProcedure script
Excute thhe AlterUpdateSchema script
Set the key value as “true” in both web.config and IDScan.MultiTenancy.App.exe.config.
<add key="UseEsncryption" value="true" />