https://github.com/fadilxcoder/htpasswd
Password protected site with Basic Authentication
https://github.com/fadilxcoder/htpasswd
authentication php poc security
Last synced: about 1 year ago
JSON representation
Password protected site with Basic Authentication
- Host: GitHub
- URL: https://github.com/fadilxcoder/htpasswd
- Owner: fadilxcoder
- Created: 2019-12-31T07:31:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-09T20:59:52.000Z (about 4 years ago)
- Last Synced: 2025-01-04T19:23:46.480Z (over 1 year ago)
- Topics: authentication, php, poc, security
- Language: PHP
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Notes
- https://hostingcanada.org/htpasswd-generator/
- Username : `fadilxcoder`
- Password : `u99qDU2BVgBgD@i`
- Mode : **Apache specific salted MD5 (insecure but common)**
- Apache virtual host setting
```
ServerName api.platform.local
DocumentRoot c:/wamp64/www/api-plateform-symfony/public/
SetEnvIfNoCase HOST ^api\.platform\.local\.?(:80)?$ PROTECTED_HOST
AuthUserFile c:/wamp64/www/.htpasswd
AuthType Basic
AuthName "Password Protected"
Order Deny,Allow
Satisfy any
Deny from all
Require valid-user
Allow from env=!PROTECTED_HOST
```