Skip to Àkóónú
WordPress.org

Yorùbá

  • Themes
  • Plugins
  • Àtìlẹ́yìn
  • Nípa
  • Ìwé Ìtónisónà
  • Egbé
  • Kàn síwa
  • Gba WordPress
Wa WordPress jáde
WordPress.org

Plugin Directory

HTTP Digest Authentication

  • Fi plugin sílẹ̀
  • Àwọn ààyò mi
  • Wọlé
  • Fi plugin sílẹ̀
  • Àwọn ààyò mi
  • Wọlé

Plugin yìí kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress. Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

HTTP Digest Authentication

Láti ọwọ́ Jesin A
Ṣe ìgbàsílẹ̀
  • Àwọn àlàyé
  • Àwọn àgbéyẹ̀wò
  • Ìgbéwọlẹ̀
  • Ìdàgbàsókè
Ìrànlọ́wọ́

Àpèjúwe

This plugin adds an additional layer of protection for the wp-login.php page using HTTP Digest Authentication with the PHP header() function.
So it doesnÌtumọ̀ Yorùbá: ’t require configuring web server files like .htaccess or .htdigest and works on all web hosting environments.

Important: If you already have a plugin which does HTTP Authentication please deactivate it before activating this plugin. Similarly if you have configured your web server to do HTTP authentication on the wp-login.php file please remove it before using this plugin.

If you are using FastCGI PHP this plugin may keep prompting for the credentials even if you enter the right pair, in this case use the following in your .htaccess file

<IfModule mod_setenvif.c>
SetEnvIfNoCase ^Authorization$ "(.+)" PHP_AUTH_DIGEST=$1
</IfModule>

Advantages of HTTP Digest Authentication

  • Digest Authentication is very much safer than HTTP Basic Authentication whose credentials can be easily decoded with a base64 decoder.
  • From Wikipedia on HTTP Basic Authentication:

The BA (Basic Authentication) mechanism provides no confidentiality protection for the transmitted credentials. They are merely encoded with BASE64 in transit, but not encrypted or hashed in any way.

  • Digest Authentication on the other hand uses MD5 on the credentials making it “one way”
  • Uses server and client nonces to prevent replay attacks

Features of the HTTP Digest Auth plugin

  • Works using PHP header() function and doesnÌtumọ̀ Yorùbá: ’t require modification of service config files (like .htaccess, nginx.conf etc)
  • Supports HTTP credentials for each WordPress user
  • Clears the HTTP Digest credentials when the user logs out of WordPress (more on this in the FAQ)
  • Verifies if both the HTTP and WordPress credentials are of the same user (this is the default behavior and can be changed)
  • Works on all major Web Servers (Tested on Apache, Nginx and Lighttpd)

Plugin Behavior

  • When this plugin is activated for the first time all WordPress users will have the following Digest credentials
    Username: <WordPress username>
    Password: password
    This can be changed from Users > Your Profile.
  • After activating this plugin for the first time youÌtumọ̀ Yorùbá: ’ll be prompted for HTTP credentials when you logout
  • Similarly if you change your HTTP username or password youÌtumọ̀ Yorùbá: ’ll be prompted for this when you logout

Available languages

  • English
  • Serbo-Croatian by Borisa Djuraskovic

The HTTP Digest Authentication Plugin official homepage.

Àwọn àwòrán ìbòjú

Logging in using HTTP digest credentials
Logging in using HTTP digest credentials
The WordPress login page with the HTTP username
The WordPress login page with the HTTP username
Setting a HTTP Digest username and password via Users > Your Profile
Setting a HTTP Digest username and password via Users > Your Profile
Logged out of WordPress
Logged out of WordPress
Trying to login with someone else's WordPress username
Trying to login with someone elseÌtumọ̀ Yorùbá: ’s WordPress username

Ìgbéwọlẹ̀

  1. Unzip and upload the http-digest-auth folder to the /wp-content/plugins/ directory.
  2. Activate the HTTP Digest Authentication plugin through the ‘Plugins’ menu in WordPress.
  3. Configure a HTTP username/password by going to Users > Your Profile page.
  4. YouÌtumọ̀ Yorùbá: ’ll be prompted for these credentials when you logout after activating the plugin for the first time.

FAQ

Installation Instructions
  1. Unzip and upload the http-digest-auth folder to the /wp-content/plugins/ directory.
  2. Activate the HTTP Digest Authentication plugin through the ‘Plugins’ menu in WordPress.
  3. Configure a HTTP username/password by going to Users > Your Profile page.
  4. YouÌtumọ̀ Yorùbá: ’ll be prompted for these credentials when you logout after activating the plugin for the first time.
How does HTTP logout work?

When you access the wp-login.php page a portion of the realm is generated and stored in a session variable so the realm looks like “HTTP Auth Session MTM4MTc0NzU3OQ==”
When you logout of WordPress this session variable is deleted and a new realm is generated, hence the browser prompts you for credentials.

