News for hackers. Stuff that matters.
Re:Show HN: WebcamSwiper - a JS library that watches for han... by samstave on Tuesday October 02, 2012 @01:58AM (#4600756)
Sure, but I am asking if this can be modded to gain unauth access to the webcam.
Re:Show HN: WebcamSwiper - a JS library that watches for han... by showerst on Tuesday October 02, 2012 @11:16AM (#4602396)
The 'allow getusermedia' policy is handled by the browser, not javascript.

It's possible that some day there will be a browser bug for bypassing it, but you can't just write javascript code that says "don't ask for permission".

Nowadays the majority of webcams also hard-wire their 'on' light, so the user would at least get an indication that the webcam is suddenly recording.

Re:Show HN: WebcamSwiper - a JS library that watches for han... by mithras on Tuesday October 02, 2012 @02:09AM (#4600775)
Possibly if someone managed to include it on a page you had already given permission.

I don't know if how you'd sent it somewhere with the same origin policy in place.

Re:Show HN: WebcamSwiper - a JS library that watches for han... by franze on Tuesday October 02, 2012 @03:18AM (#4600913)
>Possibly if someone managed to include it on a page you had already given permission.

nope, the "use webcam" permission is per "getUserMedia" call, so 2 getUserMedia calls = 2 allowbar popups.