Giter VIP home page Giter VIP logo

wn-secretpage-plugin's Introduction

Secret Page

This plugin allows simple password-protection of individual CMS or Winter Static Pages.

Installation

For the time being, use composer to install:

composer require mercator/wn-secretpage-plugin
php artisan winter:up

Usage

The plugin provides a single component (for CMS) and a single snippet (for Static Pages) with two fields:

  • Passphrase: The secret the user has to provide in order to access the page. By default, a random string is generated.
  • Invalid access URL: The URL the user is directed to if an incorrect passphrase is suppliedi (or is missing at all).

Once the component or snippet has been placed on the page and the passphrase as well as the Forward URL as been supplied, a user can access the page by passing a parameter as follows https://myhost.com/mypage?__secretpage=<passphrase>.

For example, to display the page xyz on host mercator.li with secret aszhim12as0AmoArtZR call

https://mercator.li/xyz?__secretpage=aszhim12as0AmoArtZR

Please consider donating to support the ongoing development if you find this plugin useful.

wn-secretpage-plugin's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.