I've messed with a program that "spoofs"... If I understand correctly, you wanted to give public access to an ID through passing out the security information to utilize it... That is deadly.
While not technically impossible, seeing how you could always, say, intercept packets that are sent from the server to the players to modify data (unless they're encrypted, I wouldn't know), or use a memory registry modifier to edit the values in the server program's RAM memory, it can't be done though script, which is a good thing, and that was OP's question.