Questions tagged [http-authentication]
3 questions
4
votes
2 answers
Password protect specific files on root of website
I have had a website running for a while and it has a small following. What I wish to do now is password protect some specific files that sit in the root directory. So I'd like the user not to see any username/password request unless they attempt to…
Mick
- 321
- 2
- 3
- 13
3
votes
1 answer
Password protected directory [c-panel] - receiving no login prompt when the url is clicked in FB Messenger
The public_html folder is password-protected via the .htaccess file. I'm using an Apache web server and hosting on Godaddy.
It works fine if I use any browser on mobile and desktop/laptop devices.
But when the website URL is sent as a link and…
user124149
- 31
- 1
2
votes
0 answers
Allowing POST requests to bypass Basic Auth if on given pages
Current Implementation:
SetEnvIfNoCase Host ^example\.com$ passreq
AuthType Basic
AuthName "Restricted Area"
AuthUserFile /html/.htpasswd
Order Deny,Allow
Deny from all
Satisfy any
Require valid-user
Allow from env=!passreq
# Allow GET when…
Elwin
- 21
- 1