"I need something like that"
string ctrlname = btn1;
this.ctrlname.Visible = false;
Why you would ever want to use code like that is not something I understand, but it can be done:
string SomeButtonName = "button1";
this.Controls[SomeButtonName].Visible = false;
"Or tell me the way to execute this code from the string"
string command = "this.btn1.visible=false";
execute(command);
This, a question of deferred compilation and execution of a string as C# code, is a much deeper question: you will find, if you search CP, several excellent resources on executing at run-time code in a string.
I am completely unclear how these two questions relate to the overall issue of permissions raised by your question.
But, hope this helps !