Function use only proxy mode

question

#1

Greetings. I want to know if it is possible to make the possibility of allowing only the use of a proxy mod?