4 ms·
Can anyone tell me what mechanism would prevent any other software on the same system from intercepting the connection to Chrome? This isn't really an issue whe
by spacenick88 8y ago
Can anyone tell me what mechanism would prevent any other software on the same system from intercepting the connection to Chrome? This isn't really an issue when running with X11 on Linux as any app can grab text from another window but e.g. Wayland provides much better barriers between apps.
- kjksf 8y agoThe way this works: that the program locates chrome executable, launches it in a special mode, chrome prints which port it allocated for that instance to stdout, the program parses stdout to find the port and opens websocket connection. See: https://github.com/zserge/lorca/blob/master/chrome.go#L50 https://github.com/zserge/lorca/blob/master/chrome.go#L50 How would that be intercepted? Only the program that launches that chrome instance can read chrome's stdout. It's no more or less secure than the same concern with a regular Chrome.