Is it possible to encrypt and decrypt video files in Appwrite storage, which are bigger than 20mb?
- 2
- Flutter
- Web
- Cloud

I want to make sure that everything that is stored on Appwrite should be encrypted. I'm using flutter to create a web app. I have also tried doing this:
- created 2 buckets (pendingVideos, EncryptedVideos)
- User first uploads a video to pendingVideos
- An Appwrite function is called which encrypts this video (in pendingVideos) and stores the encrypted video in EncryptedVideos.
- After encryption, I delete the video from the pendingBucket.
But, I'm facing a big issue that the file is encrypted as a whole in one go, same goes for decryption. So, if a user wants to see the video, then how can I stream this encrypted video? I don't want the user download the whole video, or temporarily store a decrypted video in another bucket just for streaming, I want it to decrypt on the go.
How can I do it? Or is there any better approach to do the same?

Not sure exactly...maybe you can search online for some encryption algorithm that will work for streaming video files
Recommended threads
- Oauth2-Error 400Invalid `success` param:...
My code: > await new Account(client).createOAuth2Session(OAuthProvider.Google, 'https://www.mydomain.online/home', 'https://www.mydomain.online'); I ha...
- Issue with `listDocuments` when using qu...
Hello, Appwrite team! I'm having an issue with `listDocuments` when using query modifiers: **Environment:** - Self-hosted Appwrite (`Version 1.4.13`) installe...
- Function gives unauthorized error when w...
I am on free tier. I have function that has three attributes: 1. A stand alone attribute (required) 2. A many to one relationship attribute 3. A many to man...
