Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

HashType

Summary

Sets the type of encryption that will be used when storing user passwords in the database.

Usage

 

HashType=md5_user|md5_password|md5_site|crypt|plaintext

Description

This setting controls how the system will encrypt user passwords that are stored in the database. The following table reveals the possible values:

Type

Description

md5_user

Generates a hash using the MD5 algorithm based on the username and password.

md5_password

Generates a hash using the MD5 algorithm based solely on the password.

md5_site

Generates a hash using the MD5 algorithm based on the site name, username and password. Note that hashes which are generated using this option will not work after the value of the "SiteName" setting is changed (the users will not be able to log in).

crypt

Generates a hash using the crypt() PHP function which again uses the standard Unix DES-based encryption algorithm.

plaintext

The passwords are not encrypted. Instead, they are stored as plain text.

The default value is "md5_user". Note that "plaintext" is not recommended because of security reasons.

Frederik Holljen (03/03/2005 2:28 pm)

Julia Shymova (03/10/2007 12:21 pm)

Frederik Holljen, Julia Shymova, Balazs Halasy


Comments

There are no comments.