this post was submitted on 04 Jul 2023
3520 points (96.2% liked)

You Should Know

33408 readers
1343 users here now

YSK - for all the things that can make your life easier!

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must begin with YSK.

All posts must begin with YSK. If you're a Mastodon user, then include YSK after @youshouldknow. This is a community to share tips and tricks that will help you improve your life.



Rule 2- Your post body text must include the reason "Why" YSK:

**In your post's text body, you must include the reason "Why" YSK: It’s helpful for readability, and informs readers about the importance of the content. **



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Posts and comments which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding non-YSK posts.

Provided it is about the community itself, you may post non-YSK posts using the [META] tag on your post title.



Rule 7- You can't harass or disturb other members.

If you harass or discriminate against any individual member, you will be removed.

If you are a member, sympathizer or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people and you were provably vocal about your hate, then you will be banned on sight.

For further explanation, clarification and feedback about this rule, you may follow this link.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- The majority of bots aren't allowed to participate here.

Unless included in our Whitelist for Bots, your bot will not be allowed to participate in this community. To have your bot whitelisted, please contact the moderators for a short review.



Partnered Communities:

You can view our partnered communities list by following this link. To partner with our community and be included, you are free to message the moderators or comment on a pinned post.

Community Moderation

For inquiry on becoming a moderator of this community, you may comment on the pinned post of the time, or simply shoot a message to the current moderators.

Credits

Our icon(masterpiece) was made by @clen15!

founded 2 years ago
MODERATORS
 

Edit: obligatory explanation (thanks mods for squaring me away)...

What you see via the UI isn't "all that exists". Unlike Reddit, where everything is a black box, there are a lot more eyeballs who can see "under the hood". Any instance admin, proper or rogue, gets a ton of information that users won't normally see. The attached example demonstrates that while users will only see upvote/downvote tallies, admins can see who actually performed those actions.

Edit: To clarify, not just YOUR instance admin gets this info. This is ANY instance admin across the Fediverse.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 31 points 1 year ago* (last edited 1 year ago) (8 children)

It's not just upvotes and downvotes. Instance admin also knows your email and can store your password in plaintext if they want to. It's up to user to decide whether to trust the instance admin

[–] [email protected] 31 points 1 year ago* (last edited 1 year ago) (1 children)

I think you need to clarify how they can see the password. It’s not stored in plaintext, but when the user logs in, the server administrator can see the password in the HTTP post data if they log it in the lemmy sourcecode. All apps are subject to this and it’s why to have to trust the instance owner.

[–] [email protected] 12 points 1 year ago

and also the reason not to reuse passwords

[–] klausklemens 14 points 1 year ago (3 children)

How do you know that an admin has my plain text password? Typically passwords are stored hashed. Do Lemmy instances not do this?

[–] Chreutz 21 points 1 year ago* (last edited 1 year ago) (1 children)

Check this comment for details on Lemmy's security. https://lemmy.world/comment/765991

TL;DR: Password security is fine. Server doesn't get your plaintext password.

[–] [email protected] 7 points 1 year ago (2 children)

I didn't read the source code too deeply, but it appears the server receives the password, and only then it is hashed. How does it work?

  1. POST -> HTTPS -> SERVER -> hashing
  2. hashing -> POST -> HTTPS -> SERVER

Is it option 1 or 2 (or other). If option 1 an evil admin can collect the password, or am I misinterpreting something?

[–] klausklemens 6 points 1 year ago* (last edited 1 year ago)

If the threat is an evil admin who can change the code it doesn't matter. The admin could change the server code to store unencrypted passwords, they could change the client code to send unencrypted passwords, they could make clients post plaintext passwords whenever you login. Hashing is damage control incase someone absconds with the password database.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

That code may be client-side code, some of it refers to forms etc. Not familiar with the frameworks though , so can't say for sure.

Edit: no, that makes no sense at all, now I look at it again.

[–] Rookiewtf 14 points 1 year ago

