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
  • 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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

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

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses

621 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