{"id":22243073,"url":"https://github.com/mediamonks/drupal-protect-before-launch","last_synced_at":"2025-07-28T01:32:21.341Z","repository":{"id":50491718,"uuid":"96889968","full_name":"mediamonks/drupal-protect-before-launch","owner":"mediamonks","description":"Drupal module to to protect your Drupal 8 website with HTTP basic autentication.","archived":false,"fork":false,"pushed_at":"2023-05-30T18:05:35.000Z","size":97,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"8.x-1.x","last_synced_at":"2024-04-14T22:12:35.967Z","etag":null,"topics":["basic-authentication","drupal","drupal-8","protect","protection"],"latest_commit_sha":null,"homepage":"https://www.drupal.org/project/protect_before_launch","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mediamonks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-11T12:21:05.000Z","updated_at":"2023-06-18T01:28:59.000Z","dependencies_parsed_at":"2022-08-20T08:40:26.227Z","dependency_job_id":null,"html_url":"https://github.com/mediamonks/drupal-protect-before-launch","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediamonks%2Fdrupal-protect-before-launch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediamonks%2Fdrupal-protect-before-launch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediamonks%2Fdrupal-protect-before-launch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediamonks%2Fdrupal-protect-before-launch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mediamonks","download_url":"https://codeload.github.com/mediamonks/drupal-protect-before-launch/tar.gz/refs/heads/8.x-1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227851257,"owners_count":17829317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["basic-authentication","drupal","drupal-8","protect","protection"],"created_at":"2024-12-03T04:20:19.763Z","updated_at":"2024-12-03T04:20:20.433Z","avatar_url":"https://github.com/mediamonks.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/mediamonks/drupal-protect-before-launch.svg?branch=8.x-1.x)](https://travis-ci.org/mediamonks/drupal-protect-before-launch)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/mediamonks/drupal-protect-before-launch/badges/quality-score.png?b=8.x-1.x)](https://scrutinizer-ci.com/g/mediamonks/drupal-protect-before-launch/?branch=8.x-1.x)\n[![Code Coverage](https://scrutinizer-ci.com/g/mediamonks/drupal-protect-before-launch/badges/coverage.png?b=8.x-1.x)](https://scrutinizer-ci.com/g/mediamonks/drupal-protect-before-launch/?branch=8.x-1.x)\n[![License: GPL v2](https://img.shields.io/badge/License-GPL%20v2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)\n\n# Drupal Protect Before Launch\n\nProtected your website before launch with HTTP basic authentication.\nThe module allows you to set a username and password and enable and\ndisable them on the fly.\n\n## System Requirements\n\nYou need:\n\n- **PHP \u003e= 5.6.0**\n- **Drupal \u003e= 8.2**\n\n## Installation\n\nInstall with **composer require drupal/protect_before_launch** and enable from your\nadmin panel or use drush: **drush en protect_before_launch -y**.\n\n## Security\n\nIf you discover any security related issues, please email devmonk@mediamonks.com instead of using the issue tracker.\n\n## Configuration\n\nThe configuration form can be found in the admin interface:\n\n_Admin_ \u003e _Configuration_ \u003e _Development_ \u003e _Protect Before Launch_.\n\n### Options\nThe module allows you to set the following options:\n\n* Protection\n* Realm\n* Denied Content\n* Authentication Type\n* Username\n* Password\n* Exclude Paths\n* Environment Key\n* Environment Value\n\n### Protection\n\nCan be disabled, enabled or be controlled by the environment.\n\nWhen it is set to \"Auto Enabled by Environment\" the module will\nlook for the environment variable and when this is set it will\nenable the password protection.\n\nWhen also the Environment Value is set the the module will check\nif the value in the variable is set matches before enabling.\n\n### Realm\n\nThis is the message that appears in the authentication box of the browser.\n\n### Denied Content\n\nThis is the content that will be outputted to the user if credentials can't be\nvalidated if the site is currently under protection.\n\n### Authentication Type\n\nThe module allows you to use the Drupal user database to authenticate\nagainst an existing user or use a username and password.\nThis username and password  stored is independent from the Drupal user database.\n\nDefault username and password is set to:\n\n**username:** username\n\n**password:** password\n\n*Make sure you change these when using the built-in authentication option!*\n\n### Exclude paths\n\nThe exclude paths option allows you to set (pcre) patterns.\nWhen the url matches an exclude path for that path protection will be disabled.\n\n## Acquia Hosting\n\nBy default the environment key is set to \"AH\\_NON\\_PRODUCTION\" to work correctly \nwith [Acquia Hosting](https://www.acquia.com/). Set the protection mode to \n\"Auto Enabled by Environment\" and all non-production servers will be \npassword protected automatically.\n\n## Console commands\n\nThese console commands are available when using [Drupal Console](https://drupalconsole.com/):\n\n**protect\\_before\\_launch:protect [disabled | enabled | environment]**\u003cbr /\u003e\nEnable / Disable the password protection\n\n**protect\\_before\\_launch:username [\\\u003cusername\\\u003e]**\u003cbr /\u003e\nSet the username to authenticate against.\n\n**protect\\_before\\_launch:password [\\\u003cpassword\\\u003e]**\u003cbr /\u003e\nSet the password to authenticate against.\n\n**protect\\_before\\_launch:environment [\\\u003ckey\\\u003e] [\\\u003cvalue\\\u003e]**\u003cbr /\u003e\nSet the environment environment key and environment value\n\n**protect\\_before\\_launch:environment [\\\u003ckey\\\u003e] --no-value**\u003cbr /\u003e\nSet the environment environment key without environment value\n\n## License\n\nThe GPL version 2. Please read more about [Licensing in Drupal](https://www.drupal.org/about/licensing).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediamonks%2Fdrupal-protect-before-launch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmediamonks%2Fdrupal-protect-before-launch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediamonks%2Fdrupal-protect-before-launch/lists"}