Is there HTML code to prevent printing of a webpage??

M

Marcello do Guzman

Please post the HTML code to prevent others from printing my webpages.
Thank you in advance.


Marcello
 
O

OHM \( Terry Burns \)

You may want to try using Adobe Acrobat to protect your documents from all
but the hackers amongst us. There are unfortunately ways to circumvent
standard protection on those as well.

You can also disable copying,

But printing, you cannot AFAIK. I suggest you re-think your security
strategy, this would be a good thing though !

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
 
M

Murray

No, you cannot disable copying.....

--
Murray

OHM ( Terry Burns ) said:
You may want to try using Adobe Acrobat to protect your documents from all
but the hackers amongst us. There are unfortunately ways to circumvent
standard protection on those as well.

You can also disable copying,

But printing, you cannot AFAIK. I suggest you re-think your security
strategy, this would be a good thing though !

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
 
O

OHM \( Terry Burns \)

Actually I was thinking about the right click disable

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
 
M

Murray

Prototypical foolishness and hobby snark stuff. It's useless. It fails on
Macs. It fails on browsers with js disabled. And it's too easy to get
around elsewise.....

Other than that, it's OK.
 
O

OHM \( Terry Burns \)

Prototypical foolishness and hobby snark stuff.

Sometimes its enough to dissuade those so mercilessly and unfortunately less
talented than yourself.

IMHO, It's more beneficial to state the case with a simple polite cogent
argument rather than make inflammatory comments just to point score, as this
engenders a more cohesive community spirit, which is after all what most of
us strive for.

Regards

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
 
M

Murray

Your suggestion misleads. It encourages the propagation of this urban
legend that you can take action to prevent such things. You cannot. It
doesn't work. It's a waste of everyone's time. Even yours.

Mine told the truth. If that's not polite or cogent enough, then I can take
it.
 
O

OHM \( Terry Burns \)

My suggestion stands on its merit in that it can at least offer some
deterrent in as much as it offers a obsticle. The fact that you can walk
around it is another thing altogether, you just have to know how.

This is akin to people closing their garden gate. You know they can come in,
but it makes them ever so slightly less likely to.

Security is never absolute and one must take reasonable steps to protect
ones assets. If the OP really has sensitive data then he should not be
posting it on the web site in the first place.

Have a nice Christmas Scrooge, and remember not to choke on a turkey bone
:-|

END

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
 
M

Murray

Thing is, those who WILL take anything know how to get around it. Those who
wouldn't know what to do with the content if you hand delivered it to them
are the ones who will be stymied. I suppose if you want to put something on
your page that adds to the maintenance load of the site, and can make
support issues more difficult yet stops those in that latter case, then
that's your business.

The fact is, it's not worth your time and trouble.
 
S

Steve Easton

It also is an obstacle for those with usability / accessibility issues.

Disabling the "entire" right click context menu disables the ability to create a desktop shortcut
for those who don't want to add it to the favorites list, plus several other "handy options."

The more "user friendly" option is to simply watermark images if that is what you are trying to
protect.

</imho>

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
O

OHM \( Terry Burns \)

Well, whadya gonna do ?

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
 
S

Steve Easton

Well...
Don't publish anything on a "public" server that you're not willing to "give" away.

;-)


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top