how to hide a source code
Page 1 of 5 123 ... LastLast
Results 1 to 10 of 46

Thread: how to hide a source code

  1. #1
    Junior Member
    Join Date
    Jun 2002
    Posts
    14

    how to hide a source code

    is there any way i can hide the source code from my web site not to be visible via internet explorer ?

    Thanks

  2. #2
    I'd rather be fishing DjM's Avatar
    Join Date
    Aug 2001
    Location
    The Great White North
    Posts
    1,867
    This site might give you a few ideas.

    Stopping Code And Image Theft

    Hope it helps.

    Cheers:
    DjM

  3. #3
    Just a Virtualized Geek MrLinus's Avatar
    Join Date
    Sep 2001
    Location
    Redondo Beach, CA
    Posts
    7,324
    What do you mean "source code"? Do you mean HTML or source code for an application?

    If it's HTML, there is no way to hide it. You could use another language like PHP that requires it to be parsed by the server before displaying it but there are still ways around that.

    If you mean source code for an application, don't post it up on the website.

    Thread moved to Web Security.
    Goodbye, Mittens (1992-2008). My pillow will be cold without your purring beside my head
    Extra! Extra! Get your FREE copy of Insight Newsletter||MsMittens' HomePage

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    285
    using server side scripting you can hide your code from being displayed by the web brouser. what happens is the client side script or the html code gets executed by the client web browser on the clients machine itself but you an specify that the script should run at the server e.g in VB script <script language="vbscript" runnat="server"> you can forsce the script to be executed at the server and the result is displayed to the client and not the code. using ASP , JAVA script , CGI Pearl Script you can dynamecly create page without showing the source to the client web browser. eg in ASP

    responce.write "<html>"
    responce.write "<body>"
    responce.write "welcome to codeless web site"
    responce.write "</body>"
    responce.write "</html>"



  5. #5
    Senior Member
    Join Date
    Jul 2003
    Posts
    114
    You could simply follow this page instructions and let it do its thing...
    It is sord of a tut for hiding the code from the folks at Programming Talk.

    http://www.programmingtalk.com/showthread.php?t=3650

    Want a good and straight answer to your question? ->
    Q : How to hide your code from everyone

    A1 : Don't use HTML
    A2 : Don't post it online

  6. #6
    Ninja Code Monkey
    Join Date
    Nov 2001
    Location
    Washington State
    Posts
    1,027
    There is no good and reliable way to hide html source. Any encoding you do has to be decoded and can be accessed if the person is sufficiently motivated.
    "When I get a little money I buy books; and if any is left I buy food and clothes." - Erasmus
    "There is no programming language, no matter how structured, that will prevent programmers from writing bad programs." - L. Flon
    "Mischief my ass, you are an unethical moron." - chsh
    Blog of X

  7. #7
    Senior Member Wazz's Avatar
    Join Date
    Apr 2003
    Posts
    288
    Use PHP
    "It is a shame that stupidity is not painful" - Anton LaVey

  8. #8
    Now, RFC Compliant! Noia's Avatar
    Join Date
    Jan 2002
    Posts
    1,210
    theres a program out there that encrypts the HTML source, with the aid of Java script is de-crypted but when you go to view source you get the encrypted version.
    WebBlock or something, it's pretty effective but frowned uppon because if you don't have js the page won't display, and it also disables copy-paste
    With all the subtlety of an artillery barrage / Follow blindly, for the true path is sketchy at best. .:Bring OS X to x86!:.
    Og ingen kan minnast dei linne drag i dronningas andlet den fagre dag Då landet her kvilte i heilag fred og alle hadde kjærleik å elske med.

  9. #9
    Now, RFC Compliant! Noia's Avatar
    Join Date
    Jan 2002
    Posts
    1,210
    With all the subtlety of an artillery barrage / Follow blindly, for the true path is sketchy at best. .:Bring OS X to x86!:.
    Og ingen kan minnast dei linne drag i dronningas andlet den fagre dag Då landet her kvilte i heilag fred og alle hadde kjærleik å elske med.

  10. #10
    Banned
    Join Date
    Nov 2003
    Posts
    182
    Why would you want to hide HTML? Unless you've come up with some radical, new way of coding HTML, there is no point in hiding it.

Posting Permissions

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