Protecting Data Files
Linux Envelope supports only Version 2 of data file protection. For more information, see the description of protecting data files in the
You can specify multiple patterns grouped with the <RUNTIME_ENCRYPTION> tag. If a protected application creates a new file with a file name that matches a pattern in an <INPUT_GLOB> tag and does not match a pattern in an <IGNORE_GLOB> tag, the file is created as a protected file that is encrypted and licensed using the Feature ID specified in the <FEATURE_ID> tag., If <FEATURE_ID> is not defined, Feature ID 0 is used by default.
Example
Given the following DFP profile in the configuration file:
<DFP_PROFILE>
<RUNTIME_ENCRYPTION>
<INPUT_GLOB>*.txt</INPUT_GLOB>
<IGNORE_GLOB>1.txt</IGNORE_GLOB>
<FEATURE_ID>78</FEATURE_ID>
</RUNTIME_ENCRYPTION>
<RUNTIME_ENCRYPTION>
<INPUT_GLOB>*.py</INPUT_GLOB>
<IGNORE_GLOB>2.py</IGNORE_GLOB>
<FEATURE_ID>100</FEATURE_ID>
</RUNTIME_ENCRYPTION>
</DFP_PROFILE>
If the protected application creates:
>A new file named A.txt, the file is protected and encrypted with Feature ID 78.
>A new file named B.py, the file is protected and encrypted with Feature ID 100.
>A new file named 1.txt, the file is a flat file with no encryption or protection.
