• 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 can't believe it was only two years since the last time MS raised their prices and now they think they can do it again so soon. Of course they needed to backtrack on this. I hope Nintendo is next.
    • I guess I gotta be even more specific then since I'm looking for an absolute confirmation.  The mini PC has never booted up or powered on by me. I'm assuming it'll be like buying a new PC from a store. Nothing is set up. Like absolutely nothing on the mini PC because I can't emphasize this enough. My USB drive already has Windows set up on it from my other desktop so I know it's clean. So now I connect it to the mini PC before it's even booted up or go to the desktop. I then turn on the mini PC and boot into the USB drive. I should see an existing partition. I'll delete it and then install Windows again over the entire drive. I don't necessarily want to create a separate partition. Once it installs and boots to the desktop, I'm assuming the drive is "clean" and free of any malware/viruses. Basically, this process will eliminate any potential for malware/viruses to still somehow hide in the SSD and then potentially affect me later.  I'm being very anal about this because I really don't trust anything bought from AliExpress, but the price was very tempting.  Is Windows Defender reliable? Afterwards, if I do a full scan and it doesn't find anything in the SSD and the USB drive, can I be confident the mini PC is now safe and secured to enter my banking credentials? If not, what else can I do to be absolutely certain?
    • I got an ESR Qi2 vent charger for my car and it's fantastic. It's very strong magnet and holds the phone securely over the worst potholes/roads, and my iPhone does charge. In Summer, the AC blows on the vent keeps and keeps the phone cold. In winter, I just close that vent, so it still stays cold. I agree with you on the Android front. Why not just build in the magnets like Apple does? It's frustrating to buy a case that adds magnets.
    • Hey, I've been using Windows since I was a little tyke. But for the last 15 years, I have been using Linux. I'm using EndeavourOS/Arch atm. wipe it, as in deleting anything from the SSD in the computer. Make a new partition. USB booting device should be free of malware, as long as you download it directly friom MS. Not some XYZ company.
    • "Nuking it" is slang for doing a clean install. USB installation media... delete the partition... start fresh.
  • Recent Achievements

    • Collaborator
      fernan99 earned a badge
      Collaborator
    • Collaborator
      MikeK13 earned a badge
      Collaborator
    • One Month Later
      Alexander 001 earned a badge
      One Month Later
    • One Month Later
      Antonio Barboza earned a badge
      One Month Later
    • Week One Done
      Antonio Barboza earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      584
    2. 2
      ATLien_0
      219
    3. 3
      Michael Scrip
      173
    4. 4
      Xenon
      138
    5. 5
      +FloatingFatMan
      127
  • Tell a friend

    Love Neowin? Tell a friend!