Announcement

Collapse
No announcement yet.

How to disable "Inspect" or Encrypt SC

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to disable "Inspect" or Encrypt SC

    We have had some folk try and read very specific items of our code that we do not wish anyone to know how we do it. From what I have gathered they are using "Inspect" (ie: right-click within the application, select Inspect. From there you can pretty much see what you want).

    Is there a function or procedure I can include to prevent this?
    What is the best way to encrypt SC code so users/hackers cant read our code?

    Thanks in advance.

    Larry

  • #2
    I have not found any good tools to protect Javascript code beyond minification (collapsing spaces to make it quicker to download- and harder to read) and obfuscation (replacing function names with a, b, c etc.). I believe some of Google's code uses both (based on inspecting some of theirs out of curiosity).

    Comment


    • #3
      The only way to protect your Client side IP is as bradk suggest, minify and obfuscate. If there is something to protect, do it server side. What are you trying to "hide" exactly?
      /Giuseppe

      Professional Scriptcase Services
      Some Customers opinions

      Comment


      • #4
        I have certain server side code that has some very security sensitive processes that are being called. I was under the impression that when running in an iFrame a user could not see or gain access to inspect what was being done through their browser. Thus I run everything through the SC Menu, understanding it was doing this all through iFrame. Well we live and learn.

        Any suggestions for an obfuscate tool for SC? Ideally I would like to create my production files (compile), then take the content of the generated .zip file, and run it through an obfuscate tool. Then upload that to the server.

        Comment


        • #5
          If you mean about JS code, check fpr closure and/or yii. If you talk about server side code, sourceguardian is an option. Sen d me a PM if you want more info about SG
          /Giuseppe

          Professional Scriptcase Services
          Some Customers opinions

          Comment

          Working...
          X