title: Recommended method to prevent any content inside iframe from setting cookies
body: <p>I get the content to be put inside an iframe from a source I do not trust. For a particular need to be met, I want the content (which might include javascript) to be unable to set cookies at all. What is the recommended method to achieve that?</p>
  
  <p>Edit: I recognize this is similar to <a href="https://stackoverflow.com/questions/3330906/disable-cookies-inside-a-frame-iframe">this question</a>. I should have mentioned this earlier, but the iframe has a cross-origin source. I want to disable the content inside from setting cookies even on its own source. Does sandboxing achieve that? Thanks.</p>