In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Server security is a topic that webmasters pay close attention to, because website security is related to the fluctuation of website ranking optimization, corporate brand image and the transmission of wrong messages, which shows the wrong website browsing pages to browsing users. So ileowu today on the WEB server security settings, so as to improve server security, effectively protect our site, protect our corporate network image, hope that the method of knowing the day will be helpful to webmasters!
Server security settings
The first thing we deal with is to hide the error message in the server security settings, so that the error code generated by the user will not be displayed under browsing, which is not over. We also need to record the error message in the error log to facilitate the administrator to consult. Set error_reporting (0) in PHP to hide all errors.
Server secure Port Settin
1. Disable infrequently used ports, for example: 22, 139, 21
two。 Open the necessary Web ports 80,443.
3. Disable root Telnet port 22, or change the default port 22
4.ssh, mysql, redis, etc., do not use default ports 22, 3306, 6379, and so on.
Server mysql database security settings
1. Disable root user mysql remote login to the database
two。 Regular backups of the mysql database to restore the database.
3. Each site sets up a separate database user to prevent database confusion and irregularity.
4. Assign select, update, delete and insert permissions to mysql accounts
5. Regular backup of database cloud storage is a good choice.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.