We'd like to be able to disable PlayStream events from the client, and only write them from the server. Is this possible?
We'd like to be able to disable PlayStream events from the client, and only write them from the server. Is this possible?
You can refer to API Access Policy - PlayFab | Microsoft Docs to call UpdatePolicy to customize the API policy. And refer to the code below to disable the client WritePlayerEvent, I tested it via Postman.
{ "PolicyName": "ApiPolicy", "Statements": [ { "Resource": "pfrn:api--/Client/WritePlayerEvent", "Action": "*", "Effect": "Deny", "Principal": "*", "Comment": "Deny client WritePlayerEvent call" } ], "OverwritePolicy": false, "PolicyVersion": 6 }
2 People are following this question.