How are the HTTP Digest credentials stored?

The username is stored in the wp_usermeta table in plain-text. The password is stored in a two-way encryption format in the same table. It is encrypted and decrypted with the mcrypt_encrypt() and mcrypt_decrypt() functions.

But I saw the plain-text password in my database

That means your PHP installation doesnÌtumọ̀ Yorùbá: ’t have the mcrypt extension. To check if this is the case go to your <?php phpinfo(); ?> and check if there is a section called mcrypt. If there isnÌtumọ̀ Yorùbá: ’t one in your VPS/Dedicated server install it

on Debian/Ubuntu

apt-get install php5-mcrypt

on Centos/Fedora

yum install php5-mcrypt

After installation change the password (or enter the same password in Your Profile) to encrypt it.

Shared hosting users neednÌtumọ̀ Yorùbá: ’t worry about this as any decent host should already have this installed.

Help! I forgot my HTTP Digest credentials

You can find your username by executing the following MySQL query.

SELECT meta_value FROM `wp_usermeta` WHERE meta_key = 'http-digest-auth_username' and user_id = (SELECT ID from wp_users where user_login = 'WordPress_Username');

Remember to replace wp_ with your actual database prefix and WordPress_Username with your login name.

The password can be reset with the following query

UPDATE `wp_usermeta` SET meta_value = 'password' WHERE meta_key = 'http-digest-auth_password' and user_id = (SELECT ID from wp_users where user_login = 'admin');

This will set the HTTP password to password. Login and change it immediately.

What does the “Anyone can use these credentials” option do?

By default if you access the wp-login.php page using your HTTP credentials, only YOUR WordPress username can login.
This security measure can be disabled by ticking this option.

Are the HTTP credentials stored in the database even after this plugin is deactivated/deleted?

Deactivating this plugin doesnÌtumọ̀ Yorùbá: ’t affect the credentials but deleting the plugin erases all HTTP user credentials leaving no trace of it in the database.

Àwọn àgbéyẹ̀wò

Don't Work

CA Plugins Ọwẹ́wẹ̀ 3, 2016 2 àwọn ìdáhùn
I installed this plugin and changed password and tried to log but itÌtumọ̀ Yorùbá: ’s not working for correct username/password.
Ka gbogbo àwọn àgbéyẹ̀wò 5

Àwọn Olùkópa & Olùgbéejáde

“HTTP Digest Authentication” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa
  • Jesin A

Túmọ̀ “HTTP Digest Authentication” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

1.2.1

  • 3rd September 2014
  • Removed line-height styling on input boxes

1.2

  • 26th May 2014
  • Fixed bug that allowed logging in with empty credentials
  • Added Serbo-Croatian language, props Borisa Djuraskovic

1.1

  • 22nd March 2014
  • Reduced repetitive code with inheritance
  • .htaccess rules for FastCGI PHP

1.0

  • 16th October 2013
  • Initial version

Àkójọpọ̀ Meta

  • Ẹ̀yà 1.2.1
  • Ìgbàgbọ́hùn tó kẹ́yìn ọdún 9 sẹ́yìn
  • Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ 10+
  • Ẹ̀yà WordPress 3.1.0 tàbí ju bẹ́ẹ̀ lọ
  • Dánwò dé 4.9.29
  • Èdè
    English (US)
  • Àwọn àmì
    authauthenticatehackinglogin
  • Ìwòye Tó Péye

Àwọn ìbò

4 lára àwọn ìràwọ̀ 5.
  • 3 5-star reviews àwọn ìràwọ̀ 5 3
  • 1 4-star review àwọn ìràwọ̀ 4 1
  • 0 3-star reviews àwọn ìràwọ̀ 3 0
  • 0 2-star reviews àwọn ìràwọ̀ 2 0
  • 1 1-star review ìràwọ̀ 1 1

Your review

See all reviews

Àwọn Olùkópa

  • Jesin A

Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

Wo àpéjọ ìrànlọ́wọ́

  • Nípa Wa
  • Iroyin
  • Hosting
  • Privacy
  • Àfihàn
  • Themes
  • Plugins
  • Patterns
  • Kọ ẹkọ
  • Atilẹyin
  • Developers
  • WordPress.tv ↗
  • Kópa
  • Àwọn ìṣẹ̀lẹ̀
  • Ṣètọrẹ ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Yorùbá

  • Ṣabẹwo sí àkàùntù X (Twitter tẹ́lẹ̀) wa
  • Bẹwo akanti Bluesky wa
  • Lọ sí àkáǹtì Mastodon wa
  • Bẹwo akanti Threads wa
  • Ṣabẹwo si Facebook wa
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Bẹwo akanti TikTok wa
  • Visit our YouTube channel
  • Bẹwo akanti Tumblr wa
Koodu jẹ Ewi.
The WordPress® trademark is the intellectual property of the WordPress Foundation.