Eight programs to prevent the horse from being hanged

Source: Internet
Author: User

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

Yesterday I was bored wandering around the internet, found that a lot of web sites have been hanging horse phenomenon, now the site hangs horse phenomenon more and more serious, just my friends also contact me how to deal with such a problem, how to prevent the horse and solve the problem of hanging horses, I would like to talk about eight programs!

First, have independent server webmaster friends, to install anti-virus software in the server, such as NOD32 or Symantec AntiVirus, timely update Software virus Library, open file active detection, these two are my own feel can also server anti-virus software, recommended use. Of course, if you are free, and then install an ARP firewall is the best, my own long-term rental server I know, and sometimes Lan ARP attacks, which will cause all servers are hung horse.

Second, do not browse the Web site in the server, for example, you need to download a core source program to do the site, suggest you to open FTP, FTP to upload and modify the site files, the server to install as few ASP upload components, of course, if you need to install, you need to see how to do this component security policy, It's not in detail here.

The third to first website has the attachment directory, is through the foreground or backstage uploads the file, the file is in the directory, has the server friend suggestion to the attachment directory setting does not support ASP or PHP to run, this can greatly avoid the website to be hanged the horse.

Four, to the more formal source code website download program, for the download of asp+access type site, need to pay attention to is the background path, background account password, database path, Web site background path, these need to change, such as "admin" background path, this is absolutely necessary to change. Background Admin account password needs to be complicated, for example, can be set to "Sdkkppaq,.;; %$* ". Database file name, it is recommended that ". mdb" be modified to ". asp", will not be downloaded by hackers, this can not be ignored. For the Asp+mssql type Web site, the MSSQL Database account password also needs to be complicated.

Five, if you download the core program is the larger team has been updated, then you have to constantly pay attention to their official dynamic, there is a release upgrade program, you have to immediately follow the steps he wrote above to upgrade, to avoid the occurrence of loopholes in the program.

VI, I found that many sites like the top of their own site or the bottom of the copyright, in order to forget the background path, put on their own background landing links, this is not advisable, this is not for hackers to provide the first intrusion channel it? Suggest to remove it, prevent in the beginning.

Seven, whether asp+access (MSSQL) or Php+mysql program, webmaster friends to regularly back up the database of the site, I usually one weeks to back up. Access databases want to back up direct downloads. The MSSQL database is slightly more complex, not to elaborate here. MySQL database, generally such a program backstage have a MySQL backup function, if not, download a web version of the MySQL backup tool to back up all the data tables, or use the phpMyAdmin provided by the space provider, login to export ". sql" file backup.

Eighth, often on the FTP to see if each directory has not well-known files, pay attention to see the file after the date of change, and the time is similar to the file, we should pay attention to, download down carefully to see if the horse, if any, to remove the code hanging horse. But only to remove the horse code, I feel is not relatively safe, because some still have to picture form hang horse, this is difficult to check, suggest the entire website through FTP downloading down, view all files, picture hangs a horse, if you open this picture, he will not show diagram, this represents 80% may be picture hangs horse, Delete it.

Do the above eight programs, I believe that your site is relatively safe, can not say absolutely safe oh! This article by the Quanzhou website Construction www.huazoom.com Original, reprint please indicate the source. For the reprint without link friend, I am a little angry, in A5 contribution also has a period of time, found that a lot of reprinted without links, Ah, can only express helplessness, respect for the work of others, can become a major event, thank you for your cooperation.

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.