question

Ozan Yilmaz avatar image
Ozan Yilmaz asked

Which policy should I edit for GroupsAPI and DataAPI?

Hello,

I want to block some API to make a secure system in the game. For example; CreateGroup, CreateRole in GroupsAPI or SetObjects in DataAPI or any other C.

I know that I can block some ClienAPI by using UpdatePolicy function in AdminAPI. I was wondering if it's same for all other API such as GroupsAPI, DataAPI, CloudscriptAPI etc. It may be different because I need to use entities for those API. There is also Entity Global Title Policy under the API Features tab. Should I need to edit that?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Hernando avatar image
Hernando answered

Currently, PlayFab does not support blocking the Entity API from the player, and GroupsAPI, DataAPI all are subsets of Entity API. However, as a workaround, you can restrict the permissions of players by modifying read/write permission to the entity data. More information please refer this thread: https://community.playfab.com/questions/45104/distribute-file-from-entity-files.html

Besides, you can try to make a feature request about it here: https://community.playfab.com/spaces/24/index.html, more votes from other users can help with the priority.

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ozan Yilmaz avatar image Ozan Yilmaz commented ·

So, does it mean Entity API and its subsets are controlled by Entity Global Title Policy?

0 Likes 0 ·
Hernando avatar image Hernando Ozan Yilmaz commented ·

You cannot control whether users are able to call an Entity API, but you can determine which Entity Data the user has access to.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.