How to only let some specific users access RPC method ?

I just made turn based game that when it's some character's turn, all you need to do is click that character to control it, but all the methods are RPC so player 1 can control player 2 party and player 2 can control player 1 party, can I limit some specific user to control some specific RPC method ? thanks !