Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How can i hide HTML source code of web page

How can i hide HTML source code of web page

Scheduled Pinned Locked Moved ASP.NET
htmlquestion
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shashank veerkar
    wrote on last edited by
    #1

    hi.. is there any method so that i can hide my HTML source code of web page.. that is HTML code should not be Visible..

    D D 2 Replies Last reply
    0
    • S shashank veerkar

      hi.. is there any method so that i can hide my HTML source code of web page.. that is HTML code should not be Visible..

      D Offline
      D Offline
      Dan_P
      wrote on last edited by
      #2

      No, the browser needs this information to render the page.

      1 Reply Last reply
      0
      • S shashank veerkar

        hi.. is there any method so that i can hide my HTML source code of web page.. that is HTML code should not be Visible..

        D Offline
        D Offline
        DELETEUSER
        wrote on last edited by
        #3

        One way is to hide the context menu --> View source, by adding The loophole here is that from the toolbar View --> Source remains enabled. I don't know if there are any registry setting that you can access on the client side and disable it....!! ---------- user9 A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

        C 1 Reply Last reply
        0
        • D DELETEUSER

          One way is to hide the context menu --> View source, by adding The loophole here is that from the toolbar View --> Source remains enabled. I don't know if there are any registry setting that you can access on the client side and disable it....!! ---------- user9 A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

          C Offline
          C Offline
          Colin Angus Mackay
          wrote on last edited by
          #4

          For security reasons I hope that it cannot be disabled.


          My: Blog | Photos | Next SQL Presentation WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More

          G 1 Reply Last reply
          0
          • C Colin Angus Mackay

            For security reasons I hope that it cannot be disabled.


            My: Blog | Photos | Next SQL Presentation WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More

            G Offline
            G Offline
            gnjunge
            wrote on last edited by
            #5

            There are ways to "encode" your source code using Javascript. Probably their are also .NET component that do that work. But anybody that wants to read it, can put a little bit of effort into it and "decodes" your source code. If anyway you are interested, do some google search.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups