2 ms·
git-annex, which uses a web server on localhost for the Assistant UI, uses this process: - generate a random token - start the server configured to only accep
by icebraining 8y ago
git-annex, which uses a web server on localhost for the Assistant UI, uses this process:
- 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.
- sligor 8y agoHTTP over Unix domain socket (owned by the user) would simplify all this. Sadly, browsers don't support this... :(