Hefei mother: Teach you a few strokes to keep dedecms away from the danger of horse-hanging

Source: Internet
Author: User

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

Dedecms is now the mainstream of the construction of a station program, I believe that a lot of webmaster and I have chosen it, its advantages I will not say more. But many webmaster headaches is that the station that oneself uses DEDECMS to build often is the person inexplicably hangs a horse, cause full page black chain, be angry; more serious is, still may be the search engine punishes, so painstakingly establishes the station, helplessly see it weight drops, included reduces, even by K. In fact, I was the root of the invasion of several stations and the initiative to invade his station after the experience: for the dedecms hanging horse, we can completely guard against. Today, the author on their own experience from a few points and the vast number of Dede enthusiasts to talk about how to prevent dedecms was hanging horse:

1 server Security This is the most fundamental precaution. If you are a stand-alone host, believe this when building a server. The server must install the latest version of antivirus anti-virus software, timely upgrade updates, and set up a good server security permissions, so that the Trojan can not find the door to the invasion. As for how to set up, on the internet to search a lot of, if you are renting a virtual host, it is necessary to polish your eyes carefully screened. Now some of the IDC agents are only recognized money, choose a good space provider, will give you a more secure building station space. Even if there is any problem, it can be solved in the first time. To know, the site appears some problems can not be dragged, especially by malicious horse, a step to be careful may be K station. I've heard that A5 's mainframe is good and has a chance to try.

2 Windows host under the Dedecms security settings download and install the program, the first is to set directory permissions, so even if the Trojan break the limits of the server, we also let it find no further damage to the road. If you are a Windows host, directory permissions can be set: (1) data, templets, uploads, a directory, set to read and write, can not be executed; (2) Do not need the topic, the proposed deletion of the special directory, you need to be able to delete after the HTML generated special/index.php The directory is then set to read-write, not enforceable permissions, (3) include, member, plus, admin directory set to executable script, readable, but not writable (with add-on modules installed, book, ask, Company , the group directory is also set. In addition, the proposed install directory deletion does not need to directly use the MySQL root user permissions on the site, to each site to set up a separate MySQL user account, permissions are: SELECT, INSERT, UPDATE, Delete,create, DROP, in DEX, ALTER, CREATE temporary TABLES. Because Dede does not use stored procedures anywhere, you must disable file, execute, and so on to execute stored procedures or file operations.

3 program update patch set up after the directory permissions, let the site backstage, do not busy to add columns and documents, to see if the System homepage has updated the patch prompts, if there is no hesitation, quickly hit it. If you are using an older version of the program and the patch hint is the latest version, then it is recommended to reinstall the latest version of the program. Now Dede has been out of the V5.6, compared to the previous version, security is more secure. Tips: Before upgrading the program, don't forget the backup of important data, including pictures, templates, etc.

4 Background directory renamed Dede installed after the default background directory is Dede, so easy to be guessed back address, very unsafe. Change it to a more complicated name, preferably not with the name of the site.

5 FTP Password complication If your FTP password is very simple, it is easy to be some ftp weak password software guessed. So try to set the FTP password more complex, the best letter + number combination, more than 10 digits, let those crack program when the machine.

6 last point, data backup. In fact, even if we do a strict prevention, also can not completely prevent the horse is hung, the so-called villains outsmart! So your site data must be backed up frequently. This is a Web site is black, can also restore data through the reload program, the loss to the lowest, after all, the data is the webmaster Most valuable wealth.

Well, the above 6 points are all of my experience in the process of summary, the next time to write a dedecms on the horse after the treatment method. This article A5 first, reprint please keep the link. Grassroots Station: Hefei Mother Network (www.hefeimama.com), QQ94506279 welcome exchanges.

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.