Download the PHP package pbiering/rcguard without Composer

On this page you can find all versions of the php package pbiering/rcguard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package rcguard

Roundcube webmail plugin "rcguard"

Introduction

This plugin logs failed login attempts and requires users to go through a CAPTCHA verification process when the number of failed attempts go too high. It provides protection against automated attacks.

Failed attempts are logged by IP and stored in a database table. IPs are also released after a certain expire amount of time.

Since 2024-01-01 the default config is set to always activate CAPTCHA verification by

$config['failed_attempts'] = 0;

Sources

Repositories

Registrations

Installation

With Composer

Add this plugin pbiering/rcguard to the require section of your Roundcube composer.json, run composer update and enable rcguard in the main Roundcube configuration file.
OR just run:

composer require pbiering/rcguard

Manually

Place the contents of this directory under plugins/rcguard.

Fedora/EL via RPM

until provided by Fedora or EPEL: available via Copr: https://copr.fedorainfracloud.org/coprs/pbiering/InternetServerExtensions/packages/

Activation

Enable rcguard in the main Roundcube configuration file (e.g. /etc/roundcubemail/config.inc.php) by extension of the plugin config array:

array_push($config['plugins'], 'rcguard');

Configuration

Copy config.inc.php.dist to config.inc.php and modify as necessary.

Use the files under SQL/ to create the database schema required for rcguard. The table should be created in the database used by Roundcube. NOTE: If you use the Roundcube db_prefix config option, you must rename the table rcguard accordingly.

Example for SQLite:

Customizing CAPTCHA

IMPORTANT: This plugin requires CAPTCHA API keys to work properly.
These can be obtained from:

You may customize the following in the config.inc.php file:

For more information about the widget please check:

The plugin configuration file has several other options you may configure, please take at look.

Since May 2018, you can define a proxy (anonymous or authenticated) to request the CAPTCHA widget.

Since April 2022, support for hCaptcha and Friendly Captcha was added

Since March 2023, support for Cloudflare's Turnstile was added

Supported databases

Contact

The original author of this plugin was Denny Lin.

Diana Soares forked it some years ago to 1) use reCAPTCHA v2.0, 2) add the larry skin and 3) because the project issues were taking too long to be answered. Also, the original project was not updated since 2015 and many things have changed in the meantime in Roundcube's API.

Peter Bieringer forked it 2022 from Diana Soares to add additional Captcha services.

Because of the former fork went also stale in 2021 (https://github.com/dsoares/roundcube-rcguard/issues/50), Peter Bieringer will maintain this project now.

Comments and suggestions are welcome via "issues".

License

This plugin is distributed under the GPL-3.0+ license.

This plugin also contains PHP libraries for

that are distributed under its own licenses. See the library files for the exact details.


All versions of rcguard with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
roundcube/plugin-installer Version >=0.1.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package pbiering/rcguard contains the following files

Loading the files please wait ....