Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by Benjamin Bennett · Jul 22, 2021 at 02:31 AM ·

How can I prevent clients from calling "PlayFabClientAPI.UpdateUserData"

I'm not actually using that field, but I'd like to prevent malicious clients from potentially writing to their accounts in anyway.

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by SethDu · Jul 22, 2021 at 03:06 AM

Player Data is used to store information that doesn't affect gaming fairness, for example, personalize data like signature, clothing settings, etc. It is reasonable to keep this feature for players.

However, if you want to disable it, you can edit the client API permissions to deny the access of players. Please refer to the document on API Access Policy - PlayFab | Microsoft Docs.

You may call Authentication - Get Policy - REST API (PlayFab Admin) | Microsoft Docs and Authentication - Update Policy - REST API (PlayFab Admin) | Microsoft Docs to review and modify the policy. Please be very careful when updating and make sure OverwritePolicy property in the request is set properly (set it true only when necessary).

Comment

People who like this

0 Show 2 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Benjamin Bennett · Jul 22, 2021 at 05:16 AM 0
Share

Is there any concern about a user potentially spamming the API with bogus data? I'm currently in the process of trying to make my game "hack proof"

avatar image SethDu ♦ Benjamin Bennett · Jul 22, 2021 at 05:56 AM 0
Share

PlayFab has an upper bound limit of 100 API calls per 2 minutes per IP address. Exceeding limit will result in API throttling. In addition, the API frequency usually is determined by your design, when malicious behavior is detected, you may simply ban the player or IP address.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    4 People are following this question.

    avatar image avatar image avatar image avatar image

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges