Creating Read-only parameter via LUA Script

Hello, I wan to create a custom parameter in ArduCopter via a LUA script.
The parameter should be read-only for users but LUA scripts must be able to set and save the values for the param.

Currently I am able to create a read-write param through LUA which is accessible through the GCS. But I want that it should not be writable from the GCS and only LUA script can write the param.
Any way to do this?

Thanks!

At this moment all you can do is to check the value of the param periodically from your script and overwrite it if user changes it.

Okay, thanks.
Can definitely use this approach for preventing writing via GCS