|
Here are the available features:
- Encrypting HTML
- Disabling right click
- Scramble source code
- Inserting blank lines
- Disabling text selection
- Disabling status bar on links
- Disabling page printing
- Disabling internet explorer image toolbar
- Disabling drag and drop
- Disabling clipboard & print screen key
You can use all the features independently or combined. Check the protection details below for further information.
To encrypt content, just add the Html Protector web control like this:
<AU:HtmlProtector id="Htmlprotector1" runat= "server">< /FONT> This text is encrypted using Html Protector. AU:HtmlProtector>
If you don't want to encrypt but want to take advantage of the other protection use the following:
<AU:HtmlProtector id="Htmlprotector2" runat="server" />
Html Protector will block 99% of the people to view your source code or copy your content (including texts and images).
Here are the protections available in details:
Encrypting HTML
The most interesting feature is probably the encryption. It will make your code unreadable to both humans and robots. It will disable the visibility of spam email extractors because they will not find any emails (like text) in your encoded document. It will also stop content filters that are becoming widely used in large corporations to block some websites based on keywords. It will also block site extractors that spider your websites searching for internal links.
Html Protector can protect a whole document or certain parts. For example you should want to protect only the links or emails. Use the following code :
A question about our products? Contact our sales department using this emails address : <AU:HtmlProtector id="protector" runat ="server"> <a href="mailto:email@domain.com">email@domain.coma>< /FONT> AU:HtmlProtector> .
You can add multiple instance of the control within the same document.
Disabling right click
Right clicking on the document (including images) give access to a wide range of features including object properties and saving. This is the most common protection available. To enable it, just set DisableRightClick property to true :
<AU:HtmlProtector id="Htmlprotector1" runat="server" DisableRightClick="true">
Scramble source code
Source code that is not well formatted is not easy to read, it's sometimes very hard to understand. Enabling this protection will remove all line feeds in the protected content. Like the previous protection, you can enable it by setting RemoveLineFeeds to true.
Inserting blank lines
More of diversion than a protection. Setting the property InsertBlankLines to true will add 250 blank lines before your document. Some people that were able to view the source will think that code is not available...
Disabling text selection
If your website contain copyrighted content, you can protect your intellectual property by disabling the text selection. The user will be unable to select the texts, so unable to copy them into the clipboard. The property for this protection is DisableTextSelection.
Disabling status bar on links
The full link is displayed by default in the status bar when the mouse is over a link. The DisableStatusLinks to true will disable this ability.
Disabling page printing
If you don't want to allow the users to print your document, set the property DisablePagePrinting to true. All they will achieve are blank pages from their printer.
Disabling Internet explorer image toolbar
Introduced with Internet Explorer 6, this toolbar appears when your move the mouse over images. It enables image saving and printing. Enabling this protection using the DisableImageToolbar will disable that feature.
Disabling drag and drop
Another method to take the content out of the page is to drag&drop it. Just disable it using DisableDragAndDrop property.
Disabling clipboard & print screen key
The clipboard of your visitors may contain copyright content. If you don't like this idea, disable their clipboard and print screen key using the DisableClipBoard property. Warning, this protection will affect the whole client machine and not only the page where the user is, and will continue until the user closes the page. This can be very annoying for your users and they may think your application is not working well. |