How to protect my html page

World05
World05 used Ask the Experts™
on
Hello experts,

i have an html page index with my company logo and i want to protect this page against "right click" and Screenshot the page and use my logo illegaly, how to prevent this? any javascript code or html code can do this?

thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
leakim971Multitechnician
Top Expert 2014

Commented:
no way

Author

Commented:
????????? why not
leakim971Multitechnician
Top Expert 2014

Commented:
because you ask to have control over the user computer.
Who can prevent a screenshot with a browser?
you can try to prevent right click and so on but not a screen copy or a download (simple or using tips)
Why Diversity in Tech Matters

Kesha Williams, certified professional and software developer, explores the imbalance of diversity in the world of technology -- especially when it comes to hiring women. She showcases ways she's making a difference through the Colors of STEM program.

Author

Commented:
ah also the download option must be disabled, i've seen some web sites when you try to save the page you and when it's 99% of saving you get a message says : this page cannot be completed...

There must be a solution for the screenshot, i'll wait for other experts' answer
leakim971Multitechnician
Top Expert 2014

Commented:
>There must be a solution for the screenshot, i'll wait for other experts' answer
no way no way no way :)

the only solution I see would be to create a dedicated logo of your company for the web

Author

Commented:
dedicated logo means what?

any exemple?
leakim971Multitechnician
Top Expert 2014

Commented:
it's about programming but design, for example have your full domain address watermarked

Author

Commented:
ok at least i need how to protect it against right click and downloading the page.
Dave BaldwinFixer of Problems
Most Valuable Expert 2014

Commented:
This below turns right-click off.  It will not prevent me from doing a view source from the menu and getting the URL of your image and downloading it.  

No, you can not prevent me from taking a screen shot of my own computer.  That would be considered a security breach.

There are some things you can do on your server to prevent downloads of your images from other pages.  However, I can do the download are part of fetching your page still.  In fact, I can search thru my cache on my computer and find your image if I want.
<body oncontextmenu="return false;">

Open in new window

leakim971Multitechnician
Top Expert 2014

Commented:

Author

Commented:
how to hide the code source so? any genius idea? and what about the page downloading?
Dave BaldwinFixer of Problems
Most Valuable Expert 2014

Commented:
You can not hide the source code because that will hide it from the browser and your page will not be displayed.  You should accept the fact that your code and images will be available to anyone who views your web pages.  What little hiding you can do only works on the casual users, professionals and hackers can get what they want from your public pages and you cant' stop them if you want your web pages to be seen and used.

Author

Commented:
so no sulution?
Dave BaldwinFixer of Problems
Most Valuable Expert 2014

Commented:
This question gets asked fairly often.  The kind of solution you want is not available because the web and HTML pages don't work that way.  There are small things like disabling the right-click context menu and limiting server access to your images.  Those can slow some people down.  But I would say that most of the experts here know how to get around all of that and can download your code and images if they want.  If it shows up in my browser, I can capture it and save it to a file.
Commented:
You can use : Html Protector

download it at : http://www.antssoft.com/htmlprotector/index.htm

You can try it.

If you found someone using your company logo, then you can sue him, using your company's logo will not get them to a far safe place...but just troubles.

Author

Commented:
it helped anyway

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial