logoalt Hacker News

explodesyesterday at 1:33 PM2 repliesview on HN

First time I've heard about this. I'll have to look into the security model around it. I'm curious what safeguards are in place to prevent click jacking. I know showing a file picker """should""" be enough of a warning to users to be careful, but it's not hard to imagine a world where a couple of fish accidentally bite the bait of an allow-button, or because they followed instructions they incorrectly trusted.


Replies

explodesyesterday at 1:38 PM

Looks like these safeguards are in place:

* System and root directories cannot be selected. * Can only being activated after user action. * Requires https. * Double-confirmation for write access.

No API like this could ever be bulletproof, but it's a start I guess.

Very cool API though, and it really does open up a whole new world of possibilities.

show 2 replies
cickoyesterday at 1:45 PM

This is something you should explain to the Firefox critics.

show 1 reply