Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. This is one of my concerns with HTML 5

This is one of my concerns with HTML 5

Scheduled Pinned Locked Moved The Lounge
htmlcombeta-testingcode-review
44 Posts 17 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Amar Chaudhary
    wrote on last edited by
    #1

    A user can hack your application and simply publish it, for anybody to use it.[^].

    My Startup!!!!
    Profile@Elance - feedback available too

    M L R K G 10 Replies Last reply
    0
    • A Amar Chaudhary

      A user can hack your application and simply publish it, for anybody to use it.[^].

      My Startup!!!!
      Profile@Elance - feedback available too

      M Offline
      M Offline
      Marcelo Ricardo de Oliveira
      wrote on last edited by
      #2

      Okay, but doesn't it happen with HTML4 already? :)

      Take a look at Html5 Snooker Club here in The Code Project.

      A 1 Reply Last reply
      0
      • M Marcelo Ricardo de Oliveira

        Okay, but doesn't it happen with HTML4 already? :)

        Take a look at Html5 Snooker Club here in The Code Project.

        A Offline
        A Offline
        Amar Chaudhary
        wrote on last edited by
        #3

        Yes but the way Microsoft is promoting HTML 5 is making clients make a shift from Silverlight to HTML5 even for LOB applications. Its not that Silverlight can't be hacked but its not this easy.

        My Startup!!!!
        Profile@Elance - feedback available too

        M B 2 Replies Last reply
        0
        • A Amar Chaudhary

          A user can hack your application and simply publish it, for anybody to use it.[^].

          My Startup!!!!
          Profile@Elance - feedback available too

          L Offline
          L Offline
          LloydA111
          wrote on last edited by
          #4

          If you ask me, HTML should be used for what it was originally designed to do: format text and images on a web page.


          See if you can crack this: b749f6c269a746243debc6488046e33f
          So far, no one seems to have cracked this!

          The unofficial awesome history of Code Project's Bob! "People demand freedom of speech to make up for the freedom of thought which they avoid."

          A 1 Reply Last reply
          0
          • A Amar Chaudhary

            A user can hack your application and simply publish it, for anybody to use it.[^].

            My Startup!!!!
            Profile@Elance - feedback available too

            R Offline
            R Offline
            Rama Krishna Vavilala
            wrote on last edited by
            #5

            It is not an issue with HTML5 at all. Any application is hackable if the user figures out the data format for "sensitive data". Had Angry birds saved the data on the server, it would have been more difficult to hack the application. The problem has nothing to do with HTML5.

            A 1 Reply Last reply
            0
            • A Amar Chaudhary

              Yes but the way Microsoft is promoting HTML 5 is making clients make a shift from Silverlight to HTML5 even for LOB applications. Its not that Silverlight can't be hacked but its not this easy.

              My Startup!!!!
              Profile@Elance - feedback available too

              M Offline
              M Offline
              Marcelo Ricardo de Oliveira
              wrote on last edited by
              #6

              I don't think Microsoft is asking people to abandon Silverlight and move to HTML5. They're spending millions, maybe billions of dollars on Silverlight. I see HTML5 more like a new tool on the development box. Anyway, sensitive data/code should be always on the server side, not on the client side. This will apply to HTML5 too.

              Take a look at Html5 Snooker Club here in The Code Project.

              1 Reply Last reply
              0
              • A Amar Chaudhary

                A user can hack your application and simply publish it, for anybody to use it.[^].

                My Startup!!!!
                Profile@Elance - feedback available too

                K Offline
                K Offline
                Keith Barrow
                wrote on last edited by
                #7

                Except of course it was the fault of whoever decided to store the game level in LocalStorage not the fault of the technology. Might as well say a door lock is useless because you keep the key under a flowerpot next to your door. That reminds me, I just need to get something from the garden....

                Sort of a cross between Lawrence of Arabia and Dilbert.[^]
                -Or-
                A Dead ringer for Kate Winslett[^]

                O 1 Reply Last reply
                0
                • K Keith Barrow

                  Except of course it was the fault of whoever decided to store the game level in LocalStorage not the fault of the technology. Might as well say a door lock is useless because you keep the key under a flowerpot next to your door. That reminds me, I just need to get something from the garden....

                  Sort of a cross between Lawrence of Arabia and Dilbert.[^]
                  -Or-
                  A Dead ringer for Kate Winslett[^]

                  O Offline
                  O Offline
                  Oakman
                  wrote on last edited by
                  #8

                  Keith Barrow wrote:

                  Might as well say a door lock is useless because you keep the key under a flowerpot next to your do

                  I would never do anything like that I put it on top of the door frame where no-one would think to look. Obviously with Angry Birds, someone went stupid and decided everything should happen on the client.

                  The 3-legged stool of understanding is held up by history, languages, and mathematics. Equipped with these three you can learn anything you want to learn. But if you lack any one of them you are just another ignorant peasant with dung on your boots. R. A. H.

                  D G B 3 Replies Last reply
                  0
                  • A Amar Chaudhary

                    A user can hack your application and simply publish it, for anybody to use it.[^].

                    My Startup!!!!
                    Profile@Elance - feedback available too

                    G Offline
                    G Offline
                    GregStevens
                    wrote on last edited by
                    #9

                    What makes this concern specific to HTML5, in particular?

                    --Greg

                    1 Reply Last reply
                    0
                    • O Oakman

                      Keith Barrow wrote:

                      Might as well say a door lock is useless because you keep the key under a flowerpot next to your do

                      I would never do anything like that I put it on top of the door frame where no-one would think to look. Obviously with Angry Birds, someone went stupid and decided everything should happen on the client.

                      The 3-legged stool of understanding is held up by history, languages, and mathematics. Equipped with these three you can learn anything you want to learn. But if you lack any one of them you are just another ignorant peasant with dung on your boots. R. A. H.

                      D Offline
                      D Offline
                      David1987
                      wrote on last edited by
                      #10

                      Or they thought it wasn't a big deal. Because, you know, it isn't. People can unlock all levels .. The End Is Nigh!

                      O 1 Reply Last reply
                      0
                      • A Amar Chaudhary

                        A user can hack your application and simply publish it, for anybody to use it.[^].

                        My Startup!!!!
                        Profile@Elance - feedback available too

                        D Offline
                        D Offline
                        David1987
                        wrote on last edited by
                        #11

                        FYI the "levels unlocked" + scores of the desktop version are stored in an unobfuscated Lua file in AppData. I would argue that it's even easier to hack.

                        1 Reply Last reply
                        0
                        • O Oakman

                          Keith Barrow wrote:

                          Might as well say a door lock is useless because you keep the key under a flowerpot next to your do

                          I would never do anything like that I put it on top of the door frame where no-one would think to look. Obviously with Angry Birds, someone went stupid and decided everything should happen on the client.

                          The 3-legged stool of understanding is held up by history, languages, and mathematics. Equipped with these three you can learn anything you want to learn. But if you lack any one of them you are just another ignorant peasant with dung on your boots. R. A. H.

                          G Offline
                          G Offline
                          Gary R Wheeler
                          wrote on last edited by
                          #12

                          It's a game; it's not like there are profound consequences if security is violated.

                          Software Zen: delete this;

                          O 1 Reply Last reply
                          0
                          • D David1987

                            Or they thought it wasn't a big deal. Because, you know, it isn't. People can unlock all levels .. The End Is Nigh!

                            O Offline
                            O Offline
                            Oakman
                            wrote on last edited by
                            #13

                            If you are designing a game, you design the best game you can. If you design a game that can be cracked easily and quickly, you fail, big time.

                            The 3-legged stool of understanding is held up by history, languages, and mathematics. Equipped with these three you can learn anything you want to learn. But if you lack any one of them you are just another ignorant peasant with dung on your boots. R. A. H.

                            D 1 Reply Last reply
                            0
                            • G Gary R Wheeler

                              It's a game; it's not like there are profound consequences if security is violated.

                              Software Zen: delete this;

                              O Offline
                              O Offline
                              Oakman
                              wrote on last edited by
                              #14

                              Are you suggesting that it's okay to do second rate work unless there are profound consequences for violations? My guess is that the guy who built the app demonstrates a profound misunderstanding of how any app that is supposed to maintain data that cannot be changed by the user should work. If he can't do it with "Angry Birds," I sure as heck don't want him building anything that where there are profound consequences.

                              The 3-legged stool of understanding is held up by history, languages, and mathematics. Equipped with these three you can learn anything you want to learn. But if you lack any one of them you are just another ignorant peasant with dung on your boots. R. A. H.

                              G 1 Reply Last reply
                              0
                              • O Oakman

                                If you are designing a game, you design the best game you can. If you design a game that can be cracked easily and quickly, you fail, big time.

                                The 3-legged stool of understanding is held up by history, languages, and mathematics. Equipped with these three you can learn anything you want to learn. But if you lack any one of them you are just another ignorant peasant with dung on your boots. R. A. H.

                                D Offline
                                D Offline
                                David1987
                                wrote on last edited by
                                #15

                                Cost vs value - making it a thin-client game would have made it hard to hack, but then they'd need more time to make it, they'd need to run servers etc, and for what? Just so people can't do a hack that would have had the global consequences comparable to those of a squashed bug?

                                O 1 Reply Last reply
                                0
                                • O Oakman

                                  Are you suggesting that it's okay to do second rate work unless there are profound consequences for violations? My guess is that the guy who built the app demonstrates a profound misunderstanding of how any app that is supposed to maintain data that cannot be changed by the user should work. If he can't do it with "Angry Birds," I sure as heck don't want him building anything that where there are profound consequences.

                                  The 3-legged stool of understanding is held up by history, languages, and mathematics. Equipped with these three you can learn anything you want to learn. But if you lack any one of them you are just another ignorant peasant with dung on your boots. R. A. H.

                                  G Offline
                                  G Offline
                                  Gary R Wheeler
                                  wrote on last edited by
                                  #16

                                  Oakman wrote:

                                  Are you suggesting that it's okay to do second rate work unless there are profound consequences for violations?

                                  Not at all. I'm pointing out that the costs associated with the issue (maintaining server-side storage of the information) might outweigh the benefits (keeping players from accessing levels in a game). If you're charging users for other levels, and the 'cheat' interferes with your revenue stream, then there would a genuine benefit here to securing level access. If the game is simply a come-on for other things, and not important in and of itself, then it's sort of a 'meh'.

                                  Software Zen: delete this;

                                  O 1 Reply Last reply
                                  0
                                  • D David1987

                                    Cost vs value - making it a thin-client game would have made it hard to hack, but then they'd need more time to make it, they'd need to run servers etc, and for what? Just so people can't do a hack that would have had the global consequences comparable to those of a squashed bug?

                                    O Offline
                                    O Offline
                                    Oakman
                                    wrote on last edited by
                                    #17

                                    David1987 wrote:

                                    making it a thin-client game would have made it hard to hack

                                    If you can't do it right, don't do it Second-rate is second-rate.

                                    The 3-legged stool of understanding is held up by history, languages, and mathematics. Equipped with these three you can learn anything you want to learn. But if you lack any one of them you are just another ignorant peasant with dung on your boots. R. A. H.

                                    D 1 Reply Last reply
                                    0
                                    • G Gary R Wheeler

                                      Oakman wrote:

                                      Are you suggesting that it's okay to do second rate work unless there are profound consequences for violations?

                                      Not at all. I'm pointing out that the costs associated with the issue (maintaining server-side storage of the information) might outweigh the benefits (keeping players from accessing levels in a game). If you're charging users for other levels, and the 'cheat' interferes with your revenue stream, then there would a genuine benefit here to securing level access. If the game is simply a come-on for other things, and not important in and of itself, then it's sort of a 'meh'.

                                      Software Zen: delete this;

                                      O Offline
                                      O Offline
                                      Oakman
                                      wrote on last edited by
                                      #18

                                      Apparently, the only answer anyone can come up with to protecting the information is to store it on a server. Wow.

                                      The 3-legged stool of understanding is held up by history, languages, and mathematics. Equipped with these three you can learn anything you want to learn. But if you lack any one of them you are just another ignorant peasant with dung on your boots. R. A. H.

                                      D 1 Reply Last reply
                                      0
                                      • O Oakman

                                        David1987 wrote:

                                        making it a thin-client game would have made it hard to hack

                                        If you can't do it right, don't do it Second-rate is second-rate.

                                        The 3-legged stool of understanding is held up by history, languages, and mathematics. Equipped with these three you can learn anything you want to learn. But if you lack any one of them you are just another ignorant peasant with dung on your boots. R. A. H.

                                        D Offline
                                        D Offline
                                        David1987
                                        wrote on last edited by
                                        #19

                                        No I really disagree - have you never had to work with a budget? There is nothing inherently "right" about making a non-ranked single player unhackable, it's just a waste of time and therefore money to do it. It would be like storing the settings & preferences of MS Word in the Cloud because they shouldn't be "hacked".

                                        O 1 Reply Last reply
                                        0
                                        • O Oakman

                                          Apparently, the only answer anyone can come up with to protecting the information is to store it on a server. Wow.

                                          The 3-legged stool of understanding is held up by history, languages, and mathematics. Equipped with these three you can learn anything you want to learn. But if you lack any one of them you are just another ignorant peasant with dung on your boots. R. A. H.

                                          D Offline
                                          D Offline
                                          David1987
                                          wrote on last edited by
                                          #20

                                          It is the only answer, although you can't even send it there (it would get wiresharked), you have to generate it right on the server. If it is stored on the client, it can not be encrypted. You can pretend you encrypt it, but you would really be obfuscating it since the client has the program that can decrypt it (it had better, or otherwise you just made a block of useless garbled data).

                                          O 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups