Hacker News new | ask | show | jobs
by choilive 987 days ago
A colleague of mine had to do this regularly when working on certain projects for the gov. It was an air-gapped environment. So no access to the internet.

This basically meant loading up a thumb drive of all the possible documentation he could get. You can use site archive tools to download an entire website's documentation. Depending on the complexity of what you want to build - you would also probably need to mirror a subset of your package manager i.e. npm mirror. Probably lots of eBooks, courses, tutorials. Nowadays maybe even a LLM might be a useful reference.

1 comments

kinda weird they airgap but allowed thumb drives.

that would be very hard for me though, coding without internet. he must be really good at his craft haha.

The one place I know that is this secure, you hand the thumb-drives to security who scan them and verify the contents are of no risk before handing them back. The same on exit.
I'm surprised they're permitting thumb drives at all. External drives are common though, usually specifically cleared one. Every gov't office and gov't related contractor I've been involved with got the memo over a decade ago that thumb drives are not to be trusted. They go through and whitelist specific external drives and also permit bringing in (and usually shredding after) optical disks (CD or DVD). Optionally they use a "data diode" to bring data into the network.

https://en.wikipedia.org/wiki/Unidirectional_network

I’m surprised they allowed security to review the contents, and didn’t just allow the thumb drives to flow in a single direction