They do, but since lemmy is open source they can store it before hashing it, just use basic security practices and use a password manager

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (1 children)

I didn't look at Lemmy's source but I'm pretty sure it is hashed. The thing is, password is hashed in the database only to protect users in case database gets hacked. But a bad admin of the server can always just change the code and nobody would know. When it comes to websites, open source doesn't provide any additional security, since everything that happens on the server is a black box. I'm not an expert on this though. Correct me if I'm wrong

[–] PixxlMan 10 points 1 year ago

If it's hashed it's impossible to see your password (hashing is a one way process, it's not encrypted). However nothing prevents someone from running a modded instance if they want to harvest passwords.

[–] [email protected] 13 points 1 year ago* (last edited 1 year ago) (1 children)

What you are saying is somewhat misleading 😒
But did you know over 50k people can see your Facebook password 🤔

But seriously, everything you send to a website/server can, of course, also be seen by it.
This has always been the case everywhere. I am a little surprised that this is suddenly something new..

[–] [email protected] -1 points 1 year ago (1 children)

If you call someone out for lying at least address the issue.

[–] [email protected] 7 points 1 year ago* (last edited 1 year ago) (1 children)

Looking through the rest of the comments, I think there were already enough explanations.

Making the accusation towards Lemmy that admins can see passwords in clear text is misleading.
It suggests that this is different from other platforms, which it is not. All admins can get your password from/for their respective websites. Either by logging the traffic before the password gets hashed or by modifying the application so that the password gets transferred in plaintext. This applies to Lemmy, Facebook, Google and literally any other service where you enter a password.

[–] [email protected] -1 points 1 year ago* (last edited 1 year ago)

It suggests...

It doesnt. you interpret it that way. Thats fine, its your opinion. But please be a little more careful with those accusations.

[–] linearchaos 7 points 1 year ago* (last edited 1 year ago)

They could also track the IP address it came from and sell the data if anyone wanted it. I'm sure there are corroborating databases out there for IP address to people lookups

edit: One should also consider that Facebook and Twitter actively sell whatever data they have on you, along with the ability for people to put things in front of your face in all the places you tend to read things. At least on lemmy, you've got a volunteer admin that might have scruples.

[–] SuddenDownpour 5 points 1 year ago (1 children)

and password (unencrypted)

This should definitely be mentioned when you're creating an account. Also, how secure are usually lemmy instances?

[–] [email protected] 15 points 1 year ago

This is not the case at all and the parent comment was not clear

[–] justsomeguy 5 points 1 year ago (1 children)

They store unencrypted passwords in the year of our lord 2023? Be this real?

[–] [email protected] 25 points 1 year ago
[–] [email protected] 2 points 1 year ago (2 children)

password (unencrypted)

Seriously??? No hashing, no salting, no nothing??? WTF?

[–] [email protected] 7 points 1 year ago

Sorry. I was misleading there. I edited it. The password is hashed and salted. I meant that admin can collect the password in plaintext only if they wanted to

[–] [email protected] 4 points 1 year ago

I just thought the same thing. This cannot be true. I refuse to believe it

[–] blue_zephyr 1 points 1 year ago (1 children)

Jesus Christ that's a major security risk. Luckily I just created a random string for my password but imagine how many accounts those admins can hack by simply entering the same combination everywhere.

[–] MeanEYE 14 points 1 year ago (1 children)

It's not. No sane person these days keeps password in plain text and to the point there's no benefit in doing so. Hashed and salted is the correct way to go. Rids developers of any future troubles they might run into in regards to passwords. That said password can be stolen by anyone anywhere if one is not careful. It's essentially trust based idea. That's why two factor is a thing.

[–] MeanEYE 4 points 1 year ago

Also a reason why VPNs are not a security measure, rather a convenience way of working that's been rebranded these days as security measure. They claim they protect your privacy online, but all it does is changes originating IP address of request. If you browse anything through HTTP protocol they can easily see what you are browsing except now spying on a single person got a lot easier. You just go to one VPN provider and force them to hand over your data.