![QUIQQER Website Locker](bin/images/Readme_WebsiteLocker.jpg)

Website Locker
========

This module allows you to block frontend access to your project behind password protection.
Among other things, you can use it to block crawlers from search engines.

Features
--------

- Protect an entire project or individual pages with a password
- Configure a logo, background image, background color, and interactive background
- Preserve explicitly configured robots directives on password pages


Installation
------------

Install the package with Composer:

    composer require quiqqer/website-locker


Configuration
-------------

The project-wide lock is configured in the project settings under **Website Locker**.
Enable the lock, enter a password, and optionally configure the logo and background.

Individual pages can be protected in the page settings under **Site Lock**. There you
can configure the page password, title, description, logo, and background image.


Usage
-----

Once a lock is enabled, unauthenticated visitors see a password form instead of the
protected frontend content. A successfully entered password is stored in the visitor's
session.


Technical notes
---------------

Password pages use `noindex` by default. If robots directives are configured for the
current site, the locker preserves those directives instead.


Contribution
----------

- Issue Tracker: https://dev.quiqqer.com/quiqqer/website-locker/-/issues
- Source Code: https://dev.quiqqer.com/quiqqer/website-locker


Support
-------

If you find an error or have a feature request, contact
[support@pcsg.de](mailto:support@pcsg.de).


Licence
-------

[GPL-3.0-or-later](LICENSE)
