How to configure Linux to only boot in my program

Kaushik Kale
I have my program made for working on Linux. However, now I want to
configure the Linux in such a way that when i start the tiny6410 device, it
will only open my program and when I close my program, the device will
shutdown. 

When i am running my program, nothing of the Linux should be accessible. 

One more thing that I want to do later is to put a write protection on the
SD Card where the software is loaded. Not the lock that is physically
available on the SD Card but a selective write protection that will ensure
that no one will be able to copy any files even if they are accessed from
the USB stick. 

Kaushik