question

mfdemir3 avatar image
mfdemir3 asked

Can't quite get Policy JSON work as I wanted

Hi, I wan't to edit Policy JSON to make my game more secure but it seems like your Policy JSON documentation is obsolete and I couldn't make it work. I want to restrict all calls except a few requests like ExecuteCloudScript, LoginWithAndroidDeviceID etc.

I've tried editing Policy JSON as following to deny every request as a starting point but I couldn't even deny anything. Can you help me how to set up policy json? Thanks

[
  {
    "Action": "*",
    "Effect": "Deny",
    "Resource": "*--*",
    "Principal": "*",
    "Comment": "Deny everything",
    "Condition": null
  }
]
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

·
mfdemir3 avatar image
mfdemir3 answered

Ok, I've figured out that what I needed was ApiPolicy and I was trying to edit ENTITY GLOBAL TITLE POLICY. Now I can restrict client api calls to what I want

10 |1200

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

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.