How to prohibit downloading of the website

How to prohibit downloading of the website

Many authors of the websites seriously are afraid of the fact that competitors or ordinary users of a resource can steal fruits of their work. The good web programmer is obliged to protect the website from unwanted downloading. There is a set of ways for the solution of this task.

Instruction

1. Protect the website own means of the Apache server, using the built-in protection. For this purpose it is not necessary to have special qualification. Apply obligatory input of a name and the password of the visitor of the website. Only in case of their existence in a system, the user will get access to the directory protected by this resource.

2. The above method cannot be used if strict protection of commercial information is necessary. In such situation apply digest-authentication which is also supported by Apache. Here the name and the password are transferred in a type of the code therefore they cannot be intercepted by hackers. But this type of protection is supported not by all browsers.

3. Create for the user restriction for browsed pages for a certain period. Those who will exceed a limit can be deprived of some rights (to impose the ban) for several minutes. Surely warn the visitor of the website about those actions which violation will cause the ban on use. Such agreement is usually offered to be read and adopted.

4. Apply a method of the ban of downloading of files from your website by means of the hidden link. Make it on the page where other user will not be able to pass. When viewing the hidden IP-page the address is blocked for about three minutes. Consider that at this moment are blocked as well search robots. In this case it is possible to prohibit downloading not right after request, and after the beginning of direct downloading information or the image.

5. Seize JavaScript opportunities that it was possible to block copying or selection of text and graphic elements on the page of the website. It is quite available way for different servers to save material from downloading.

6. Transfer each element of the page to the 16-unit ASCII code which is coded in ISO Latin-1. Having saved such page, you can create the special script decoding a lead-in code (ASCII) and saving it to a disk for reading.

Author: «MirrorInfo» Dream Team


Print