How to create a dynamic property such that we can change the value of the property without starting the server

Can any one help me in marking a property as a dynamic so that we can change the value without re starting the server . I have heard about the transient block. But how do I get my applications property under the transient block.

What kind of property do you want to change?

My Application related property like security.enabled=false
Want to change it to true/false dynamically using the transient block

Enabling security is not a transient setting so I do not believe that is possible.

Can you tell me what kind of application custom settings can get into the transient block. Is it possible to add some application properties to the transient blocks.?
What is the procedure for achieving it.