Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Certificates for localhost. Parent comment
- generate a random token
- start the server configured to only accept requests that contain that token
- generate an HTML file that redirects to a local address passing that token, with read permissions only for the current user
- run the browser with that file as argument
In theory, this should prevent external requests, as well as from other users in the same machine.
Sadly, browsers don't support this... :(
- generate a random token
- start the server configured to only accept requests that contain that token
- generate an HTML file that redirects to a local address passing that token, with read permissions only for the current user
- run the browser with that file as argument
In theory, this should prevent external requests, as well as from other users in the same machine.