Encryption & Decryption of data over the network while consuming Mx Rest API

0
Hi, We have published a POST REST API in Mendix App which takes a file as Input param. This API is called from the C# utility residing in the local system which will upload the files to the Mx APP. How do we encrypt the files which uploading and decrypting it in Mendix for secure communication of data ?      
asked
2 answers
1

You could create a base64 string of that file and encrypt it. Then on the Mendix side decrypt it again and turn it back into a file.

Regards,

Ronald

 

answered
1

The typical solution is to only expose your endpoint over HTTPS, that takes care of encryption over the network. Nowadays, this is the default method of securing communication.

 

Alternatively, Ronald's suggestion is right. First, you Base64 encode your file to a string. Then, you encrypt the string using the Encryption module from the AppStore.

answered