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. General Programming
  3. C / C++ / MFC
  4. Prevent Screen Capturing

Prevent Screen Capturing

Scheduled Pinned Locked Moved C / C++ / MFC
question
33 Posts 11 Posters 2 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.
  • I Iain Clarke Warrior Programmer

    Code-o-mat wrote:

    Just a side-question: would placing your flatscreen on a scanner actually work i wonder

    I'm not sure myself. I'm pretty sure a CRT would not work. But an LCD/TFT? It's almost worth an experiment! Iain.

    I am one of "those foreigners coming over here and stealing our jobs". Yay me!

    C Offline
    C Offline
    Code o mat
    wrote on last edited by
    #13

    I wonder what my colegues here would say if i were to try that... :) They'd probably say i am a few bits short of an integer...

    > The problem with computers is that they do what you tell them to do and not what you want them to do. < > "It doesn't work, fix it" does not qualify as a bug report. < > Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

    1 Reply Last reply
    0
    • I Iain Clarke Warrior Programmer

      Nishad S wrote:

      But if the application is a viewer for a confidential document?

      That was my guess, really. My suggestion about the UI was very tongue in cheek. But the points given to you are very good ones. a) It's not your computer - but that might not be true, if the environment is provided for this purpose. Think train ticket purchasing kiosks. b) If a person can see it, they can use a camera, pen and paper, or even just their own brain cells to remember. If you can trust a user not take a photo, you can trust them not to use Print Screen. If the computer is under your control (Let's say you work for the CIA in IT), then it doesn't matter if they print screen - they have no usable USB slots to export the data! This strikes me as a daft requirement by someone who has not given it a lot of thought. Now, which Clancy novel was it, where every time a document was shown to someone, it had a deliberate error, so they'd know who the leak was...? I think the only way you can stop people is to make it a firable offence to steal, and to not let unauthorised people play! Iain.

      I am one of "those foreigners coming over here and stealing our jobs". Yay me!

      N Offline
      N Offline
      Nishad S
      wrote on last edited by
      #14

      Iain Clarke, Warrior Programmer wrote:

      That was my guess, really.

      Great! :) Your points are really valuable. I too believe that 100% foolproof software cannot be created. But I am trying to increase the difficulty to take unauthorized copies so that its frequency will get decreased. Thank you for your suggestions!

      - ns ami -

      E 1 Reply Last reply
      0
      • C Code o mat

        Just a side-question: would placing your flatscreen on a scanner actually work i wonder? I mean, since the scanner has a bright lightsource i supose the reflection of that (on the screen) would supress the light coming from the display. If there's a way to turn the scanner's lightsource off (or to not turn in on in the first place) and do the scanning than i supose it could work...but it would probably produce some fancy interference/refresh-asynchronity artifacts.

        > The problem with computers is that they do what you tell them to do and not what you want them to do. < > "It doesn't work, fix it" does not qualify as a bug report. < > Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

        M Offline
        M Offline
        Moak
        wrote on last edited by
        #15

        Code-o-mat wrote:

        Just a side-question: would placing your flatscreen on a scanner actually work i wonder?

        I probably lose nerd points for speaking this out loud... you could also use a digital camera for that matter. :) Btw, it works. Kind of. I tried and put my laptop screen on a scanner and the result was very stripy and hard to read, still it was possible to identify icons in the background and Google logo in Firefox. Mystery solved?

        Chat in Europe :java: Now with 24% more Twitter

        C I 2 Replies Last reply
        0
        • M Moak

          Code-o-mat wrote:

          Just a side-question: would placing your flatscreen on a scanner actually work i wonder?

          I probably lose nerd points for speaking this out loud... you could also use a digital camera for that matter. :) Btw, it works. Kind of. I tried and put my laptop screen on a scanner and the result was very stripy and hard to read, still it was possible to identify icons in the background and Google logo in Firefox. Mystery solved?

          Chat in Europe :java: Now with 24% more Twitter

          C Offline
          C Offline
          Code o mat
          wrote on last edited by
          #16

          Yeah, i know how it sounds but still, it's not that obvious if you think about it...

          Moak wrote:

          you could also use a digital camera for that matter.

          with flash of course, don't forget the flash so your screen won't look too dark. :P

          > The problem with computers is that they do what you tell them to do and not what you want them to do. < > "It doesn't work, fix it" does not qualify as a bug report. < > Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

          M 1 Reply Last reply
          0
          • C Code o mat

            Yeah, i know how it sounds but still, it's not that obvious if you think about it...

            Moak wrote:

            you could also use a digital camera for that matter.

            with flash of course, don't forget the flash so your screen won't look too dark. :P

            > The problem with computers is that they do what you tell them to do and not what you want them to do. < > "It doesn't work, fix it" does not qualify as a bug report. < > Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

            M Offline
            M Offline
            Moak
            wrote on last edited by
            #17

            Code-o-mat wrote:

            Yeah, i know how it sounds but still, it's not that obvious if you think about it...

            I know what you mean, once I had the idea in my head I had to try it out. :)

            Chat in Europe :java: Now with 24% more Twitter

            C 1 Reply Last reply
            0
            • M Moak

              Code-o-mat wrote:

              Just a side-question: would placing your flatscreen on a scanner actually work i wonder?

              I probably lose nerd points for speaking this out loud... you could also use a digital camera for that matter. :) Btw, it works. Kind of. I tried and put my laptop screen on a scanner and the result was very stripy and hard to read, still it was possible to identify icons in the background and Google logo in Firefox. Mystery solved?

              Chat in Europe :java: Now with 24% more Twitter

              I Offline
              I Offline
              Iain Clarke Warrior Programmer
              wrote on last edited by
              #18

              Moak wrote:

              Btw, it works

              And to think, I thought I was talking rubbish... Iain.

              I am one of "those foreigners coming over here and stealing our jobs". Yay me!

              C 1 Reply Last reply
              0
              • M Moak

                Code-o-mat wrote:

                Yeah, i know how it sounds but still, it's not that obvious if you think about it...

                I know what you mean, once I had the idea in my head I had to try it out. :)

                Chat in Europe :java: Now with 24% more Twitter

                C Offline
                C Offline
                Code o mat
                wrote on last edited by
                #19

                And? Did you get true holographic imagery as i suspect one would if one had to try? :P :)

                > The problem with computers is that they do what you tell them to do and not what you want them to do. < > "It doesn't work, fix it" does not qualify as a bug report. < > Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

                M 1 Reply Last reply
                0
                • C Code o mat

                  And? Did you get true holographic imagery as i suspect one would if one had to try? :P :)

                  > The problem with computers is that they do what you tell them to do and not what you want them to do. < > "It doesn't work, fix it" does not qualify as a bug report. < > Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

                  M Offline
                  M Offline
                  Moak
                  wrote on last edited by
                  #20

                  Hehe. :) What wonders me that the scanned quality is so bad, maybe has something to do with overexposing/interference from two light sources (scanner and screen).

                  Chat in Europe :java: Now with 24% more Twitter

                  C 1 Reply Last reply
                  0
                  • N Nishad S

                    Iain Clarke, Warrior Programmer wrote:

                    That was my guess, really.

                    Great! :) Your points are really valuable. I too believe that 100% foolproof software cannot be created. But I am trying to increase the difficulty to take unauthorized copies so that its frequency will get decreased. Thank you for your suggestions!

                    - ns ami -

                    E Offline
                    E Offline
                    Emilio Garavaglia
                    wrote on last edited by
                    #21

                    "But I am trying to increase the difficulty to take unauthorized copies so that its frequency will get decreased" Yes but ... doing it illegally (or with illegal methods) is unauthorized as well. Who are you to disable my system's features if I didn't authorize you to do so?

                    2 bugs found. > recompile ... 65534 bugs found. :doh:

                    N 1 Reply Last reply
                    0
                    • I Iain Clarke Warrior Programmer

                      Nishad S wrote:

                      But if the application is a viewer for a confidential document?

                      That was my guess, really. My suggestion about the UI was very tongue in cheek. But the points given to you are very good ones. a) It's not your computer - but that might not be true, if the environment is provided for this purpose. Think train ticket purchasing kiosks. b) If a person can see it, they can use a camera, pen and paper, or even just their own brain cells to remember. If you can trust a user not take a photo, you can trust them not to use Print Screen. If the computer is under your control (Let's say you work for the CIA in IT), then it doesn't matter if they print screen - they have no usable USB slots to export the data! This strikes me as a daft requirement by someone who has not given it a lot of thought. Now, which Clancy novel was it, where every time a document was shown to someone, it had a deliberate error, so they'd know who the leak was...? I think the only way you can stop people is to make it a firable offence to steal, and to not let unauthorised people play! Iain.

                      I am one of "those foreigners coming over here and stealing our jobs". Yay me!

                      E Offline
                      E Offline
                      Emilio Garavaglia
                      wrote on last edited by
                      #22

                      Iain, just for completeness, your point a) is correct, but a "bad design" may be hidden. If that's the case, it is the OS of the kiosk that should be configured not to have non-required features, not each specific application that may be developed for it (even a ticket kiosk may have many, if selling tickets for different companies) to take care about. Otherwise we are ... compensating a bad security manager with "bad" apps. Although "-*- == +" we are left with an unsafe system (in case it will run another app) and an unfair app (if running upon another system). Unless the kiosk doesn't have an OS at all and the OS IS THE APP. But it seems not the case here.

                      2 bugs found. > recompile ... 65534 bugs found. :doh:

                      1 Reply Last reply
                      0
                      • N Nishad S

                        Iain Clarke, Warrior Programmer wrote:

                        Are you embarrassed about your UI design?

                        Never! But if the application is a viewer for a confidential document? And if the vendor never interested in redistribution of that document without his approval? :)

                        Iain Clarke, Warrior Programmer wrote:

                        I suppose you might be able to RegisterHotKey and grab PrntScr for yourself.

                        Thank you. I have to check that and similar things to avoid Print Screen.

                        Iain Clarke, Warrior Programmer wrote:

                        But users could run some other screen capturing program. Using DirectXYZ won't help either - people take screen captures from games, after all.

                        Yes. But trying to avoid such things to the maximum possible extent.

                        Iain Clarke, Warrior Programmer wrote:

                        You could look to replace the shell, so people can't run other applications. But will your software also come with an armed guard to stop people from taking photos of the screen? Placing their flat screen on a scanner?

                        :D

                        - ns ami -

                        E Offline
                        E Offline
                        Emilio Garavaglia
                        wrote on last edited by
                        #23

                        Just one curiosity: why is your "vendor" giving "confidential document" to people he doesn't trust? Why should the "customer" trust you "vendor"'s products? If the the bug is in the problem, every answer is "bad".

                        2 bugs found. > recompile ... 65534 bugs found. :doh:

                        M 1 Reply Last reply
                        0
                        • E Emilio Garavaglia

                          Just one curiosity: why is your "vendor" giving "confidential document" to people he doesn't trust? Why should the "customer" trust you "vendor"'s products? If the the bug is in the problem, every answer is "bad".

                          2 bugs found. > recompile ... 65534 bugs found. :doh:

                          M Offline
                          M Offline
                          Moak
                          wrote on last edited by
                          #24

                          Emilio Garavaglia wrote:

                          why is your "vendor" giving "confidential document" to people he doesn't trust? Why should the "customer" trust you "vendor"'s products?

                          Why was original poster looking for a possible technical solution? Because opportunity makes the thief and by limiting the quick-n-easy access you already prevent the majority of people from doing something stupid. It's why we have crappy locks on our doors, it does not keep out trained intruders/thiefs/ninjas, but still better than having them unlocked, just a little lock does a great job. Unfortunately, there is no simple technical solution to prevent data theft or screen capturing. /M

                          Chat in Europe :java: Now with 24% more Twitter

                          D E 2 Replies Last reply
                          0
                          • M Moak

                            Hehe. :) What wonders me that the scanned quality is so bad, maybe has something to do with overexposing/interference from two light sources (scanner and screen).

                            Chat in Europe :java: Now with 24% more Twitter

                            C Offline
                            C Offline
                            Code o mat
                            wrote on last edited by
                            #25

                            If possible, try to turn the backlight off of the screen.

                            > The problem with computers is that they do what you tell them to do and not what you want them to do. < > "It doesn't work, fix it" does not qualify as a bug report. < > Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

                            1 Reply Last reply
                            0
                            • I Iain Clarke Warrior Programmer

                              Moak wrote:

                              Btw, it works

                              And to think, I thought I was talking rubbish... Iain.

                              I am one of "those foreigners coming over here and stealing our jobs". Yay me!

                              C Offline
                              C Offline
                              Code o mat
                              wrote on last edited by
                              #26

                              We have a saying that goes "A good priest learns until his death.", don't ask me where that came from though...

                              > The problem with computers is that they do what you tell them to do and not what you want them to do. < > "It doesn't work, fix it" does not qualify as a bug report. < > Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

                              1 Reply Last reply
                              0
                              • M Moak

                                Emilio Garavaglia wrote:

                                why is your "vendor" giving "confidential document" to people he doesn't trust? Why should the "customer" trust you "vendor"'s products?

                                Why was original poster looking for a possible technical solution? Because opportunity makes the thief and by limiting the quick-n-easy access you already prevent the majority of people from doing something stupid. It's why we have crappy locks on our doors, it does not keep out trained intruders/thiefs/ninjas, but still better than having them unlocked, just a little lock does a great job. Unfortunately, there is no simple technical solution to prevent data theft or screen capturing. /M

                                Chat in Europe :java: Now with 24% more Twitter

                                D Offline
                                D Offline
                                David Crow
                                wrote on last edited by
                                #27

                                Locks are only meant to keep the honest ones out.

                                "One man's wage rise is another man's price increase." - Harold Wilson

                                "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                                "Man who follows car will be exhausted." - Confucius

                                1 Reply Last reply
                                0
                                • C Code o mat

                                  Just a side-question: would placing your flatscreen on a scanner actually work i wonder? I mean, since the scanner has a bright lightsource i supose the reflection of that (on the screen) would supress the light coming from the display. If there's a way to turn the scanner's lightsource off (or to not turn in on in the first place) and do the scanning than i supose it could work...but it would probably produce some fancy interference/refresh-asynchronity artifacts.

                                  > The problem with computers is that they do what you tell them to do and not what you want them to do. < > "It doesn't work, fix it" does not qualify as a bug report. < > Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

                                  Y Offline
                                  Y Offline
                                  Yusuf
                                  wrote on last edited by
                                  #28

                                  Well, there is one way of testing it, Why don't you try it. I suspect it won't work.

                                  Yusuf May I help you?

                                  1 Reply Last reply
                                  0
                                  • I Iain Clarke Warrior Programmer

                                    Nishad S wrote:

                                    But if the application is a viewer for a confidential document?

                                    That was my guess, really. My suggestion about the UI was very tongue in cheek. But the points given to you are very good ones. a) It's not your computer - but that might not be true, if the environment is provided for this purpose. Think train ticket purchasing kiosks. b) If a person can see it, they can use a camera, pen and paper, or even just their own brain cells to remember. If you can trust a user not take a photo, you can trust them not to use Print Screen. If the computer is under your control (Let's say you work for the CIA in IT), then it doesn't matter if they print screen - they have no usable USB slots to export the data! This strikes me as a daft requirement by someone who has not given it a lot of thought. Now, which Clancy novel was it, where every time a document was shown to someone, it had a deliberate error, so they'd know who the leak was...? I think the only way you can stop people is to make it a firable offence to steal, and to not let unauthorised people play! Iain.

                                    I am one of "those foreigners coming over here and stealing our jobs". Yay me!

                                    J Offline
                                    J Offline
                                    JudyL_MD
                                    wrote on last edited by
                                    #29

                                    Iain Clarke, Warrior Programmer wrote:

                                    Now, which Clancy novel was it, where every time a document was shown to someone, it had a deliberate error, so they'd know who the leak was...?

                                    Patriot Games. The scheme was called the Canary Trap Judy

                                    Be wary of strong drink. It can make you shoot at tax collectors - and miss. Lazarus Long, "Time Enough For Love" by Robert A. Heinlein

                                    1 Reply Last reply
                                    0
                                    • E Emilio Garavaglia

                                      "But I am trying to increase the difficulty to take unauthorized copies so that its frequency will get decreased" Yes but ... doing it illegally (or with illegal methods) is unauthorized as well. Who are you to disable my system's features if I didn't authorize you to do so?

                                      2 bugs found. > recompile ... 65534 bugs found. :doh:

                                      N Offline
                                      N Offline
                                      Nishad S
                                      wrote on last edited by
                                      #30

                                      Emilio Garavaglia wrote:

                                      Who are you to disable my system's features if I didn't authorize you to do so?

                                      I am not disabling any system feature than making my application react differently... for example, when pressing Print Screen key, my application will be painted as black. That's all! :) And if I give the user full permission to take copies as he/she desires, then I have to raise the price of the product that much higher in order to meet development expenses and all. That cannot be bearable for the user. And I am not creating an open source application. So I have to deliver the product with a minimum price tag, and with enough profit. If the user makes copies and spread it easily, then my product will end in loss of money. Especially if the product is for a specific kind of people (say, technical students).

                                      - ns ami -

                                      E 1 Reply Last reply
                                      0
                                      • N Nishad S

                                        Emilio Garavaglia wrote:

                                        Who are you to disable my system's features if I didn't authorize you to do so?

                                        I am not disabling any system feature than making my application react differently... for example, when pressing Print Screen key, my application will be painted as black. That's all! :) And if I give the user full permission to take copies as he/she desires, then I have to raise the price of the product that much higher in order to meet development expenses and all. That cannot be bearable for the user. And I am not creating an open source application. So I have to deliver the product with a minimum price tag, and with enough profit. If the user makes copies and spread it easily, then my product will end in loss of money. Especially if the product is for a specific kind of people (say, technical students).

                                        - ns ami -

                                        E Offline
                                        E Offline
                                        Emilio Garavaglia
                                        wrote on last edited by
                                        #31

                                        "I am not disabling any system feature than making my application react differently" Don't play with words: the print-screen is not a functionality that belongs to your application. Things don't become "legal" if you call them differently. "And if I give the user full permission to take copies as he/she desires..." Respect to what the European law says, the user HAS THE FULL LEGAL RIGHT to make all the copies he wants for his own personal use. Trying to avoid this is illegal. At least in the EEC. If you want to limit the use of your application make your application binded to something that cannot be easily changed (HW dongle, registration keys, etc. etc.) but limiting the user rights about his own use of his own tools is an abuse. Your rights about how your software is use ends where the right about how the user use his system begins.

                                        2 bugs found. > recompile ... 65534 bugs found. :doh:

                                        1 Reply Last reply
                                        0
                                        • I Iain Clarke Warrior Programmer

                                          Nishad S wrote:

                                          But if the application is a viewer for a confidential document?

                                          That was my guess, really. My suggestion about the UI was very tongue in cheek. But the points given to you are very good ones. a) It's not your computer - but that might not be true, if the environment is provided for this purpose. Think train ticket purchasing kiosks. b) If a person can see it, they can use a camera, pen and paper, or even just their own brain cells to remember. If you can trust a user not take a photo, you can trust them not to use Print Screen. If the computer is under your control (Let's say you work for the CIA in IT), then it doesn't matter if they print screen - they have no usable USB slots to export the data! This strikes me as a daft requirement by someone who has not given it a lot of thought. Now, which Clancy novel was it, where every time a document was shown to someone, it had a deliberate error, so they'd know who the leak was...? I think the only way you can stop people is to make it a firable offence to steal, and to not let unauthorised people play! Iain.

                                          I am one of "those foreigners coming over here and stealing our jobs". Yay me!

                                          N Offline
                                          N Offline
                                          Niklas L
                                          wrote on last edited by
                                          #32

                                          The easiest thing to do is to add a small bright banner at the top of the viewer application stating that the document has been watermarked to identify leaks, w/o actually doing anything to the document. That could be intimidating enough.

                                          home

                                          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