Skip to main content

Base64 Encoding of Data

Intro

Storing data in Base64 encoding enhances security by preventing access to sensitive information in plain text, ensuring confidentiality and data integrity.

In this video, we will understand as how to store the data in Base64 encoded form for specific fields, so that the data is not accessible in plain text.

1. Enable Data Encryption

Create a project and go to its Settings-> Data Encryption -> Enable Enxryption. Choose Base64 Ebcryption from the dropdown and Update.

DrapCode Builder Collection Field

2. Encryt the Field

Now you cn encrypt the text fields by choosing the Encrypted option while creating them.

DrapCode Builder Collection Field

3. Add a Field

Now you add a new record or field and check its details in collection. The encrypted field will appear as in the image below:

DrapCode Builder Collection Field

3.1 View the Encoded Field

Click on the eye icon and you can view the encoded data.

DrapCode Builder Collection Field

3.2 View Value of Encoded Field

To view the actual value of teh encoded field. Choose the field and choose Decrypt Value.

DrapCode Builder Collection Field

4. Drop a Data Table

Go to Components and drop a Data Table. open its Settings and choose to fetch content from the chosen collection and the filter and Save.

DrapCode Builder Collection Field

5. Preview the Page

Go to Preview and you will find the value of SSN in the Data Table. Similarly you can add more fields to your Data Table. While in the collection data is stored is in the encrypted form of the chosen field.

DrapCode Builder Collection Field

Conclusion

One benefit of storing data in Base64 encoded form is enhanced security, as it prevents sensitive information from being accessed in plain text, thereby safeguarding confidentiality and ensuring data integrity.