{"id":18889221,"url":"https://github.com/henry7720/verification-page","last_synced_at":"2025-11-10T09:05:28.284Z","repository":{"id":153636952,"uuid":"126102827","full_name":"henry7720/Verification-Page","owner":"henry7720","description":"A project for password-protecting page(s) on your website through an interstitial verification page.","archived":false,"fork":false,"pushed_at":"2025-03-26T02:10:17.000Z","size":87,"stargazers_count":28,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-02T04:49:37.032Z","etag":null,"topics":["page-protection","php","protected-page","snippets","verification","verification-page"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/henry7720.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-03-21T01:01:26.000Z","updated_at":"2025-03-26T02:10:21.000Z","dependencies_parsed_at":"2025-04-14T23:39:08.295Z","dependency_job_id":null,"html_url":"https://github.com/henry7720/Verification-Page","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/henry7720/Verification-Page","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henry7720%2FVerification-Page","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henry7720%2FVerification-Page/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henry7720%2FVerification-Page/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henry7720%2FVerification-Page/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/henry7720","download_url":"https://codeload.github.com/henry7720/Verification-Page/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henry7720%2FVerification-Page/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273767758,"owners_count":25164464,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["page-protection","php","protected-page","snippets","verification","verification-page"],"created_at":"2024-11-08T07:48:02.316Z","updated_at":"2025-11-10T09:05:28.232Z","avatar_url":"https://github.com/henry7720.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Verification Page\nA simple Page-Protection Verification page developed in [PHP](https://secure.php.net/); used to protect webpages you'd like only people who have access to a key to see.\n\n## Requirements\n* PHP ≥ 5.4\n\n## Tutorial\n1. Firstly, [download](https://github.com/henry7720/Verification-Page/archive/master.zip) all of the files in any way you please.\n2. Next, generate a BCRYPT hash for your password with [hashgenerator.php](hashgenerator.php). If you are going to do this yourself, base64 encode the sha256 hash of your password string, and then BCRYPT the base64 encoded sha256 hash.\n3. Next, open up [verification.php](verification.php#L3) and replace the `$hashedkey` variable's value with your hashed password. Use single quotes for the string, so that there are no variable parsing issues. \nIf you are aware of any particular pages you'd like to password-protect, you may add them to the [`$whitelist` array](verification.php#L21) now. Make sure the page's path is a relative full path; with filename and extension, e.g `/foo/bar.php` or `/bar.php`.\n4. Next, open up [php-snippets.txt](php-snippets.md) and follow the particular instructions for using the PHP snippets to protect pages.\n5. Finally, create a new page with the PHP snippets, or use our [pre-made example](index.php) (as a template), and that page will be password-protected, making sure that the page has been added to the whitelist.\n\n**Note**: if you are confused, make sure to read the inline comments for further explanation.\n\n## License\n[AGPLv3](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenry7720%2Fverification-page","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenry7720%2Fverification-page","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenry7720%2Fverification-page/lists"}