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
- 01Why I'm running my home like a small office
- 02What a read-only audit of my network found
- 03The first changes, and the ones I said no to
- 04Reuse first, build only what's missing
- 05Fifteen decisions before the first line of code
2. Remote access and keys
- 06One way in from outside
- 07An address that keeps itself up to date
- 08Where the passwords live
- 09Keys that can do one thing
3. Monitoring
- 10Is it my network or the internet provider?
- 11A watcher outside the house, and backups I've restored
- 12The drill that found the bug
- 13Alerts that only reach my phone when something needs me
- 14I had the monitor audit itself
- 15Teaching the hub to stop crying wolf
4. The network redesign
- 16"Don't take down my internet": the routine before every change
- 17The firewall upgrade, two days late
- 18Keeping the plan when the builder wanted to drop it
- 19Two Wi-Fi drops, and knowing when to stop
- 20The router at 90 percent
- 21Moving 40 gadgets without touching each one
5. The media server
6. The control center
- 24An overnight prototype, and bars instead of dials
- 25A nice hub, tucked away in a drawer
- 26Instructions for a phone I don't own
- 27Three checks before anything goes live
- 28Buttons with a seatbelt
- 29Rewind: replaying a Wi-Fi outage
- 30"I just want a more sensible layout"
7. Security
- 31A security scoreboard that started at a D
- 32Who's knocking: a security tab in two evenings
- 33Matching every program to the public flaw lists
- 34A DNS log for the house
- 35A weekly scan that can't annoy anyone
- 36The week of the scary flaw list
8. A private AI assistant
9. How the work got done
- 38Keeping a non-developer in charge
- 39A house manual that rebuilds itself every night
- 40My AI assistant keeps blocking itself, and I'm glad
- 41What it cost, what's next, and what I'd bring to an office
10. After the rebuild
- 42The backup that filled its own disk
- 43Two messages, one second, wrong order
- 44My help tool said "fine" at 7 megabits
11. Groceries
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.