Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Browser says "Camera Blocked to protect your privacy"

Browser says "Camera Blocked to protect your privacy"

My project include using user camera and when i access application from localhost camera works fine but when accessing through ipaddress, the browser by default blocks the camera and other resource.. how can i allow them for my application.

enter image description here

My application is for an organization who will be accessing the application using ipaddress. Thank you for reading and your help. :)

like image 768
Krishna Acharya Avatar asked Aug 11 '19 11:08

Krishna Acharya


People also ask

How do I unblock my browser Camera?

Android ChromeTo the right of the address bar, tap More (triple dots) > Settings. Tap Site Settings. Tap Microphone or Camera. Tap to turn the microphone or camera on or off.

How do I allow or block the camera on my computer?

1 Click the "lock" icon located near the left side of the browser bar. 2 Click the dropdown menu next to camera. 3 From the options, select Allow . 4 Refresh the page.

What happens if I block my camera in Microsoft Edge?

Important: If you select "Block" you won't be able to use the camera and will have to complete the personal data manually and you won't able to complete the identity verification. If your camera is blocked in Microsoft Edge or if you blocked the access by accident, there's a few steps you'll need to take in order to re-enable the use.

What features are blocked on non-secure sites in chrome?

Chrome blocks vulnerable features—including camera, location, microphone, etc. on non-secure sites. As of July 2018, with the release of Chrome 68, Chrome starts to mark all HTTP sites as "not secure." You have three options to unblock these features for your site:

How do I enable the camera on my Web browser?

Another alternative is to: 1 Click the "lock" icon located near the left side of the browser bar. 2 Click the dropdown menu next to camera. 3 From the options, select Allow . 4 Refresh the page.


3 Answers

  1. type url chrome://flags/#unsafely-treat-insecure-origin-as-secure
  2. Enter url in the textarea
  3. Choose Enabled in the select option Click image link bellow to see detail

example

like image 81
Bi Li Avatar answered Oct 20 '22 11:10

Bi Li


Chrome blocks vulnerable features—including camera, location, microphone, etc. on non-secure sites. As of July 2018, with the release of Chrome 68, Chrome starts to mark all HTTP sites as "not secure."

You have three options to unblock these features for your site:

  1. Treat 192.168.10.79 as secure origins by setting chrome://flags/#unsafely-treat-insecure-origin-as-secure. Origins must have their protocol specified, e.g., http://192.168.10.79.
  2. Port forwarding your site address to localhost. Chrome treats localhost as secure origins.
  3. Set up a self-signed certificate for the server.
like image 11
Mustapha Hadid Avatar answered Oct 20 '22 11:10

Mustapha Hadid


The problem is because of http protocol. This is not a secure protocol.


Solution

In my scenario I have used https and have got all permissions.

like image 5
aashray jain Avatar answered Oct 20 '22 10:10

aashray jain