• 0

Javascript Encoder for web browsers!


Question

Hi,

 

Couple of weeks ago I was searching for a Javascript encryptor or encoder and the obfuscator or uglify for Javascript you all recommended was a very good solution. Javascript has become quite popular in the web and more and more businesses or apps are created with robust client side code or frameworks made in Javascript. I personally don't have the time or motivation to make it happen but I thought if the web browsers in the distant future will include some kind of runtime for encoded javascript codes. A good example I could find is ionCube for PHP. What ionCube does is it encrypts the PHP code and during runtime the ionCube decodes the code and makes it available for PHP to interpret. It also uglifies the code. Someone with serious motivation could retrieve the uglified source codes but it's still a good solution to add a layer of security. They also claim that since the codes are bytecodes, they execute faster as well.

 

If we introduce something similar, do you think it will speed up the execution of Javascript codes or make it it more efficient as well? I love opensource solutions but sometimes there's also the need to add a layer of security or privacy. So, I was wondering if companies might introduce their own addons/plugins for web browsers and require the people to install their add-on in order to use their apps.

Link to comment
https://www.neowin.net/forum/topic/1256954-javascript-encoder-for-web-browsers/
Share on other sites

2 answers to this question

Recommended Posts

  • 0

obfuscation isn't security, simply security through obscurity. Anyone with enough time can decompile it. Even bytecode, can be decompiled this way, although as it's compiled the resulting code would be... messy.

 

Do I think this will one day happen? Probably. However, we're just now seeing ASM.js, so I don't think we'll get javascript binary blobs until the ASM is taken care of. And when we do get the JS binary, it will be more like a subset of C code, run in the browser.

  • 0

i think you not looking at correct solution for your 'security concern'.

 

If you want to protect your web content, you should build your own web browser, probably using webkit, trident or gecko.

You can programming anti-context menu, hide the web address, etc, like Itunes and other web-viewer based app.

Then you can distribute your browser-app to your customer if they want to enjoy your website.

This topic is now closed to further replies.
  • Posts

    • I'm really happy that you're looking to apply for a role in writing articles for Neowin. We could do with more, regardless, so everyone is happy and has a story to read when ever they login to the site. https://www.neowin.net/contact/apply I look forward to reading what you have to say in the near future in one of the published articles here on Neowin. You can do it. You got this.
    • Uranus releases about 15% more energy than it receives from the Sun, according to two new papers published in the journal Monthly Notices of the Royal Astronomical Society and the journal Geophysical Research Letters. The amount of heat a planet exudes could be an indication of its age: the less heat released relative to the heat absorbed from the Sun, the older the planet is. Uranus stood out from the other planets because it appeared to give off as much heat as it received, implying it had none of its own. This puzzled scientists. Some hypothesized that perhaps the planet is much older than all the others and has cooled off completely. Others proposed that a giant collision — the same one that may have knocked the planet on its side—blasted out all of Uranus’ heat. But none of these hypotheses satisfied scientists, motivating them to solve Uranus’ cold case. https://www.sci.news/space/warmer-uranus-14079.html  
    • The reality is that it's much, much cheaper to have a single code base than rewrite and maintain everything in native frameworks for each platform. It's just sad that the most reliable technology stack for it is so heavy on resources (literally 3 times the RAM, according to the screenshots).
    • Trump Logic:  If people are talking about football team names... they won't be talking about Epstein! 🤣
  • Recent Achievements

    • Rookie
      Snake Doc went up a rank
      Rookie
    • First Post
      nobody9 earned a badge
      First Post
    • One Month Later
      Ricky Chan earned a badge
      One Month Later
    • First Post
      leoniDAM earned a badge
      First Post
    • Reacting Well
      Ian_ earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      495
    2. 2
      Michael Scrip
      203
    3. 3
      ATLien_0
      197
    4. 4
      Xenon
      136
    5. 5
      +FloatingFatMan
      116
  • Tell a friend

    Love Neowin? Tell a friend!