Debian Codegraph @

minimal-examples/http-server/minimal-http-server-basicauth/mount-origin/index.html

raw symbols SCIP
1 <html>
2 <head>
3 <meta charset=utf-8 http-equiv="Content-Language" content="en"/>
4 </head>
5 <body>
6 <img src="libwebsockets.org-logo.svg">
7 <img src="strict-csp.svg"><br>
8
9 Hello from the <b>minimal http server basic auth example</b>.
10 <p>
11 This is a static page served from ./mount-origin/index.html.
12 <p>
13 Stuff down /secret in the URL space is protected by Basic Auth.<br>
14 Your browser will ask for a username / password combination, and<br>
15 lws will check it against ./ba-passwords, which contains a list of<br>
16 "username:password" one per line.<br>
17 <br>
18 The example content for ba-passwords is literally "user:password".<br>
19 Click on the link into the protected area of the URL space below<br>
20 and give your browser the credentials "user" and "password".
21 <p>
22 <a href="/secret/" target=_blank>/secret</a>
23 </body>
24 </html>
25