# Encrypted messages in Adalo database

**URL:** https://forum.adalo.com/t/encrypted-messages-in-adalo-database/39558
**Category:** Get Help
**Created:** [June 6, 2023, 9:46am UTC](https://forum.adalo.com/t/encrypted-messages-in-adalo-database/39558 "2023-06-06T09:46:25Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![AnnaMedic](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/annamedic/32/27763_2.png) [@AnnaMedic](https://forum.adalo.com/u/AnnaMedic)
#### Post date: [June 6, 2023, 9:46am UTC](https://forum.adalo.com/t/encrypted-messages-in-adalo-database/39558/1 "2023-06-06T09:46:25Z")

</div>

Hello everyone,

Quick question - is there a way to encrypt messages in Adalo database?

Currently I can see messages that users are sending, and I need to make them encrypted so that they don’t get stored in the database as full messages.

Please let me know if you know how to do it.

Many thanks,

Anna

---

<div class="post-metadata">

### Author: ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)
#### Post date: [June 6, 2023, 2:37pm UTC](https://forum.adalo.com/t/encrypted-messages-in-adalo-database/39558/2 "2023-06-06T14:37:41Z")

</div>

Hey Anna @AnnaMedic,

Short answer: no, it’s not possible with Adalo built-in features.

Longer answer: encrypting the messages is only one part of the equation; you need also to be able to decrypt them. There are various algorithms for that, but all of them require that some user key is private and not exposed to anyone. Consequently, you can’t store this key in the database: if you, as an admin, get an access to this user’s key - you get the access to user’s messages. So you need to store this key inside the app itself.  
In order to generate keys, exchange them and store them in the app you will need something written in full code (maybe Adalo component can do it, but I’m not sure).

Best,  
Victor.

---

<div class="post-metadata">

### Author: ![AnnaMedic](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/annamedic/32/27763_2.png) [@AnnaMedic](https://forum.adalo.com/u/AnnaMedic)
#### Post date: [June 6, 2023, 3:58pm UTC](https://forum.adalo.com/t/encrypted-messages-in-adalo-database/39558/3 "2023-06-06T15:58:40Z")

</div>

Thanks for clarifying this for me, Victor.

I just want to make sure I protect user data and store it properly. I have built a social app/prototype and it involves users sending each other messages on the app that are being stored in Adalo database. Any tips or suggestions on how to make the app more secure?

Thanks,

Anna

---

<div class="post-metadata">

### Author: ![AnnaMedic](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/annamedic/32/27763_2.png) [@AnnaMedic](https://forum.adalo.com/u/AnnaMedic)
#### Post date: [June 6, 2023, 4:00pm UTC](https://forum.adalo.com/t/encrypted-messages-in-adalo-database/39558/4 "2023-06-06T16:00:44Z")

</div>

My long term plan is to raise enough funding to code it from scratch but I am using Adalo now as a prototype as proof of concept.

---

<div class="post-metadata">

### Author: ![speakupboy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/speakupboy/32/30235_2.png) [@speakupboy](https://forum.adalo.com/u/speakupboy)
#### Post date: [June 8, 2023, 10:06am UTC](https://forum.adalo.com/t/encrypted-messages-in-adalo-database/39558/5 "2023-06-08T10:06:45Z")

</div>

Hi @AnnaMedic

IMHO you’d be hard pushed to get any Adalo app approved for medical information as it all needs to be assessed by the NHS (I seem to remember you were in the UK) to allow you to store PMI and there is zero chance Adalo meets the requirements as they are questionably even GDPR compliant. e.g. No list of downstream processors. Who’s their DPO? etc The chances of you even getting the information you need to satisfy compliance to the NHS assessors is pretty low, especially as they will be probably even politically against “upstarts”.

Proof of concept maybe- but you can’t put real data in there.

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)
#### Post date: [June 18, 2023, 10:06am UTC](https://forum.adalo.com/t/encrypted-messages-in-adalo-database/39558/6 "2023-06-18T10:06:49Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
