Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Typeprotect allows you to password-protect any of your pages.

Notifications You must be signed in to change notification settings

DeveloperVox/typeprotect

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
23 Commits
 
 
 
 
 
 

Repository files navigation

Overview

Typeprotect allows you to password-protect any of your pages with a single line of PHP code.

Site

http://preview.typebig.com/typeprotect/

Screenshot 01

Demo

http://preview.typebig.com/typeprotect/demo/

Default password is "test".

Benefits

  1. Minimal yet extremely usuable user interface.
  2. Lightweight - ~4kb
  3. Simple - one single file, no external CSS

Instructions

  1. Copy & paste typeprotect.php to your directory

  2. Open up typeprotect.php and change the value for $password to your own SHA-1 hashed password (http://www.sha1-online.com/). The default password is test, which is "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3" when SHA-1 hashed.

  3. Include the following code on the first line of the document you'd like to protect.

  4. To create a signout link, add the following line of code.

    <a href="typeprotect.php?signout=1">Sign Out</a>

About

Typeprotect allows you to password-protect any of your pages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.