The website also must learn to reject "the guest" outside the door

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Does the website need to be defended? Promotion still too late, how can refuse to be outside the door. But the website does need to protect, otherwise ...

1. Anti-webpage Framework

These days, the rogue is no one to control, or say, there is no one in the background of the Rogue. So all kinds of hooligans everywhere. Borrow the name of the net pick, the name of the flow, so you are framed by the box.

Anti-webpage Framework countermeasures

These days, the law does not protect you, you can only protect yourself. The following code is written in the Web page to prevent the box from being framed.

2. Anti-domain binding

In the eyes of the Chinese people. com is the genuine domain name, so most of the case is the same domain name. com is being registered, and the domain name of. Net. org is safe. Don't think you picked it up cheaply. When you use the xxx.net prosperous development, others will use xxx.com to your site, if you are blind to even complacent, then pay tuition fees, and so people are familiar with xxx.com visit, they will sell you a high price of the domain name, do not buy words, waiting for traffic hijacked it.

Anti-domain binding countermeasures

Web page to determine the server server_name variables, if not including their own domain name to jump. The server-side ASP code replaces www.XXXXcom with its own URL.

Dim strserver_name strserver_name = LCase (Trim (Request.ServerVariables ("SERVER_NAME")) If Strserver_name <> www.target.com Then Response.Redirect "http://www.target.com" End If

The Web client will replace www.XXXX.com with its own URL.

3. Anti-domain hijacking

Domain name hijacking is divided into two situations, one is in the gateway to send false DNS information, the domestic and international domain names are effective, generally can not be resolved, can only allow visitors to remember their own server IP or several domain name standby, this situation can only affect some users.

The second is to modify DNS information directly, and the length of time can affect global users. The current. cn domain name is modified more likely, such as Google and MSN a few days ago, the domain name of the CN was hijacked. And a few years ago, Teng Xun illegally robbed QQ.com.cn domain name incident.

Anti-domain hijacking countermeasures

Try to register. com. NET and other international domain names, and then. cn domain name is also not open to individuals (that is, the registration of individuals without legal protection.)

4. Piracy infringement

Piracy is a big problem in fact, but it is not a problem in China. The consequence is basically light picture hotlinking influence Server, heavy, you still want to be bigger and stronger?

Do not know to give these infringers pay a counterfeit money when they do not do, I think there is little difference.

Countermeasures against piracy infringement

The following is only a simple method of protection, to solve this problem, have to wait for a decent copyright law. There are countries like the determination to ban certain websites.

The article uses the picture more, and gives the picture to play on own website logo and domain name watermark.

The article contains more complex HTML tags and various links to reduce the readability of simple replication.

Use your own web site for examples.

5. Anti-website Copy, collection

A variety of network advertising platform, many people take the simplest way to create a Web site to copy all the other sites.

Anti-website replication and acquisition strategy

Generally steal Web site information Server IP More fixed, know it IP, free play it, such as for its IP access to each page it contains more than one n trillion images. Or simply seal off its IP.

Reprint PLEASE note: This article from: A Heap of Gold network (www.yiduijin.cn)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.