Blog · A home network run like a small office

Keys that can do one thing

Every automated key gets the smallest job it needs, and I took back one I'd handed out.

In this series · Chapter 2, Remote access and keysShow all 49 partsHide the list

1. Where it started

  1. 01Why I'm running my home like a small office
  2. 02What a read-only audit of my network found
  3. 03The first changes, and the ones I said no to
  4. 04Reuse first, build only what's missing
  5. 05Fifteen decisions before the first line of code

2. Remote access and keys

  1. 06One way in from outside
  2. 07An address that keeps itself up to date
  3. 08Where the passwords live
  4. 09Keys that can do one thing

3. Monitoring

  1. 10Is it my network or the internet provider?
  2. 11A watcher outside the house, and backups I've restored
  3. 12The drill that found the bug
  4. 13Alerts that only reach my phone when something needs me
  5. 14I had the monitor audit itself
  6. 15Teaching the hub to stop crying wolf

4. The network redesign

  1. 16"Don't take down my internet": the routine before every change
  2. 17The firewall upgrade, two days late
  3. 18Keeping the plan when the builder wanted to drop it
  4. 19Two Wi-Fi drops, and knowing when to stop
  5. 20The router at 90 percent
  6. 21Moving 40 gadgets without touching each one

5. The media server

  1. 22Bringing the media server back, and keeping it up
  2. 23The movie that stuttered on one TV

6. The control center

  1. 24An overnight prototype, and bars instead of dials
  2. 25A nice hub, tucked away in a drawer
  3. 26Instructions for a phone I don't own
  4. 27Three checks before anything goes live
  5. 28Buttons with a seatbelt
  6. 29Rewind: replaying a Wi-Fi outage
  7. 30"I just want a more sensible layout"

7. Security

  1. 31A security scoreboard that started at a D
  2. 32Who's knocking: a security tab in two evenings
  3. 33Matching every program to the public flaw lists
  4. 34A DNS log for the house
  5. 35A weekly scan that can't annoy anyone
  6. 36The week of the scary flaw list

8. A private AI assistant

  1. 37A private AI for the house that can't touch anything

9. How the work got done

  1. 38Keeping a non-developer in charge
  2. 39A house manual that rebuilds itself every night
  3. 40My AI assistant keeps blocking itself, and I'm glad
  4. 41What it cost, what's next, and what I'd bring to an office

10. After the rebuild

  1. 42The backup that filled its own disk
  2. 43Two messages, one second, wrong order
  3. 44My help tool said "fine" at 7 megabits

11. Groceries

  1. 45Reading our grocery orders until the store locked us out
  2. 46I was testing a cart button when I found out nobody wanted one
  3. 47My first grocery rule would have nearly doubled what we buy
  4. 48The third store was the cheapest on nothing
  5. 49The house AI's only grocery job is picking a picture

An access key has the rights of whoever created it. If I create a key with my admin account and hand it to a script, that script is now me. One line in the plan from the first week shaped every key in the project: automation gets its own limited account, and monitoring gets a view-only one.

Read-only first

The audit at the start used a key that could see settings but change nothing. Monitoring kept working that way for weeks. Most of what a control center does is read, and reading should never need permission to change things.

A key that can restart one thing

When the hub needed a button to restart the media server, it got its own key for the PC that runs it. On that PC, the key is tied to a single script. With the new key, one status check worked and three other commands were refused, which is exactly what we tested for. The test restart came back in 7 seconds.

The router got the same treatment. For the hub's buttons, like pausing a device, I created a limited router user with rights to one part of the router's software and none anywhere else. I set it up myself from two screenshots, because creating accounts is a step I keep for myself.

Cleaning up old keys

On October 17, I asked the assistant to fix the open items on the security scoreboard. One was an old key it had created early on and no longer used. Deleting it failed: the address it had recorded for that step was a guess, and the router answered "not found." When the assistant tried to probe for the right address, its own safety check refused. Poking around in how a device handles credentials is exactly what that check is for.

So it stopped and gave me a one-minute click-through instead. The scoreboard showed the item as "partly done" until I deleted the key. Two days later it read Done.

Taking back the keys to the router

The biggest key I handed out was command-line access to the router, which I switched on to track down a performance problem. Once the problem was solved, the assistant suggested turning it off. I said I'd rather it kept the access.

By that evening, I'd changed my mind. "You are right. I just disabled it." The assistant confirmed the router now refused that kind of connection, then deleted the saved password and connection records on its side. Access you don't need today is risk you carry for nothing.

That's the rule I'd pass along: find out who and what holds admin rights, including scripts and outside vendors, and give each one the smallest job it needs. Temporary access gets a date, and then it comes back.

Have something in mind?

Tell me what you're trying to do. I reply within two business days.

Get in touch