Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Ways to prevent Dedecms from being hung up

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

How to prevent Dedecms from being hung up? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!

How to prevent Dedecms from being hung up?

What makes many webmasters have a headache is that the station they built with dedecms is often inexplicably linked to the horse, resulting in a full page of black chain, infuriating; more serious is that it may also be punished by search engines, so hard to build the station, helplessly watch its weight decline, included reduced, and even by K.

Recommended study: dream weaving cms

In fact, I am grassroots in the invasion of a few stations and take the initiative to invade other stations, draw experience: for the dedecms horse, we can completely prevent it. Today, based on my own experience, I will talk to the broad masses of dede enthusiasts about how to prevent dedecms from being hung up:

1 server security this is the most fundamental prevention.

If you are a standalone host, I believe you have taken this into account when building a server. The latest version of antivirus software must be installed on the server, upgrade and update in time, and set the security permissions of the server, so that the Trojan horse can not find the door of intrusion. As for how to set it up, search a lot of it on the Internet; if you are a rented virtual host, you should open your eyes and screen carefully. At present, some IDC agents only recognize money and do not recognize people. Choosing a good space businessman will give you a safer space to build a station. Even if something goes wrong, it can be solved in the first place. You know, some problems in the site can not be delayed, especially by maliciously hanging the horse, one step may be K station. I heard that the mainframe of A5 is good. I have a chance to give it a try.

2 dedecms security settings under the windows host after downloading and installing the program, the first thing is to set directory permissions, so that even if the Trojan breaks through the restrictions of the server, we can't let it find a way to destroy it further. If you are a windows host, directory permissions can be set as follows: (1) data, templets, uploads, a directories, set read-write permissions, non-executable permissions; (2) if you do not need a topic, it is recommended to delete the special directory. After generating the HTML, delete the special/index.php and then set the directory to read-write, unexecutable permissions. (3) include, member, plus, background management directories are set to executable scripts, readable, but not writable (book, ask, company, group directories with add-ins are also set). In addition, it is recommended to delete the install directory and do not directly use the rights of MySQL root users on the site, and set up an independent MySQL user account for each site, with permissions of: SELECT, INSERT, UPDATE, DELETE,CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES. Since DEDE does not use stored procedures anywhere, it is important to disable permissions for FILE, EXECUTE, and so on to perform stored procedures or file operations.

3 program update patch after setting directory permissions, let the website background, do not be busy adding columns and documents, see if the system home page has update patch tips, if there is, do not hesitate to type it. If you are using an older version of the program and the patch prompt is the latest version, it is recommended that you reinstall the latest version of the program. Now that dede has released V5.6, it is more secure than the previous version. Tip: don't forget to back up important data, including pictures, templates, etc., before upgrading the program.

4 background directory renamed dede after installation, the default background directory is dede, so it is easy for people to guess the background address, which is extremely insecure. Change it to a more complex name, and it's best not to use something like a website name that is easy to guess.

5 FTP password complexity if your FTP password is simple, it is easy to be guessed by some FTP weak password software. So try to set the FTP password more complex, preferably a combination of letters and numbers, more than 10 digits, and let those cracking programs crash.

6 the last point is data backup. In fact, even if we take strict precautions, we cannot completely prevent being hung up, as the so-called as virtue rises one foot and vice rises ten! So your website data must be backed up frequently. In this way, even if the website is hacked, it can also restore the data through the reinstallation program, reducing the loss to a minimum. After all, the data is the most valuable asset of webmasters.

All right, the above 6 points are all a summary of my experience in practice. Next time, I will write an article about how to deal with dedecms after hanging up the horse.

Thank you for reading! After reading the above, do you have a general understanding of the ways to prevent Dedecms from being hung up? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report