Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

112
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda