Ask HN: Security for the Small Developer

I’m overloaded with the amount of information about what I could be doing to secure myself and with how terrible things are about to become, or so they say. Do I need to spend hours and hours securing myself or are there some basic things I could do that would be good enough?

And I’m talking about things like securing my laptop and my Web server and my Gmail and my passwords. Do I need a physical key? What if I’m a kind of person who loses things like that? Do I need tailscale?

Is there a simple pattern I can follow here?

10 points | by dvduval 2 days ago

13 comments

  • thiagogonzagade 7 hours ago
    imho depends on the level of security you want, if you're a security freak who covers your laptops mic and cam or you just dont want anyone hacking your banking account and take your money, i mentioned it in another thread, assume that you're life is public, with recent breaches and security incidents that exposes your name, location, email, even passwords with the breaches of 1Password and lastpass. what I do is the following: 1. self host my own secret manager (I use vault warden in a secure VPS accesible only through wireguard) 2. backup, I have at least an external backup (I have a personal NAS with 4 disks, 1 of them parity in case of a disk failure, but you dont need to spend that much money, an external drive or S3/VPS storage would do the trick) in a place I can exersise restore, it's important that from time to time you exersice the restoration to make sure you're able to do so when needed 3. simple monitoring, if you have a vps, connect to your computer through wireguard, send basic monitoring to grafana, like if its online or not, enable audit loging and send there too so you can evaluate if anyone rather than you are doing something, scan your home router open ports, in case you have ssh enabled in your laptop make sure you have fail2ban and please use pub/priv key auth instead of password 4. to avoid exposing your home ip you can always configure a vpn + dnssec this way even your provider wont be able to track the websites you visit

    i think that's it :)

    • tptacek 5 hours ago
      DNSSEC does nothing at all to prevent providers from seeing what DNS names you're looking up.
  • elevation 1 day ago
    First you need a threat model.

    For instance, the single largest threat against your access to Gmail/gsuite is Google suddenly locking you out. You’ll never know which of your actions triggered their fraud/abuse detection scheme, and your invoice to them is not large enough to warrant them paying a human to adjudicate your claims.

    The pattern here is to use smaller, growing providers who are not so ready to kick you out because of something you typed in one of your office documents once.

    • elevation 1 day ago
      Regarding Web server, it helps to know how you’re using them. Is this a server you only access yourself? Tailscale is an awesome layer of protection for that.

      If the Web server is public, you probably want it behind Cloudflare.

      But in general, more than ever, you want simplicity. You want a minimal operating system with as a little surface to the outside as possible, configured with a few apps as possible, require authentication to allow as few users as possible.

  • recued 1 day ago
    I think the more secure concern is a different perspective: How should you secure your passwords or keys, or how should you backup your important keys.

    password apps, passkeys, two-factor authenticators, or plain text passwords all have their own benefits and most likely it comes down to personal conveniences and preferences.

    What matters more is that you have a secure way to backup securely and restore if anything bad happen.

  • potatso 1 day ago
    1. always uses two-step factory Verification for Gmail and Google. 2. uses rather linux on luks or bitlocker on windows than clear
  • rramadass 1 day ago
    NIST has something just for you - https://news.ycombinator.com/item?id=50349123

    Start with the above and branch out.

    > Do I need a physical key? What if I’m a kind of person who loses things like that?

    For this, use the most simple commonsense thing possible. Have a small diary/notebook (label it "Top Secret" :-) and write down every account id/email id/bank account/etc. and their corresponding passwords, pins, phone unlock security patterns etc. Keep this safe only at home and never take it anywhere else. When you update something in the real world, update the status in the notebook immediately by striking out the old line and adding a new line with updated date. It should always reflect the current status with its history.

    • drltaidev 1 day ago
      That looks interesting to me, getting into solopreneurship. I have definitely thought about this, the risk is essentially all mine as a solopreneur... I have decent security standards, but it can always be improved. Even if I'm not a big target, it would still be very painful to lose access to my stuff (or to have databases or codebases deleted somehow).
  • techprovidence 5 hours ago
    [dead]
  • Blaze283 14 hours ago
    [dead]
  • JuneBaran 20 hours ago
    [dead]
  • ganyanthq 1 day ago
    [dead]
  • Broken0 21 hours ago
    [dead]
  • Rishi_Borah_033 1 day ago
    [dead]
  • robertpaschal 1 day ago
    [dead]