Is there a way to hide the source
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 22

Thread: Is there a way to hide the source

  1. #1
    Registered User
    Join Date
    Jan 2001
    Location
    Tampa, FL
    Posts
    188

    Post Is there a way to hide the source

    Is there anyway to hide the source code of a Website. Because anyone can copy a site by viewing the source. I DON'T NEED THE JAVA SCRIPT THAT DISABLES RIGHT CLICK. If there is anyway way please inform me. Thanks Jason.

  2. #2
    Darren Wilson
    Guest

    Post

    2 ways

    The most secure way is to write the site completely in Flash.

    The easiest way is to use frames and use a no right click script in each frame. If a user uses the view source from the toolbar al they will get is the frameset code. They can still view the source if they save the pages to their hard disk.

  3. #3
    Registered User
    Join Date
    Feb 2001
    Location
    Evansville, IN, USA
    Posts
    68

    Post

    well i will have to say that if u use the no right click they can still look at the site by downloading it and in a html editor
    How do I set my laser printer to "stun"?
    I can't back up my hard drive, there's no reverse button.

  4. #4
    Registered User
    Join Date
    Jan 2001
    Location
    Tampa, FL
    Posts
    188

    Post

    So there is no way to secure the code. I definetly can't do the Flash option, and frames can be downloaded.

  5. #5
    Darren Wilson
    Guest

    Post

    What was the last line of my last post????

    I stated that the pages could be DOWNLOADED and viewed!!!!! Why post telling me that???

  6. #6
    Registered User
    Join Date
    Aug 2000
    Location
    NYC
    Posts
    288

    Post

    l've seen this question before, and l've always wondered: WHY do you want to hide your code? l mean, its only HTML/Javascript, so anyone can just look at it and figure it out what is happening...whats wrong with people seeing your site.


    And, in answer, there is no way to hide the code of a rendered language. lt must be downloaded to be viewed, and it is downloaded in plain text. One thing you can do, is obfuscate a bit:

    a) all your code on one line.
    b) instead of normal words and tags, use HEX equivalents
    c) Make the site huge, and leave out comments and readability inside the code.

    etc..
    BreakWindows
    God told me to skin you alive..

  7. #7
    Registered User
    Join Date
    Feb 2001
    Location
    Evansville, IN, USA
    Posts
    68

    Post

    lol breaking windows i like the idea of hex i might try that some time
    How do I set my laser printer to "stun"?
    I can't back up my hard drive, there's no reverse button.

  8. #8
    Registered User
    Join Date
    Jul 2000
    Location
    Brandon, FL U.S.A.
    Posts
    300

    Post

    LMAO
    All your code on one line. I love it!!!

    Besides, I think we have all learned from studying code written by others. We are all one big family. So, may I ask why you want to hide it? Maybe if the concern is exposed a better solution can be provided.
    Life is 10% what happens to you and 90% how you react to it.

  9. #9
    Registered User MacGyver's Avatar
    Join Date
    Oct 2000
    Location
    Ottawa
    Posts
    4,232

    Post

    The "no right click script" can be defeated, so don't rely on that to hide your secrets.

    Originally posted by Darren Wilson:

    The easiest way is to use frames and use a no right click script in each frame. If a user uses the view source from the toolbar al they will get is the frameset code.

  10. #10
    Darren Wilson
    Guest

    Post

    Originally posted by Darren Wilson:
    What was the last line of my last post????

    I stated that the pages could be DOWNLOADED and viewed!!!!! Why post telling me that???
    McGyver we know that already and I did point it out in my post.

  11. #11
    Registered User
    Join Date
    Jan 2001
    Location
    Infront of my computer
    Posts
    174

    Talking

    hmm... seems there's no way to hide your code. why do you need to hide it, while there are plenty of site that offers free source codes ?
    WARNING
    :: I am NOT held responsible for any damages on your coumputer. ::

  12. #12
    Registered User
    Join Date
    Apr 2001
    Posts
    54

    Post

    hmm... seems there's no way to hide your code. why do you need to hide it, while there are plenty of site that offers free source codes ?
    I agree!!!

  13. #13
    Registered User
    Join Date
    Apr 2001
    Location
    United States
    Posts
    44

    Post

    If you can get someone to write a small flash program for you, you can

    1) Disable Right Click
    2) Make the "File, Edit, View..." toolbar disappear

    That should be enough to stop any amature fool...
    I have a tendency to exaggerate things...if you see me doing it...just give me a good solid kick to the side of the head...

  14. #14
    Registered User
    Join Date
    Jan 1999
    Location
    London, Great Britain
    Posts
    300

    Post

    Originally posted by Shinji Ikari:
    If you can get someone to write a small flash program for you, you can
    1) Disable Right Click
    2) Make the "File, Edit, View..." toolbar disappear
    That should be enough to stop any amature fool...
    This can still be defeated by turning off Flash in your browser, so it wouldn't do the above and you can then just pull out the HTML source.

    You can also download the flash and pull that apart with a decompiler, so this wouldn't stop anyone determined to look at your code.

    Put simply, you'll spend more time trying to hide your code than it will take for someone to either figure out what you're doing or defeat the way you're hiding your code.

    Get over it and don't waste your time!
    I'd rather die peacefully in my sleep like my Grandfather,
    than screaming in terror like his passengers.
    Jim Harkins
    <a href="http://www.Horrible.Demon.co.uk/" target="_blank">http://www.Horrible.Demon.co.uk/</a>

  15. #15
    Registered User
    Join Date
    Feb 2001
    Location
    Evansville, IN, USA
    Posts
    68

    Post

    breakingwindows have u tried running a site made in hex???

    i got a convter that allows me to right it in there in normal text then it spits out hex to me but if u try to put it in a site it will only show up as the hex code with no spaces(or at least thats the way he wrote it) so it means inside u would have to have a decoder or tell it somplace that it needs to be text and not hex
    How do I set my laser printer to "stun"?
    I can't back up my hard drive, there's no reverse button.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •