Web browsers run in low-permission, sandboxed mode to ensure that they can’t do much damage if they’re compromised, and thus, accessing OS properties is not possible. However, can I request user's permission and somehow access the data I need (in my case the OS user)? For instance, browser cannot view the webcam without a permission.
-
No in any portable way. On Windows you can use ActiveX to get it, and you can find a number of SO questions that show how to do it.Barmar– Barmar2016-08-25 16:29:04 +00:00Commented Aug 25, 2016 at 16:29
-
1For instance stackoverflow.com/questions/9518092/…Barmar– Barmar2016-08-25 16:29:19 +00:00Commented Aug 25, 2016 at 16:29
-
That's specific for Windows, but not other operating systems.user6758020– user67580202016-08-25 16:31:15 +00:00Commented Aug 25, 2016 at 16:31
-
ActiveXObject is available only in IEuser6758020– user67580202016-08-25 16:31:32 +00:00Commented Aug 25, 2016 at 16:31
Add a comment
|