Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

158
Vistas
Presigned S3 URL with client side encryption

I have searched for a long time but see noone has below scenarios so very appreciate if someone can help.

We want to download big file using S3 presigned URL but we are using client side encryption using KMS, for security reason, to upload file.

One of the option is to use AWS Encryption SDK to encrypt file in browser, upload to S3 in backend then decrypt it in browser after getting file from presigned URL. But i am concerned about credential exposure in user browser. In AWS docs https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/js-examples.html()

Begin by providing your credentials to the browser. The AWS Encryption SDK for JavaScript examples use the webpack.DefinePlugin, which replaces the credential constants with your actual credentials. But you can use any method to provide your credentials. Then, use the credentials to create an AWS KMS client.

  1. Do you have any solution to this ?
  2. If using AWS SDK, anyway to avoid credential exposure if users use F12 ?
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

But i am concerned about credential exposure in user browser.

Using the client side encryption it is assumed the encrypted secret is random and unique/specific to the content (using the envelope encryption).

So if the client is entitled to the content (to be downloaded), then it may ok to give the client the key to decrypt the content (you may consider the key as part of the content) . The key (data key) must not be used to decrypt anything else.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda