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

117
Vistas
JS sandbox iframe no external resources

I would like to show email content on a webApp but would like to prevent js execution and loading resources that are not embedded(base64). Is there a feature that can disable such things on an iframe or some thing like that? Or do i need to parse and remove unwanted data by myself (Really not my favorit thing to do and will be a hard to keep it working properly.)?

To prevent JS execution i can use the sandbox attribute: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox

But i don't know how i can prevent access to external resources (Images, Audio, CSS, ...) in an easy way. I could parse and modify the content but that sounds like a good way to mess up the security aspect of my goal ^^.

about 4 years ago · Juan Pablo Isaza
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