Short answer: you can't.

Unless you have total control over the end-user's computer, it can't be done. As long as they can access it, be it to view or to print, they can copy it. You may be able to make it difficult or annoying to do so but it will always be possible.

Consider: To print the data, they have to copy it from memory to the printer. What would stop them from intercepting the data there, possibly even with specialized hardware? I know this is extreme and almost no one would do it but my point is that they could.

And there are many, many ways that are much easier whereby they could copy the data that you could not stop without standing over their shoulder as long as they view it (or longer).

If you (and your boss) would settle for merely making it difficult, then you should perhaps ask yourself: Why? Why are these people that you are allowing access to your precious data not trustworthy enough in your eyes that they would copy your data? Perhaps they should not be given access in the first place. Or perhaps you should not be so paranoid about people copying your data.

Of course, it's entirely possible that I'm just confused. ;-)

Addendum: If by "browser" you mean web browser, then even making it difficult is nigh unto impossible. They could always wget(1)... (Unless, of course, you're talking about Windoze Lusers... ;-)

bbfu
Seasons don't fear The Reaper.
Nor do the wind, the sun, and the rain.
We can be like they are.


In reply to (bbfu) Re: Security - Are you really a computer monk? by bbfu
in thread Security - Are you really a computer monk? by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.