Is there any way to protect shell= on win3.1 system.ini ?

I want to build a shell program for win3.1 .
Now, everyone with knowledge on how to edit ini files can change
the system.ini's shell= and -> off with my shell !!!

Is there anyway to protect it (a driver/dll/something else) from
being changed ? or can I detect this change ?

Let me know if you have something.

Thanx !