rsilvabr / adminer-plugin-PasswordProtection

A password protection prompt before the normal adminer database login is shown

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Adminer Plugin: PasswordProtection

Adminer (formerly phpMinAdmin) is a full-featured database management tool written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server. Adminer is available for MySQL, PostgreSQL, SQLite, MS SQL, Oracle, SimpleDB, Elasticsearch and MongoDB.

This plugin protects the Database-Login of Adminer with a password, an easy alternative for a htaccess login page.

For more plugins visit the Adminer Plugin Page.

Installation

Follow the Plugin installation introduction at the official adminer website and copy the PasswordProtection.php into your Adminer plugins folder.

How to use

In line 6 of the plugin code, replace the predefined hash with your sha1 password hash. To generate your own sha1 password hash, you can use online tools like sha1-online.

Contribution

Feel free to create forks and pull requests. :)

About

A password protection prompt before the normal adminer database login is shown


Languages

Language:PHP 100.0%