Web Analytics Made Easy -
StatCounter Source Code Protection - CodingForum


No announcement yet.

Source Code Protection

  • Filter
  • Time
  • Show
Clear All
new posts

  • Source Code Protection

    How do I stop people from viewing my source code?

    Just thought I'd get that question out of the way early

  • #2
    As you probably know, vBulletin supports sticky threads, so once the post pattern becomes more clear, the mods and I will be posting FAQs that remain always in view. Disable source code/right click definitely will be among the questions.
    - George
    - JavaScript Kit- JavaScript tutorials and 400+ scripts!
    - JavaScript Reference- JavaScript reference you can relate to.


    • #3
      There is no way!

      You might be able to stop n00bs from getting to it for a while, but any one dedicated will get to it. Flash can be cracked, Java can be decompiled, right click scripts don't work, neither does new windows without tool bars, any trick out there has been tried and broken.

      Sticky please...
      Projects I work on: http://www.devnet.info, http://www.mybboard.com
      Forums I visit: http://www.nemesis.thecoldshop.com, http://www.the-pit.net, http://www.hardforum.com, http://www.genmay.com


      • #4
        Originally posted by Thejavaman1
        Sticky please...
        I think I'll hold off on the sticky. I'll be making a "sticky" FAQs in a couple of weeks and will probably find a way to incorporate the "Hinding source code/disable right click" references in it.

        Print it off and bury it in the back yard - Chris Pike
        An answer that stuck in my memory .

        Oops...didn't see your post when I replied George.
        Last edited by boxer_1; Jun 12, 2002, 08:20 PM.
        CodingForum Moderator
        "How did a fool and his money get together in the first place?"


        • #5
          I'm speechless. If I had any hair to pull out...I would.

          I can't believe AndyB posted this. Of course, I've been taught to respect my elders...so I won't go off on another rant about this over-asked query.

          I'm taking the high road like Brothercake has...and will no longer reply to "protection" queries. Well, I say that for now at least.

          Okay, enough kidding around.


          Anyway, I guess this is my first post here since I deleted my test posts. I needed a change. I'm thrilled we have the new look-n-feel, etc.

          I look forward to getting and giving assistance.
          Last edited by Gordo; Jun 13, 2002, 02:27 AM.
          "In the End, we will remember not the words of our enemies, but the silence of our friends."
          - Martin Luther King Jr. (1929-1968)


          • #6
            hehe can see we are all gona have lots of fun with the whole color thing
            Reseller Web Hosting - Unlimited websites from $5.49
            cakephp tutorials || Buying or sell websites? Do it here, free! || Professional Website & PHP development

            Freelance Magento Job Classifieds


            • #7
              If its abused then it will be turned off, so be careful how you use it
              Jeewhizz - MySQL Moderator
              PHP and MySQL Hosting


              • #8
                Good one Gordo ... seriously, though if anyone wants to use this web site here as a stock response/sub-FAQ on the dreaded protection, you're welcome to it.


                • #9
                  my favourite answer to this problem is to set your server on fire. ain't nobody touching that code now, foo'.
                  bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

                  i am a loser geek, crazy with an evil streak,
                  yes i do believe there is a violent thing inside of me.


                  • #10
                    Yeah, AndyB, I've wanted to reference http://continue.to/hope many times, but never could remember the URL. I've got too many floating around in my head as it is. But I'll try to remember it now!
                    "In the End, we will remember not the words of our enemies, but the silence of our friends."
                    - Martin Luther King Jr. (1929-1968)


                    • #11
                      why lock or stop ppl from viewing the source codes?

                      i dont really understand why some people lock or block others from viewing the source codes, but isn't it obviously rare people would do that.

                      i thought most people learnt alot by viewing the source codes on webpages, anyway if it were to be a high-profile, govermental agencies wif lots of things to hide.... I guess that would be a good reason.

                      my first post here in this forum
                      nisi dominus fustra



                      • #12
                        i learnt a lot by viewing source code as i taught myself.

                        no matter how much you protect/encrpt it people will still be able to decript it.

                        Spammers next time you spam me consider the implications:
                        (1) that you will be persuaded by me(in a legitimate mannor)
                        (2)It is worthless to you, when i have finished


                        • #13
                          oh btw, i had checked gordo's reference site. I would like to mentioned that I am currently using I.E 6.0 any although one may locked the site by not being able to right click, there are some images there and when I moved my mouse over the image, there are options to where I am still able to resize and\or save the pics, of course this option in I.E 6.0 for windows can be disable.

                          Again, I think is vain trying to lock the source code
                          nisi dominus fustra



                          • #14
                            The irony of trying to protect source code is that it actually works, though not the ways intended of the designer. When I encounter a site that employs a right-click hindering script, I always get the feeling that the designer must be much ashamed of his code. And most often this is the case, once you get past around the pathetic attempts to guard against doing so. As the result, I don't bother with such sites any longer and let their URLs fall into oblivion.

                            IMO the wish to protect one's source code arises from the fact that one wants to hide ugly code.


                            • #15
                              Originally posted by AndyB
                              Good one Gordo ... seriously, though if anyone wants to use this web site here as a stock response/sub-FAQ on the dreaded protection, you're welcome to it.
                              Don't you just hate it when people link without the URL in the text?

                              Reminds me of Geoff .
                              ~Kang He
                              Prepare to be b0rkified.