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. Locking of 'Save As' option

Locking of 'Save As' option

Scheduled Pinned Locked Moved ASP.NET
question
4 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.
  • N Offline
    N Offline
    nilam11
    wrote on last edited by
    #1

    hi i want to lock 'Save As' option at the time of running my web application. how it will be possible? so that nobody can copy my confidential documents which is i am showing at the run time.

    Thanks bye

    S G 2 Replies Last reply
    0
    • N nilam11

      hi i want to lock 'Save As' option at the time of running my web application. how it will be possible? so that nobody can copy my confidential documents which is i am showing at the run time.

      Thanks bye

      S Offline
      S Offline
      Saksida Bojan
      wrote on last edited by
      #2

      I dont know exactly how, but use it as popup windows. (Window without address bar, without menu and without navigation) It is easy to disable context with javascript. But i dont know if it is possible to disable copy and paste with keyboard shortcuts.

      S 1 Reply Last reply
      0
      • N nilam11

        hi i want to lock 'Save As' option at the time of running my web application. how it will be possible? so that nobody can copy my confidential documents which is i am showing at the run time.

        Thanks bye

        G Offline
        G Offline
        Guffa
        wrote on last edited by
        #3

        You might be able to disable the Save As option in some specific browsers, but there is no standard way of doing it. Why do you want to do that anyway? The Save As option is only one of the many ways of copying the data, so just disabling the Save As option doesn't protect your information. The files are easily available in the browser cache. You can just copy from the browser window and paste anywhere. A print-screen copies anything that is displayed.

        --- single minded; short sighted; long gone;

        1 Reply Last reply
        0
        • S Saksida Bojan

          I dont know exactly how, but use it as popup windows. (Window without address bar, without menu and without navigation) It is easy to disable context with javascript. But i dont know if it is possible to disable copy and paste with keyboard shortcuts.

          S Offline
          S Offline
          Sandeep Akhare
          wrote on last edited by
          #4

          you can restrict the copy paste option on whole form. here's the solution add removed="return false" to the body tag

          Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

          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