• jol
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 months ago

    But isn’t that inherintly dangerous? I don’t exactly trust any random fedi server to embed it in my website.

    • keegomatic@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      4 months ago

      Kind of, in that embedding anything from a site you can’t trust is inherently risky, but I’d say it’s not actually that bad, for two reasons:

      1. iframes are much better sandboxed than they once were, and are much safer now than their reputation suggests
      2. you probably wouldn’t be embedding from any old instance; I assume you could embed from an instance you use and trust as long as the post is federated to it