I need some api functions not to be available to the client, but to be available from claud script
how can I do this?
I need some api functions not to be available to the client, but to be available from claud script
how can I do this?
Sure, you can use API Access Policy to control access to the client APIs you specify, for more details please check out this doc: https://docs.microsoft.com/en-us/gaming/playfab/api-references/api-access-policy.
In addition, recently we modified the UpdatePolicy and GetPolicy API and the SDKs hasn’t kept up yet: https://community.playfab.com/questions/50207/cannot-change-api-policy.html
I manage to change the policy but the point is that you need to deny access from the client side of "Group/CreateGroup", but so that it is available in cloudscript.
how do I do this?
Group/CreateGroup belongs to Entity APIs, currently, PlayFab does not support blocking them. however, you can restrict the permissions of players by modifying read/write permission to some sepcific entities, please check out this thread for more details: https://community.playfab.com/questions/45471/which-policy-should-i-edit-for-groupsapi-and-dataa.html
2 People are following this question.