silas

joined 1 year ago
MODERATOR OF
pwa
[–] [email protected] 5 points 11 months ago

Hey, it works! 🎉

[–] [email protected] 11 points 11 months ago

Thanks! At this point in time, it’s definitely the design and user-interface. I’m fine-tuning Lemmynade to look clean and feel smooth on every size of device, with touch-friendly gestures and micro-animations. It’s filled with sweeping community banners and colorful indicators to make it feel more alive.

The long-term goal is to be an all-in one website for powerful searching, dead-simple Lemmy onboarding, community discovery, realtime updates, shareable links, and great mod tools. But we need to kill off the bugs and polish things up first before we get there 🙂

[–] [email protected] 3 points 11 months ago

Thanks, much appreciated!

[–] [email protected] 5 points 11 months ago
[–] [email protected] 3 points 11 months ago (1 children)

Looks awesome!

[–] [email protected] 6 points 11 months ago* (last edited 11 months ago)

Yep, that’s OAuth you’re talking about! It needs to be implemented into Lemmy directly first before any apps or clients can upgrade to it. I’m not too clear where we are in the conversation, but I know one point discussed is that OAuth (and especially another method called OIDC) lean towards something centralized for authentication, and that goes against the decentralized nature of Lemmy.

For now, the best things you can do as a user is:

  1. Decide which apps, clients, and developers you trust. Inspect privacy policies, ask questions, and review code if possible
  2. Enable 2-factor authentication
  3. Use a throwaway or aliased email (through SimpleLogin or similar)
  4. Use a unique password—one that isn’t used for any other accounts you have
[–] [email protected] 13 points 11 months ago (3 children)

I’m building [email protected] and can answer any questions. Each app and client handles differently, but for Lemmynade:

  1. You type in your instance, username/email, and password into Lemmynade and tap “Submit”
  2. After tapping submit, your username and password is sent to Lemmynade’s backend server to process securely (this is more secure than doing some of the next steps directly in your browser)
  3. Lemmynade’s backend server immediately verifies that your instance exists and that it’s a valid Lemmy instance (you don’t want to blindly send your password to some random server!)
  4. If the instance is a valid Lemmy instance, then your username and password is sent directly to your instance over an encrypted connection.
  5. If your username and password are valid, then your instance sends back a token (a bunch of random letters and numbers) to Lemmynade. This secure token can be used in place of your password so your actual password doesn’t have to be stored anywhere.
  6. Lemmynade then takes that token and saves it in in an http-only cookie on your own device. When it needs to authenticate or log in again, it uses this secure token to do it so you don’t have to keep typing in your password.

Throughout this process, nothing is stored, logged, or recorded anywhere. The only thing stored is the secure token, and that secure token is only saved on your own device. Lemmynade or anyone else cannot access your account unless they have access to your specific device.

There’s many more layers to this, but hopefully that explains the general idea. The main danger with the current method of authentication is that you are providing your raw password to a third party, meaning if someone wanted to be malicious it’s fairly easy to do.

A much better authentication method is called OAuth. With OAuth, you never give your password directly to the third party, so it’s far safer. A lot of us devs are pushing for this and hoping to see this down the road as it would give much more peace of mind to everyone. It’s only up from here!

[–] [email protected] 26 points 11 months ago* (last edited 11 months ago) (2 children)

Definitely take this all with a grain of salt—I am by no means a legal expert, this is just my advice.

Privacy Policy

Required by law in Germany if you are collecting any sort of data about your users (even if it is being collected by a third party through your app, or if it is entirely anonymous data).

Data Processing Agreement

Required by law in Germany for the same reasons as the Privacy Policy. This agreement makes it clear how your users’ data is used.

Cookie Policy

Required by law in Germany if your application uses cookies of any kind (mostly applies to web app and web technologies)

Terms of Service

Highly recommended. This may protect you immensely if and when you end up in a legal situation down the road.

Other

Otherwise, you should look into these as well if applicable:

  • EULA (if distributing your app to be run on someone else’s device)
  • DCMA Policy (if you host and share any user-generated content)
  • Return Policy (if you are selling anything)

These documents matter most if (1) there is money involved or (2) when you are receiving, processing, storing, or sharing user-submitted content or any data about your users. This is because you are less likely to end up in a legal mess if you’re not taking people’s money or data.

Starting out, you can find templates for these online. A template will be better than nothing at all. Then, if you are able down the road, you can hire a legal professional to write and review your documents for you. A legal professional might recommend more specific documents or different versions of the same document as well.

Not sure about Germany, but in the United States it’s fairly inexpensive to start an LLC. You can then put legal documents under that new entity instead of your own personal name. This can protect you and your own belongings from any unfortunate financial or legal situations.

Again, if you’re not receiving money or any user data, you don’t have to worry quite as much. However, it never hurts to play it safe. Mistakes happen and anyone can get sued.

[–] [email protected] 2 points 11 months ago (2 children)

Do you have to manually approve every single script, even if it’s from the same origin as the site you’re visiting?

[–] [email protected] 13 points 11 months ago

We’ve had a few of these built on my planet too actually

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

I’m very close to releasing [email protected] for testing, and it has this! I know there’s a couple other apps out there that support this too. Mod resources are scarce right now, but us devs are hard at work to bring some great tools the table. I think this is one of the next big steps to seeing Lemmy thrive long-term. It’s only up from here!

view more: ‹ prev next ›