Prevent clients using RPC.All ?

Options

Hi there, correct me if this is already the case, but in a self hosted environment is it possible to prevent clients from calling RPCTarget.All, and instead only allowing them to call RPCs directly to the MasterClient?

There are many important RPCs that I really don't want any client to be able to send that out to everyone.

Thanks!

Comments

  • chvetsov
    Options

    hi, @Oliver123

    RPC operations are handled on server side as RaiseEvent operations. you can update self hosted in such a way that it will do what you want. I would recommend to create plugin for this case. than inside you will be able analyze an operation and either block it or modify it or just pass through


    best,

    ilya