Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

111
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!