Encrypting or Decrypting Files
You can use File Processor Connector to encrypt and decrypt the local files. Use the FileEncrypt object to encrypt and the FileDecrypt object to decrypt the local files. File Processor Connector supports the .pgp, .gpg, and .pbe formats for encrypting and decrypting the local files.
Encrypting or Decrypting Files Example
You are a system administrator and want to encrypt files present in the local file system.
Perform the following steps to create a Data Synchronization task to encrypt files present in local file system:
1. To create a Data Synchronization task, click Task Wizards > Data Synchronization, and then click New.
2. In the Definition page, configure the following fields:
Field | Description |
---|
Task Name | Name of the Data Synchronization task. For example: File_Process_Encryption |
Description | Description of the Data Synchronization task. Maximum length is 255 characters. |
Task Operation | Select Insert. |
3. Click Next.
4. In the Source page, configure the following fields:
Field | Description |
---|
Connection | Select the connection you created. For example: File_Process_Encryption_GPG_perf |
Source Type | Select Single. |
Source Object | Select FileEncrypt. |
5. Click Next.
6. In the Target page, configure the following fields:
Field | Description |
---|
Connection | Select the flat file connection. |
Target Object | Click Create Target. |
7. Click Next.
8. In the Data Filters page, create a new filter, and filter by the required field as shown in the following image:
9. Click Next.
10. In the Field Mapping page, click Automatch.
11. Click Validate Mapping.
12. Save and run the Data Synchronization task.