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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Lock the View Source tab from the web page

Lock the View Source tab from the web page

Scheduled Pinned Locked Moved ASP.NET
databasehelp
5 Posts 4 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.
  • V Offline
    V Offline
    Vipin Venugopal
    wrote on last edited by
    #1

    HI friends, Kindly help me to lock the View Source tab from the Web page. That is when we right click the web page and select View Source or when we select the view tab from the tool bar and the select Source it should say Sorry You Cannot View The Source.Hope u people got my query. If any one knows the code for it do send it. Thank you, Vipin

    M J 2 Replies Last reply
    0
    • V Vipin Venugopal

      HI friends, Kindly help me to lock the View Source tab from the Web page. That is when we right click the web page and select View Source or when we select the view tab from the tool bar and the select Source it should say Sorry You Cannot View The Source.Hope u people got my query. If any one knows the code for it do send it. Thank you, Vipin

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      Short answer: you can't. Long answer: see Jesse Squire[^] ;P.

      V 1 Reply Last reply
      0
      • M minhpc_bk

        Short answer: you can't. Long answer: see Jesse Squire[^] ;P.

        V Offline
        V Offline
        Vipin Venugopal
        wrote on last edited by
        #3

        i agree with u. but only who have a very good knowledge in computer will know to disable the script. rest of who just go through do know how to disable it. so it would be of great help if u tell me how to do it. I am sure it can be done because i have see it some sites. but i dont know how to do it thank u for ur response. Vipin

        E 1 Reply Last reply
        0
        • V Vipin Venugopal

          HI friends, Kindly help me to lock the View Source tab from the Web page. That is when we right click the web page and select View Source or when we select the view tab from the tool bar and the select Source it should say Sorry You Cannot View The Source.Hope u people got my query. If any one knows the code for it do send it. Thank you, Vipin

          J Offline
          J Offline
          J4amieC
          wrote on last edited by
          #4

          Why would you even need to do this? You are providing something into the public domain (the internet) - anyone who really wants to see the source of the page will be able to, and anyone not savvy enough will not even bother wanting to! Either way you cant stop people viewing the html source of any page you put online. As was stated in the linked post above, anything you dont want the public to see you shouldnt put online. That is the only guaranteed way of stopping people viewing the source! Current blacklist svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour

          1 Reply Last reply
          0
          • V Vipin Venugopal

            i agree with u. but only who have a very good knowledge in computer will know to disable the script. rest of who just go through do know how to disable it. so it would be of great help if u tell me how to do it. I am sure it can be done because i have see it some sites. but i dont know how to do it thank u for ur response. Vipin

            E Offline
            E Offline
            eggsovereasy
            wrote on last edited by
            #5

            I would venture a guess that anyone who cares to look at your source and can understand it, would know to disable javascript.

            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