this post was submitted on 14 Aug 2025
163 points (93.6% liked)

Ask Lemmy

34020 readers
1732 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 2 years ago
MODERATORS
 

I support free and open source software (FOSS) like VLC, Qbittorrent, LibreOffice, Gimp...

But why do people say that it's as secure or more secure than closed source software?

From what I understand, closed source software don't disclose their code.

If you want to see the source code of Photoshop, you actually need to work for Adobe. Otherwise, you need to be some kind of freaking retro-engineering expert.

But open source has their code available to the entire world on websites like Github or Gitlab.

Isn't that actually also helping hackers?

you are viewing a single comment's thread
view the rest of the comments
[–] Capricorn_Geriatric@lemmy.world 12 points 13 hours ago

It's not "assumed" to be secure.

It's out there and visible for all to see. Hopefully, someone knowledgeable has taken it upon themselves to take a look at the software and assess its security.

The largest projects, like all the ones you named are popular enough that there's no shortage of people taking a peek.

Of course, that doesn't mean actual security audits are uncalled for. They're necessary. And they're being done. And with the code out there, any credible auditer will audit all the code, since it's availiable.

Compare that to closed-source.

With closed-source, the code isn't out there. Anyone can poke around, sure, but that's like poking a black box with a stick. It's not out there. You can infer some things, there are some source code leaks, but it isn't all visible. This is also much less efficient and requires much more work for a fraction of the results.

The same goes with actual audits. Usually not all source code is given over to the auditers, so some voulnerabilities remain uninspected and dormant.

Sure, not having the code out there is "security". If someone doesn't see the code, it's much harder to find the weakness. Harder, but not impossible.

There's a lot of open-source software. There's also a lot closed-source software, much more than the open-source kind, in fact.

What open-sourcing does is increase the number of eyes looking at the code. And each of those eyes could find a weakness. It might be a bad actor, but it's most likely a good one.

With open source, any changes are publically visible, and any attempt to sneak a backdoor in has a much higher chance of being seen, again due to the large number of eyes which can see it.

Closed-source code also gives lazy programmers an easy way out of fixing or not introducing vulnerabilities - "no one will know". With open source, again, there's a lot of eyes on the code - not just the one programmer team making it and the other auditing it, as is often the case.

That's why open source software is safer in general. Percisely because it's availiable, attacking it might seem easier. But for every bad actor looking at the code, there's at least ten people who aren't. And if they spotted a voulnerability, they'd report it.

Security with open source is almost always proactive, while with closed source it's hit-or-miss. Many voulnerabilities have to cause an issue before being fixed.