4 ms·
I wish desktop browsers had domain handling. I'd like to open youtube links by default in Freetube, or somesuch. On my phone, I can configure this, on the deskt
by brnt 5y ago
I wish desktop browsers had domain handling. I'd like to open youtube links by default in Freetube, or somesuch. On my phone, I can configure this, on the desktop, I cannot.
- deleted 5y ago[deleted]
- ubercow13 5y agoYou could make every youtube page redirect to freetube with a userscript
- mankyd 5y agoThis is probably a bad security practice. When you click mybank.com, you don't want it silently redirecting to mybank.phishing.com. Links are explicit. You could always right up a trivial browser extension to do this on a case by case basis if you really desire.
- mqus 5y agoI think what brnt means is that he wants some links to open in an entirely different app and not in a browser. I don't see how phishing is applicable in this case. In fact it may be a good measure against it since you quickly see that it does not open in your usual app
- mschuster91 5y ago> In fact it may be a good measure against it since you quickly see that it does not open in your usual app There's nothing preventing a bad actor from copying the existing banking app and attaching a backdoor, assuming local code execution capability - either re-sign it with a local codesign certificate or use runtime code injection/linker overrides. A web app has always the URL bar and the banking site can rely on HSTS to prevent man-in-the-middle attacks.
- mqus 5y ago> There's nothing preventing a bad actor from copying the existing banking app and attaching a backdoor Getting an app to a user is imho FAR more difficult than showing him a website. (Fake ones even more so) How easily would you click on a link if I would provide it here vs How easily would you install a new program if I provided you a link here?
- CobsterLock 5y agoI think mankyd knew that. I'm thinking the exploit would be installing a bad app that enforces redirects for mybank.com, youbank.com, usabank.com, ukbank.com, allbanks.com to their malicious app. Then the app just knows how to pretend to be the login screen for all these apps and bam you get a whole ton of passwords. The key thing would be for the app not to show the url of their malicious site.
- danShumway 5y agoPhones already do this though, don't they? I think Android at least allows redirecting links to apps, and I'm pretty sure Mac does as well. Is there a bigger threat model people are worried about with extending the app schema to include normal URLs as well? Or do you just think the problem would be worse if the scope was broader? Trying to figure out where people are drawing the line on this.
- ivanmontillam 5y agoYes, but phones do have curated mobile app stores. Not the case with desktop computers, so it's dangerous.
- danShumway 5y agoHrm. Mac computers allow this with Slack. The installed version can intercept links to messages in the browser and open them in the app instead of the website. So I don't think it's just phones doing this today. And I guess Slack is signed on Mac via Gatekeeper, but it's not distributed through an app store. I don't run Windows and I won't install Slack natively on my Linux boxes, so I can't check the other platforms. But I would be a little surprised if the same doesn't work on them. This is basically how mailto links work today, right? See https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler/Web-based_protocol_handlers https://developer.mozilla.org/en-US/docs/Web/API/Navigator/r...
- ivanmontillam 5y ago
- captn3m0 5y agoWe're halfway there with the URL Protocol handler part in Web Application manifest specification (that currently only supports protocols, not websites). https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/URLProtocolHandler/explainer.md https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/...