Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 968755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:32:03+00:00 2026-05-16T02:32:03+00:00

As far as I know, it’s really not possible, but I just want to

  • 0

As far as I know, it’s really not possible, but I just want to be sure before I’m moving to flash.

can I make an html5 game secure enough so people won’t be able to change their score and other variables while playing?

thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T02:32:04+00:00Added an answer on May 16, 2026 at 2:32 am

    since your users can see all the source code this is a rather complex problem.
    they can easily change any function or variable at runtime without your script ever knowing.
    even if use a complicated signing function to validate the results.

    and i am sorry but i don’t think colins way would work either. i could just change any input to make the server do whatever i want.

    maybe a constant monitoring of the score thru the server would be able to detect any impossible changes. still someone cheating in the realms of “possible” results would be uncaught.

    in the end i would say u can only make it rather difficult to cheat but not impossible for someone with a little bit of skill.

    don’t use it for any games where u can win something by scoring the highest.

    since the matter seems rather puzzling to people:

    flash delivers compiled swf files, that cannot (since flash 9) be decompiled to useful.smth
    so u can put a secret in there which you use to sign the score.
    i.e. send the score and the md5 of score+secretkey. so the server (which also knows the key, can check it).

    furthermore flash variables are not so easy to temper with (you would have to find them in ram and alter them there, which is a very complex task), while javascript vars can be easily edited using, for example, webkit developer tools

    update

    actually i correct myself => all swfs can be decompiled
    this just leaves us with code obfuscating and “encrypting”

    i guess the world is a bad place after all 😉

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

as far i know how to get innerHTML but now i want to get
I have searched high, low, far and wide but can not find anything on
So far I know that FileSystemWatcher can look into a folder and if any
As far as I know, C2DM is per app per device thing..but my question
As far as I know de standard folder for Users (usually C:\Users) can be
As far I know this is not supported for asp.net projects. It's quite handy
Python, as far as know, does not allow modification of an archived file. That
so far i know of ab and httperf, both can check the performance of
I am new to Octave/Matlab so so far I know, you can apply matrix
One Quick Question.... As far I know, Google Play does not provide any API

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.