• Mr. Satan@lemmy.zip
    link
    fedilink
    arrow-up
    75
    ·
    23 hours ago

    Security through obscurity is not security. I see no reason why source maps should be unavailable.

    • mack@lemmy.sdf.org
      link
      fedilink
      arrow-up
      0
      ·
      5 hours ago

      depends.

      if we’re talking about a personal website nobody will care. if you are a multibillion company and there’s the risk that literally anyone can create a 1:1 clone of your services… yeah that’s a bit of a trouble

        • mack@lemmy.sdf.org
          link
          fedilink
          arrow-up
          1
          ·
          2 hours ago

          no it doesn’t, and I am very aware that if anything runs on someone’s computer then it can get replicated. but it gets slightly harder, also to reverse-engineer it or find potential fallacies. as well as source maps on prod are just a waste of bandwidth

          • Mr. Satan@lemmy.zip
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            5 minutes ago

            Dunno, this “harder” argument while valid sounds just like false security. That’s why I don’t see much weight in it.

            As for bandwidth, source maps are not automatically pulled from server, so it also seems like a false issue to me.

      • Phoenixz@lemmy.ca
        link
        fedilink
        arrow-up
        35
        ·
        18 hours ago

        Ding ding ding

        Open source code is usually quite nice and well done because money pressure is way less of an issue and everyone knows people will be looking at your code

        • ulterno@programming.dev
          link
          fedilink
          English
          arrow-up
          10
          ·
          11 hours ago

          If you look at the casual code that I have shamelessly made public on my GitLab, that might change your mind on that.

        • Lifter@discuss.tchncs.de
          link
          fedilink
          arrow-up
          9
          arrow-down
          1
          ·
          16 hours ago

          That’s probably also why development is usually really slow and most maintainers can’t keep up/give up.