How do I hide my source code from copy pasters?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AmeliaG
    Too lazy to set a custom title
    • Jan 2003
    • 10663

    #1

    How do I hide my source code from copy pasters?

    Hey, I'm pretty sure there is a little snippet of code which makes it harder for inexperienced webmasters to snarf html like say metatags or whole freaking pages. Anybody know offhand what that code snippet is? Thanks for any help y'all may be able to give me.
    GFY Hall of Famer

    AltStar Hall of Famer




    Blue Blood's SpookyCash.com

    Babe photography portfolio
  • X37375787

    #2
    check out PK's source. very effective.

    Comment

    • X37375787

      #3
      other than that, there is no way to hide shit.

      Comment

      • AmeliaG
        Too lazy to set a custom title
        • Jan 2003
        • 10663

        #4
        Originally posted by Equinox
        check out PK's source. very effective.

        The irony factor of looking at someone's source code in order to figure out how to protect your own is not lost on me. So how do I do that and does that hide anything from search engines, or only from nosy copycats?
        GFY Hall of Famer

        AltStar Hall of Famer




        Blue Blood's SpookyCash.com

        Babe photography portfolio

        Comment

        • ztik
          Confirmed User
          • Aug 2001
          • 5196

          #5
          this what your looking for?

          http://www.evrsoft.com/developers/encrypter.shtml


          Will
          .

          Comment

          • X37375787

            #6
            Originally posted by AmeliaG



            The irony factor of looking at someone's source code in order to figure out how to protect your own is not lost on me. So how do I do that and does that hide anything from search engines, or only from nosy copycats?


            cough, scroll down on that page. I see it even fooled you.

            Comment

            • AmeliaG
              Too lazy to set a custom title
              • Jan 2003
              • 10663

              #7
              Originally posted by ztik
              this what your looking for?

              http://www.evrsoft.com/developers/encrypter.shtml


              Will

              The thing at the top of that page which says:

              [an error occurred while processing this directive]

              concerns me. I don't want my code scrambled, just harder to steal.
              GFY Hall of Famer

              AltStar Hall of Famer




              Blue Blood's SpookyCash.com

              Babe photography portfolio

              Comment

              • AmeliaG
                Too lazy to set a custom title
                • Jan 2003
                • 10663

                #8
                Originally posted by Equinox




                cough, scroll down on that page. I see it even fooled you.

                Wow. That is fucking inspired. Thank you.
                GFY Hall of Famer

                AltStar Hall of Famer




                Blue Blood's SpookyCash.com

                Babe photography portfolio

                Comment

                • X37375787

                  #9
                  Originally posted by AmeliaG



                  Wow. That is fucking inspired. Thank you.


                  Thank the pussy.

                  Comment

                  • Adult Site Traffic
                    Confirmed User
                    • Mar 2003
                    • 5093

                    #10
                    http://adult-site-traffic.com/webmasters

                    ALL Domains and Websites are GOING AWAY NOW! Ask me!
                    Many great domains, mainstream and adult, some complete sites with databases, some names with traffic and PR, some investment quality names. Come take a look! { Traffic Orders: Please go here }

                    .:: SHARPEN the Elite - BURN the leftovers! Ooh-Rah!! ::.

                    Comment

                    • 12clicks
                      Too lazy to set a custom title
                      • Jan 2001
                      • 19813

                      #11
                      Amelia, you should ask Moof
                      I'm not a dinosaur, I'm a crocodile. I've seen dinosaurs come and go and I'm left unimpressed.

                      Comment

                      • Chaldoray
                        Confirmed User
                        • Jul 2003
                        • 2868

                        #12
                        encrypt your html code

                        Comment

                        • B_Maverick
                          Confirmed User
                          • Dec 2002
                          • 447

                          #13
                          Originally posted by Equinox
                          check out PK's source. very effective.
                          omg...that's too good. I've checked out her source in the past (trying to find out some of her secrets, obviously)...and was immediately "shut down" by the phony error. Kudo's to Kitty.
                          Sig too big

                          http://www.gofuckyourself.com/gfy_faqs.html

                          Want to use a large banner in your sig??? Contact Eric about getting on as an advertiser - eric AT adult.com

                          Comment

                          • overlord
                            Confirmed User
                            • Dec 2003
                            • 3670

                            #14
                            That is fucking clever on PK

                            Comment

                            • ~Ray
                              visit hardlinks.org
                              • Jun 2003
                              • 18361

                              #15
                              this is what you are looking for... it works very good...

                              http://www.fantomaster.com/faarticles/cloakmetatags.txt
                              Adult Backlinks for Adult Websites - Testimonials Available

                              Comment

                              • JensMoviePost
                                Confirmed User
                                • Jan 2004
                                • 319

                                #16
                                Originally posted by overlord
                                That is fucking clever on PK
                                PK???
                                u mean do this:
                                'SSI DHTML ERROR 402 - FILE NOT FOUND'

                                then put your html below
                                <a href="http://www.jensmoviepost.com">
                                JensMoviePost.com</a>
                                - Looking for 1K+ Sized Trades!
                                ICQ# 328466504 or Signup Directly!

                                Comment

                                • modifried
                                  Registered User
                                  • Feb 2004
                                  • 38

                                  #17
                                  In order for the browser to be able to parse the HTML code to begin with, it has to be send readable code. There is no possibly way to properly "hide" HTML source. If it was hidden then the browser wouldn't be able to read it, either.

                                  There's never anything worth "hiding" anyhow.
                                  Coder.

                                  ICQ - 39959568
                                  Email - [email protected]

                                  Comment

                                  • JackRoyal
                                    Registered User
                                    • Sep 2003
                                    • 65

                                    #18
                                    Number One Rule of Computer Science (or at least trying to make money with software): Perfect copy protection is IMPOSSIBLE. As in perpetual motion machines in Physics.
                                    Last edited by JackRoyal; 02-18-2004, 07:17 PM.

                                    Comment

                                    • cluck
                                      Confirmed User
                                      • Dec 2002
                                      • 5248

                                      #19
                                      dokumenthahahahahahaha(unescape(hex code));
                                      icq 279990726
                                      www.mcdonalds.com <- great money making opportunity

                                      Comment

                                      • ~Ray
                                        visit hardlinks.org
                                        • Jun 2003
                                        • 18361

                                        #20
                                        Originally posted by AdvertisingSex


                                        http://www.fantomaster.com/faarticles/cloakmetatags.txt
                                        search engines will see the Meta Tags... but, surfers will not.
                                        Adult Backlinks for Adult Websites - Testimonials Available

                                        Comment

                                        • shermo

                                          #21
                                          Interesting thread and links. I've often wondered this as well.

                                          Comment

                                          • Babagirls
                                            Text Writer
                                            • Feb 2001
                                            • 18812

                                            #22
                                            i use a source block on some sites......i would give it to ya, but i'll let ya find ya it like i did




                                            Need a Text Writer?
                                            Blogs|Reviews|Descriptions|Paysites|TGP's|Stories

                                            ICQ: 397892500

                                            Comment

                                            • mardigras
                                              Bon temps!
                                              • Feb 2003
                                              • 14194

                                              #23
                                              PK needs to set that for a bit more than a scroll and a half of the mouse wheel
                                              .

                                              Comment

                                              • Socks
                                                Confirmed User
                                                • May 2002
                                                • 8475

                                                #24
                                                I would use a small couch, or a sectional.

                                                Comment

                                                • Veterans Day
                                                  Confirmed User
                                                  • Jul 2003
                                                  • 8403

                                                  #25
                                                  Originally posted by Socks
                                                  I would use a small couch, or a sectional.
                                                  Build a Massive Traffic Network, Hands FREE, Totally Automated

                                                  Comment

                                                  • AmeliaG
                                                    Too lazy to set a custom title
                                                    • Jan 2003
                                                    • 10663

                                                    #26
                                                    Originally posted by 12clicks
                                                    Amelia, you should ask Moof

                                                    Thanks! Will do.

                                                    PS You have to change your sig because it makes me have inappropriate thoughts whenever I see it
                                                    GFY Hall of Famer

                                                    AltStar Hall of Famer




                                                    Blue Blood's SpookyCash.com

                                                    Babe photography portfolio

                                                    Comment

                                                    • KraZ
                                                      Confirmed User
                                                      • Oct 2003
                                                      • 2636

                                                      #27
                                                      Originally posted by ztik
                                                      this what your looking for?

                                                      http://www.evrsoft.com/developers/encrypter.shtml
                                                      Will
                                                      Script by : Svetlin Staev

                                                      I think I know this guy (that developed the script)...
                                                      Selling MedicalPorn,com and a dozen other gyno & doctor domains here:
                                                      http://www.gofuckyourself.com/showthread.php?t=871984

                                                      Comment

                                                      • KraZ
                                                        Confirmed User
                                                        • Oct 2003
                                                        • 2636

                                                        #28
                                                        Originally posted by AmeliaG
                                                        Hey, I'm pretty sure there is a little snippet of code which makes it harder for inexperienced webmasters to snarf html like say metatags or whole freaking pages. Anybody know offhand what that code snippet is? Thanks for any help y'all may be able to give me.
                                                        Also, I'm not sure if it's of any help but studio.adobe.com uses some kind of gimmick that actually prevented me from saving it to my hard drive. I can view the source all right but I couldn't save it... [still not sure why]

                                                        Generally, unless you get dynamic content from a DB, it's impossible to hide code. I mean, you can't steal server-side code, only client-side code.

                                                        However, you can do some tricks to protect your client side code. You can use includes for the CSS and JS, use several files, includes within includes but this will probably just complicate things and will only help you against newbies.
                                                        Selling MedicalPorn,com and a dozen other gyno & doctor domains here:
                                                        http://www.gofuckyourself.com/showthread.php?t=871984

                                                        Comment

                                                        • AmeliaG
                                                          Too lazy to set a custom title
                                                          • Jan 2003
                                                          • 10663

                                                          #29
                                                          Originally posted by KraZ


                                                          Also, I'm not sure if it's of any help but studio.adobe.com uses some kind of gimmick that actually prevented me from saving it to my hard drive. I can view the source all right but I couldn't save it... [still not sure why]

                                                          Generally, unless you get dynamic content from a DB, it's impossible to hide code. I mean, you can't steal server-side code, only client-side code.

                                                          However, you can do some tricks to protect your client side code. You can use includes for the CSS and JS, use several files, includes within includes but this will probably just complicate things and will only help you against newbies.

                                                          Thanks, I'll have to take a look at that.

                                                          I'm really only looking for code snippets which will make it more difficult for inexperienced webmasters to view source.

                                                          Experienced webmasters will always be able to figure out a way to get around such obstacles, but I doubt I have any code which would be news to anyone who really knows what they are doing.

                                                          I'm just sick of seeing html, php, and tags etc. obviously copy-pasted from my pages on sites belonging to people too lazy to even come ask a how-to question on gfy.
                                                          GFY Hall of Famer

                                                          AltStar Hall of Famer




                                                          Blue Blood's SpookyCash.com

                                                          Babe photography portfolio

                                                          Comment

                                                          • notjoe
                                                            Confirmed User
                                                            • May 2002
                                                            • 5599

                                                            #30
                                                            http://www.hostedcontent.com/encrypt.phtml

                                                            Simply enter the part of the HTML code you dont want people to figure out, paste it into the form then paste the JS it creates into your html code where the content you encrypted should go

                                                            Comment

                                                            • shimmy
                                                              Confirmed User
                                                              • Mar 2002
                                                              • 198

                                                              #31
                                                              data-encryption.net works well
                                                              Best Domain Registrar

                                                              Comment

                                                              • gleb
                                                                Confirmed User
                                                                • Nov 2002
                                                                • 311

                                                                #32
                                                                i cant believe that somebody actually fell for that PK trick

                                                                here's what i use..

                                                                with perl, wrap your entire code into a variable and run it through

                                                                sub clean_page($)
                                                                {
                                                                my $pp = shift;
                                                                $pp =~ s/<!-.*?->//igs;
                                                                $pp =~ s/\t+/ /igs;
                                                                $pp =~ s/ / /igs;
                                                                $pp =~ s/ >/>/igs;
                                                                $pp =~ s/\n//igs;
                                                                $pp =~ s#\/\*.*?\*\/##igs;
                                                                $pp =~ s/ "/"/igs;
                                                                $pp =~ s/ / /igs;
                                                                return $pp;
                                                                }

                                                                it will remove any comments, new lines, tabs etc .. your entire code will be shown in a single line

                                                                optionally use some JS encryption method for vital parts (as shown in posts above) , and that should do the trick

                                                                of course its not full proof...

                                                                Comment

                                                                • {fusion}
                                                                  Confirmed User
                                                                  • Sep 2003
                                                                  • 1650

                                                                  #33
                                                                  you could use a form of cloaking, where you give the spiders a copy of one site, but give the public a replica without optimization. some SEO's use these techniques when dealing with sites with frames ect.

                                                                  just a thought.

                                                                  Comment

                                                                  • Loki
                                                                    Confirmed User
                                                                    • Feb 2004
                                                                    • 4420

                                                                    #34
                                                                    I do not know if this is 100% relivant or not, but i have found no matter what is used to hide source codes or protect images from being snaged (Disable right click, cloaking, etc) there is still one way that has and always?? will work.

                                                                    File/Save As.....

                                                                    This saves the whole page then all one has to do is open it with html or text editor to see the source code.

                                                                    Now ok so lets remove the file bar from the page.

                                                                    Now all the surfer has to do is go back a page and then open your page in a new browser window thus giving them back their file bar.


                                                                    So really i think if someone wants your code their gonna get it. right?

                                                                    I find it best to put all my secret stuff in a swf file but now theres a decompiler so even that way is phucked lol



                                                                    -Loki-
                                                                    MAKE MONEY WITH 3D TOONS!
                                                                    Need hosting? LokiCa$h Uses Amerinoc and love them!
                                                                    Skype: LokiPorn Or Email 3dloki|at|gmail.com

                                                                    Comment

                                                                    • AmeliaG
                                                                      Too lazy to set a custom title
                                                                      • Jan 2003
                                                                      • 10663

                                                                      #35
                                                                      Originally posted by vdc-Loki
                                                                      I do not know if this is 100% relivant or not, but i have found no matter what is used to hide source codes or protect images from being snaged (Disable right click, cloaking, etc) there is still one way that has and always?? will work.

                                                                      File/Save As.....

                                                                      This saves the whole page then all one has to do is open it with html or text editor to see the source code.

                                                                      Now ok so lets remove the file bar from the page.

                                                                      Now all the surfer has to do is go back a page and then open your page in a new browser window thus giving them back their file bar.


                                                                      So really i think if someone wants your code their gonna get it. right?

                                                                      I find it best to put all my secret stuff in a swf file but now theres a decompiler so even that way is phucked lol



                                                                      -Loki-

                                                                      Someone who can decompile a swf file is probably not going to be trying to grab my code because there won't be much of interest for someone that sophisticated there I don't think. Oddly, we used to use the disable right click on a lot of our sites. We've removed it every place it was in an include, but there are still a few old galleries we haven't changed yet and there actually are a lot of people who can't figure out how to get around it, even now.
                                                                      GFY Hall of Famer

                                                                      AltStar Hall of Famer




                                                                      Blue Blood's SpookyCash.com

                                                                      Babe photography portfolio

                                                                      Comment

                                                                      • Dirty F
                                                                        Too lazy to set a custom title
                                                                        • Jul 2001
                                                                        • 59204

                                                                        #36
                                                                        Originally posted by Equinox




                                                                        cough, scroll down on that page. I see it even fooled you.
                                                                        Yup, its good, i used to do that like years ago already.

                                                                        In her case tho, it does show the code on 1600x1200.
                                                                        She needs to add some more space.

                                                                        Comment

                                                                        • Rictor
                                                                          Old Timer
                                                                          • Jan 2001
                                                                          • 12208

                                                                          #37
                                                                          Do engines even use meta tags anymore? Google seems to go buy title and page text.

                                                                          Comment

                                                                          • Loki
                                                                            Confirmed User
                                                                            • Feb 2004
                                                                            • 4420

                                                                            #38
                                                                            Originally posted by AmeliaG



                                                                            Someone who can decompile a swf file is probably not going to be trying to grab my code because there won't be much of interest for someone that sophisticated there I don't think. Oddly, we used to use the disable right click on a lot of our sites. We've removed it every place it was in an include, but there are still a few old galleries we haven't changed yet and there actually are a lot of people who can't figure out how to get around it, even now.
                                                                            Wen i spoke of flash decompilers i was refering to the spam i get about "Decode Any Flash File" and 2 of my lower end flash makers that come with decompilers and detailed info on what to do with them.

                                                                            Wow man i think the file/save as was one of the first things i learned lol, back when i first started doing design work lol, i find it odd that more ppl don't know about it.


                                                                            -Loki-
                                                                            MAKE MONEY WITH 3D TOONS!
                                                                            Need hosting? LokiCa$h Uses Amerinoc and love them!
                                                                            Skype: LokiPorn Or Email 3dloki|at|gmail.com

                                                                            Comment

                                                                            • PersianKitty
                                                                              Meow Media Inc.
                                                                              • Jul 2001
                                                                              • 7785

                                                                              #39
                                                                              You'd be amazed at the number of emails I've gotten over the years asking ..

                                                                              "How do you do that?"

                                                                              Comment

                                                                              • AdultNex
                                                                                Confirmed User
                                                                                • Feb 2003
                                                                                • 8985

                                                                                #40
                                                                                Originally posted by PersianKitty
                                                                                You'd be amazed at the number of emails I've gotten over the years asking ..

                                                                                "How do you do that?"
                                                                                Intelligence of people amazes me.

                                                                                If you want an actual HTML encryption program that will be sure to knock any webmaster off their feet, check this out:

                                                                                http://www.mtopsoft.com

                                                                                Comment

                                                                                • AdultNex
                                                                                  Confirmed User
                                                                                  • Feb 2003
                                                                                  • 8985

                                                                                  #41
                                                                                  If you think that PK thing is amazing, how many webmasters do you think will be able to crack the HTML to this page:

                                                                                  http://www.mtopsoft.com/encryptpro/example.htm

                                                                                  Comment

                                                                                  • PersianKitty
                                                                                    Meow Media Inc.
                                                                                    • Jul 2001
                                                                                    • 7785

                                                                                    #42
                                                                                    Originally posted by AdultNex
                                                                                    If you think that PK thing is amazing, how many webmasters do you think will be able to crack the HTML to this page:

                                                                                    http://www.mtopsoft.com/encryptpro/example.htm

                                                                                    Er um.. I hit the save page as option in netscape..saved the page.. opened it in my editor and saw it all.

                                                                                    Comment

                                                                                    • PersianKitty
                                                                                      Meow Media Inc.
                                                                                      • Jul 2001
                                                                                      • 7785

                                                                                      #43
                                                                                      Originally posted by AdultNex


                                                                                      Intelligence of people amazes me.

                                                                                      If you want an actual HTML encryption program that will be sure to knock any webmaster off their feet, check this out:

                                                                                      http://www.mtopsoft.com
                                                                                      "Will Encrypt HTML Pro affects my search engine ranking?

                                                                                      If you want your search engine ranking unaffected, please select "Only encrypt partial section" or "Do not encrypt html source code" in Step 2. Otherwise, the search engine can't cache your page correctly. The "Encrypt all links" will also affect the search engine: Search engine spiders can't index other web pages linked by this page."

                                                                                      Comment

                                                                                      • AdultNex
                                                                                        Confirmed User
                                                                                        • Feb 2003
                                                                                        • 8985

                                                                                        #44
                                                                                        Originally posted by PersianKitty


                                                                                        "Will Encrypt HTML Pro affects my search engine ranking?

                                                                                        If you want your search engine ranking unaffected, please select "Only encrypt partial section" or "Do not encrypt html source code" in Step 2. Otherwise, the search engine can't cache your page correctly. The "Encrypt all links" will also affect the search engine: Search engine spiders can't index other web pages linked by this page."
                                                                                        Yeah, that's the only descrepancy, but if you want something that will most likely defer away most webmasters, then go with EncryptHTML.

                                                                                        Er um.. I hit the save page as option in netscape..saved the page.. opened it in my editor and saw it all.
                                                                                        This doesn't work with Firebird or IE. Who uses Netscape anyways?

                                                                                        Comment

                                                                                        • PersianKitty
                                                                                          Meow Media Inc.
                                                                                          • Jul 2001
                                                                                          • 7785

                                                                                          #45
                                                                                          Originally posted by AdultNex


                                                                                          This doesn't work with Firebird or IE. Who uses Netscape anyways?
                                                                                          I always review in Netscape. It's not as forgiving as IE. I can catch alot of mistakes that cause page load problems for some browsers, but not necessarily IE. Never give em a break ;)

                                                                                          And actually. I saved the page in IE and opened just the html in my browser and got the same thing. No encryption.
                                                                                          Last edited by PersianKitty; 02-22-2004, 03:29 AM.

                                                                                          Comment

                                                                                          • Mr.Fiction
                                                                                            Confirmed User
                                                                                            • Feb 2002
                                                                                            • 9484

                                                                                            #46
                                                                                            Originally posted by AdultNex
                                                                                            If you think that PK thing is amazing, how many webmasters do you think will be able to crack the HTML to this page:

                                                                                            http://www.mtopsoft.com/encryptpro/example.htm

                                                                                            Why does that page try to paste from your clipboard?
                                                                                            Don't be lazy, protect free speech: ACLU | Free Speech Coalition | EFF | IMPA

                                                                                            Comment

                                                                                            • AdultNex
                                                                                              Confirmed User
                                                                                              • Feb 2003
                                                                                              • 8985

                                                                                              #47
                                                                                              Originally posted by PersianKitty


                                                                                              I always review in Netscape. It's not as forgiving as IE. I can catch alot of mistakes that cause page load problems for some browsers, but not necessarily IE. Never give em a break ;)

                                                                                              And actually. I saved the page in IE and opened just the html in my browser and got the same thing. No encryption.
                                                                                              Hm, what version of IE are you using?

                                                                                              Comment

                                                                                              • PersianKitty
                                                                                                Meow Media Inc.
                                                                                                • Jul 2001
                                                                                                • 7785

                                                                                                #48
                                                                                                Originally posted by AdultNex


                                                                                                Hm, what version of IE are you using?
                                                                                                6.0.28yadahyadah

                                                                                                Comment

                                                                                                Working...