https://tech.iprock.com/archives/20584
Read-only Raspberry Pi script: how to secure a micro SD card so nothing can be written to it