2

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.

4
  • 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. Commented Aug 25, 2016 at 16:29
  • 1
    For instance stackoverflow.com/questions/9518092/… Commented Aug 25, 2016 at 16:29
  • That's specific for Windows, but not other operating systems. Commented Aug 25, 2016 at 16:31
  • ActiveXObject is available only in IE Commented Aug 25, 2016 at 16:31

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.