I have a LAMP system running (of an SD card on small computer) that monitors some arbitrary data. I return the data as JSON from the page so that it can be used in whatever reason its fit for.
I would like to protect the PHP SOurce files and other code from prying eyes. I know that the root and user password MUST be very strong to prevent brute or lucky entry.
How would I prevent users from accessing any data within the Linux OS (/usr; /etc) when they take the SD card out and try and mount it or extract it on another system?
I found this for FreeBSD how can I configure it for Ubuntu?