Imperial cms security settings optimization sharing
The following is the tutorial column of Empire cms secondary development to introduce to you the optimization and sharing of the security settings of Empire cms. I hope it will be helpful to friends in need!
First of all, let’s get to know the security authentication features of Empire CMS:
Four-layer security verification for Empire login:
The first level: password Double MD5 encryption, the password cannot be cracked, and if the database is downloaded, the real password cannot be obtained.
Second level: Backend directory customization. If the other party knows the password, it cannot find the login backend.
Third level: If you know the password and backend directory, you cannot know the authentication code. The authentication code stores the .php file and you must log in to FTP to view the file content.
Fourth level: Backend login supports custom-specified independent domain names. You cannot log in to the backend without using the specified domain name.
Empire COOKIE Information Five-layer Security Authentication:
The first level: System verification uses random password authentication. A new random password will be generated every time you log in or log out. There is no pattern to be found, and the authentication Using database COOKIE double authentication, it is safe and reliable.
Second stage: Backend login verification COOKIE variable prefix is customized. If you don’t even know the variable name, you cannot simulate COOKIE packet sending.
Third level: COOKIE information is verified using COOKIE authentication code, and information encryption uses double md5 encryption. The COOIE authentication code cannot be cracked, and the .php file containing the COOIE authentication code must be logged in to FTP to view the file content.
Fourth level: COOKIE information is bound to the login IP for authentication. If the COOKIE information is completely obtained and the random password is not changed, the authentication cannot be passed even if the login IP is not known.
Fifth level: Use files to verify whether the user is logged in. If the COOKIE information is completely obtained and the random password has not been changed, and the IP of the login is also known, the user will not be able to pass the authentication even if he is not online.
Let’s introduce how to set up the Empire CMS to be safe and optimized:
(Note: The following options are not required settings, they are just optimization suggestions.)
php configuration file php.ini settings:
1, magic_quotes_gpc is set to On
Magic quotes, it is recommended to turn this on.
2. Register_globals is set to Off
PHP global variable. It is recommended to turn this off.
3. Set display_errors to Off
Do not display PHP error prompts. This setting has little impact on system security.
Imperial website management system settings:
1. Modify the table prefix during installation
It is recommended to modify the table prefix when installing Imperial CMS.
2. When installing and initializing the administrator account, do not use common ones such as admin as the administrator user name.
3. Set the administrator password to more than 6 characters
The password consists of letters, numbers, underscores and special characters.
4. Set the login authentication code during installation
If the authentication code is not set during installation, you can modify the content of the "$do_loginauth" variable in the e/class/config.php file. (It is recommended to edit with Dreamweaver to prevent UTF8 encoded files from being converted to GBK)
5. Rename the background management directory /e/admin
Rename admin to something that is not easy to guess and good Remember the directory name.
6. Set the background verification login IP
In order to take care of users whose Internet IP changes at any time, the login IP is not verified by default. If you want to enable login IP verification, you can modify e/class/config.php The value of the "$do_ckhloginip" variable in the file is set to 1. (It is recommended to edit with Dreamweaver to prevent UTF8 encoded files from being converted to GBK)
7. When exiting the system, click the exit login link in the background to exit
Click to exit and log in. The system will automatically generate a new Random password (to prevent the leakage of locally saved COOKIE information due to computer poisoning or network hijacking, and generating a new random password can invalidate the leaked COOKIE information).
8. Enable website security firewall.
For more imperial cms technical articles, please visit the Empire cms column!
The above is the detailed content of Imperial cms security settings optimization sharing. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

The Empire CMS sitemap can be found by accessing the config.inc.php file and checking the dositemap settings. If set to "on", sitemap is enabled. The sitemap path is located in the sitemapurl setting and can be accessed via a browser or downloaded via FTP.

The mobile settings of Empire CMS are located in the "Mobile Template" of the "Template Management" module. The specific steps include: enabling the template, selecting the application channel, editing the template content, and saving the settings.

Empire CMS template download location: Official template download: https://www.phome.net/template/ Third-party template website: https://www.dedecms.com/diy/https://www.0978.com.cn /https://www.jiaocheng.com/Installation method: Download template Unzip template Upload template Select template

The Imperial CMS database configuration file is located in the website root directory e/config/db.inc.php. It contains the following configuration information: $dbhost: database server address $dbuser: database user name $dbpass: database password $dbname: database name $dbport :Database port $dbcharset: Database character set

The ideal location for the Empire CMS template file is /e/template/default/skin/default/. Secondly, it can also be placed in /e/data/skins/ and /e/skin/. You need to pay attention to maintaining the folder structure and setting file permissions. and regular backups.

Yes, Empire CMS is a free and open source content management system (CMS). It is a lightweight CMS that is feature-rich and easy to use. Empire CMS is licensed under the GNU General Public License (GPL), which means it is free to download, install and use. For commercial use, it offers a paid version that offers additional features and support such as ad management, online payments, and premium technical support.

The automatic publishing interface of Empire CMS is located at /e/api/web/postinfo.php. The usage steps are as follows: visit /e/api/web/postinfo.php address and use HTTP POST to submit the article title, column ID, category ID, author and article The content and other data interfaces will return a response in JSON format, which contains the publishing results and article ID.

The Imperial CMS Member Center is located in the "Member Management" menu in the background or at the following URL: Browser side: https://your domain name/e/member/user.php Server side: /e/member/user.php Functions included in the Member Center Including member management, member group management, personal center, points management, level management, etc., to facilitate administrators and members to manage website account information.
