How to protect HTML

Posted on 2010-01-11
Medium Priority
Last Modified: 2012-05-08
We are providing content via iframes to clients. This content is a mix of ASP and normal HTML. What protection can we take so that a client does not "scrape" the HTML source code in his browser and then use in his own pages without needing to link to us?

I have looked briefly at obfuscators but these seem aimed mainly at Vbscript etc, not plain HTML.
Question by:pld51
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 26286203
Ultimately, if your browser can display it, someone can see the HTML code.  How its generated can be hidden in server side scripting such as ASP, but the browser needs HTML to do anything, so the cat is pretty much out of the bag by the time the user can display the pages.

I think like most copyright holders you can only use existing legal channels and contractual obligations to avoid HTML theft, but technically, any savvy web hacker will find a way around any efforts to conceal the code.

It is possible to keep your ASP code hidden by ensuring ASP files are always parsed before delivery to the user.  Seems to me this would be where you would likely have something unique to protect.

Author Comment

ID: 26286637
Thanks, sorry to hear that! Re ASP code, I thought this is never visible to the client. How can he access this, if he can't see it in the source code? And what is meant by "ensuring ASP files are always parsed before delivery to the user"?

Accepted Solution

a1aait earned 2000 total points
ID: 26286720
Its possible to have your server misconfigured so the file gets delivered "as-is" and is not parsed through ASP before being sent.

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question