Is it possible to make a website "closed source"?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hrstissiaopai
    New Member
    • Mar 2013
    • 27

    Is it possible to make a website "closed source"?

    So we know how most programs, other than the open source ones, don't give their code out. Why not do this on a website. For example, when you click on "View Source" or "Inspect Element", to get a message saying that the information is confidential or something like that. IS it possible?
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    That's because the http protocol transfers code directly and browsers interpret the code.

    To make your web site closed source, you can make the entire thing in a third party language, such as flash or java or silverlight. This transfers compiled programs instead of code. But it also requires that the end user install a third party plug in to view the site.

    Comment

    • hrstissiaopai
      New Member
      • Mar 2013
      • 27

      #3
      Oh thanks, that was very helpful. But so there is no way to make languages that normally do not require compiling to be closed source?

      Comment

      • Rabbit
        Recognized Expert MVP
        • Jan 2007
        • 12517

        #4
        The best you can do is obscure the code so it's more difficult to read. But there's nothing you can do to prevent them from seeing the javascript, html, and css.

        Comment

        Working...