Novice six Strokes prevention website is hanging horse

Source: Internet
Author: User
Keywords Hanging Horse

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

A period of time did not write articles, recently just made a kiss handed down web site just for a day, to a friend forcibly buy my domain name. I don't sell it. Results the next day, found that the site was hanging horse, its means extremely bad: he will all the ASP files to me to write the Trojan code. Because the kiss handed down the net is used Zblog program, in order to prevent the database is downloaded, I changed the database to the ASP file.

As a result, his move directly led to the destruction of my entire website. I'll elaborate on this in the fifth below, because of this thing. I want to write an article: six strokes prevention website is hanging horse. As a novice webmaster to share it.

First, look at the source files and home related CSS and JS files.

This is the most basic, the most old-fashioned, but the most practical trick. View home Code most people understand. But many people don't care about CSS files and JS files. I do not know now these two ways of hanging horse is going to the road.

Often have stationmaster reaction own website to report virus, but the homepage inside does not have horse. In fact, if you look carefully, Trojan most of the time is hidden in CSS and JS files inside.

Second, periodically modify the FTP user and password.

I don't want to explain this, it's a habit problem. There are not many loopholes in the website system. Want to invade the system is difficult, but want to burst an FTP password to believe that many people can still do. Advise those who use pure numbers as the password Webmaster Brothers modify their password, because now the new pure digital password, nine-digit password can be broken out within two hours.

Third, pay attention to the homepage and important page generation time.

There are many websites, especially ZF-type websites that are rarely updated in most cases, and if you tell him how to view the source code, it's also a hard thing to do. But if you let him look at "File creation time" "File modification Time", this they should be. If you don't update your Web site for a few months, and the "File creation time" "File modification Time" is a few days away, that's a problem.

More important documents, such as template files, CSS files, js file is best to look at.

Four, often upgrade their CMS system.

Now the eight classics of the website are generally used more mature CMS system, such as Discuz, Dedecms, PHPCM, Phpwind and so on. These systems generally have a new version of the upgrade after the background.

These tips are best to look at. Sometimes it's a bit of a bug upgrade. If necessary, often upgrade, and then a common CMS system background directory must be modified. Do not underestimate this point, with a inurl command can be in Baidu or GG inside the search out n more than the background directory.

Five, the program set up a time to regenerate the first page.

The general website is hacked, most people will choose to write directly to the home page. But the formal CMS is to use the birth of a template to generate the homepage of the site. If you set a time to regenerate periodically at some point in the day. Even by the black, was hanged the horse. is also automatically overwritten by the system.

Six, off-site backup of the whole station or database

The opening time mentioned, my kiss handed down the net because the database is ASP, miserable was written Trojan. Directly hung the whole station, often record the database-off-site backup. It's important to put important backups on your computer or on your hard drive, especially the ASP database. If there is no backup, the encounter of such a thing that directly crashes, and then add is often with your host space Business Contact. Sometimes the entire server is out of the hole. or other websites have trouble to you or maybe.

Basically say so much. Hope that the site will no longer be hung horse situation, 2010 is full of cups of a year, I hope all the Webmaster brothers can have a little income, in advance I wish all webmaster friends Happy Lantern Festival!

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.