# Setting encryption on a datasource

**URL:** <https://forum.pydio.com/t/setting-encryption-on-a-datasource/5548>\
**Category:** Pydio Cells\
**Created:** [October 25, 2023, 11:47am UTC](https://forum.pydio.com/t/setting-encryption-on-a-datasource/5548 "2023-10-25T11:47:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sbs](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/sbs/32/1787_2.png) [@sbs](https://forum.pydio.com/u/sbs)\
**Post date:** [October 25, 2023, 11:47am UTC](https://forum.pydio.com/t/setting-encryption-on-a-datasource/5548/1 "2023-10-25T11:47:04Z")

</div>

For first post, please answer the questions below!

### Describe your issue in detail

I would like to enable data source encryption on a data source currently holding data, which is not encrypted (~30GB).  
If I understand correctly, the current data will not be encrypted, but will remain available?  
Any data uploaded via the web interface will be stored encrypted using random key, random key are stored encrypted with the master key (which is stored in the docker key ring - I am using a docker for pydio).  
What happens if I change the encryption key? All previously encrypted data is “lost”?  
What If I later decide to disable encryption? Encrypted data will be decrypted?

We also use ftp + resync to upload big files to the pydiocell server. How does this work with encryption?

### What version of Cells are you using?

Pydio-Cells Home 4.3.0

---

<div class="post-metadata">

**Author:** ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)\
**Post date:** [October 26, 2023, 6:23am UTC](https://forum.pydio.com/t/setting-encryption-on-a-datasource/5548/2 "2023-10-26T06:23:56Z")

</div>

> [@sbs](#):
>
> We also use ftp + resync to upload big files to the pydiocell server. How does this work with encryption?

This for sure won’t work. FTP + reync is a kind of “hack” that short-cuts Cells layers.  
but you can try with the cec or else to upload your big files in a “supported” way.  
Let us know if it is a blocker and we can then have a look at your other questions

---

<div class="post-metadata">

**Author:** ![sbs](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/sbs/32/1787_2.png) [@sbs](https://forum.pydio.com/u/sbs)\
**Post date:** [October 26, 2023, 10:51am UTC](https://forum.pydio.com/t/setting-encryption-on-a-datasource/5548/3 "2023-10-26T10:51:05Z")

</div>

Hello,

ftp is the only reliable solution I have found to have people upload 5+ GB files to cells.

If these files remain not encrypted, this is not an issue for me, as long as we can use the web interface to share them.

Regards,

---

<div class="post-metadata">

**Author:** ![sbs](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/sbs/32/1787_2.png) [@sbs](https://forum.pydio.com/u/sbs)\
**Post date:** [November 3, 2023, 6:55pm UTC](https://forum.pydio.com/t/setting-encryption-on-a-datasource/5548/4 "2023-11-03T18:55:03Z")

</div>

?? no answers to my other questions??

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/6/61f19fa52ec15fd4250db51aea351adba0e831fd.png) [@system](https://forum.pydio.com/u/system)\
**Post date:** [January 2, 2024, 6:55pm UTC](https://forum.pydio.com/t/setting-encryption-on-a-datasource/5548/5 "2024-01-02T18:55:06Z")

</div>

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