I need to deploy a web application on any mini-computer, I've chosen Rasperry Pi (or Pi 2) as platform for this task. However there are to condition that have to be met:
- I need to restrict access to local file system, all hardware will be at client's place, so he will have an unlimited access to the SD card.
- The whole boot process have to be unattended (no password entering etc.)
In fact I only care about denying access to read script files (served by apache).
Naturally I was thinking about full partition encryption, however I don't see a secure way to store the private key.
Honestly, this problem is harder to solve than I've suspected. Do You guys have any other ideas?