2
submitted 3 years ago by ndr@lemmy.world to c/selfhosted@lemmy.world

Let’s say I self-host something like wefwef (Lemmy front end) locally, so I can see it on http://localhost:port on the machine where it’s running with Docker, and also on my other devices on my same local network by accessing http://192.168.something.something:port

Now, if I were to input my login credentials on that (so without HTTPS), how dangerous is this?

all 6 comments
sorted by: hot top new old
[-] vegetaaaaaaa@lemmy.world 2 points 3 years ago

Your LAN router/switch will see the credentials unencrypted. An untrusted device on your network could perform ARP spoofing, pretend to be 192.168.something.something, and intercept the credentials. Do you trust all devices on your network?

It's better practice (and simple enough) to setup HTTPS with self-signed certificates and have the browsers manually accept the cert on first connection.

[-] ndr@lemmy.world 2 points 3 years ago

I do trust the devices on my network but I guess I’ll probably look into how to setup HTTPS.

[-] peregus@lemmy.world 4 points 3 years ago

IMHO, HTTPS is not necessary in a small home network.

this post was submitted on 01 Jul 2023
2 points (100.0% liked)

Selfhosted

61752 readers
547 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS