Remove USB permission from Chrome extension - google-chrome

I gave USB access to the extension page, but there is no button like on a normal page to revoke this permission.
How can I do it without reinstalling browser?

Related

Why does a sign-in prompt show up when I access a website over https?

I have created a website and hosted it in IIS Server on Windows Server 2012 R2. I have set the authentication to be Windows Authentication. When the user who has logged into the domain tries accessing the website, everything works fine and no prompt is shown to the user.
Now I need to serve this website over https. I have purchased the certificate and added it to the website and have set up the SSL binding. When the user tries accessing the website now (using Google Chrome), he/she gets a "Sign in" prompt like this:
Why does this happen? Is there a setting in IIS I can change so that the user is not prompted?
I cannot not find documentation from Microsoft on how is this supposed to happen but I was under impression that the browser would pass the user's credentials to the IIS server without prompting the user to enter them.
With the information from this post, I found the solution for Google Chrome (67.0.3396.99). Apparently Chrome (as well as IE) reads the settings from Internet Options in Control Panel.
Here are the steps to remove the Sign in prompt:
Go to Control Panel -> Internet Options
Go to Security tab and select Trusted sites zone:
Click Sites button and make sure that you have your website's URL added to the list. Add it if you do not see it.
Close the Trusted sites popup.
In the Internet Properties dialogue, click Custom level… button
Scroll down to User Authentication section and make sure that you have “Automatic logon with current user name and password” option selected.
Click OK button to close the security settings dialogue.
Click Yes button on the Warning popup.
Click OK button to close the Internet Properties dialogue.

is it possible to keep a packaged app running after `chrome.runtime.reload()` without additional windows?

I have a packaged app that calls chrome.runtime.reload(). On a desktop OS (Windows, OSX) this call will cause the application to close, but not restart unless there is an additional Chrome page open.
I assume this is because if it is the only Chrome app running, it closes the Chrome process entirely and there is nothing to restart it.
Adding the background permission looks like it should work, according to the documentation but it does not seem to actually start Chrome when the user logs in (and keep it running) as the documentation states.
A user can override this globally with a setting.
In Chrome's settings with "Show advanced settings":
System > Continue running background apps when Google Chrome is closed
Perhaps it is disabled on your development system.

Installing External Extension

I want to create a Chrome extension and install it as part of a larger desktop software install. This is on Windows XP/Vista/7 etc. I've used the method described here and it works.
However, the extension is installed in a disabled state. The user has to explicitly enable it from the Chrome menu (the user has 3 chances to do that before the menu badge disappears) or from the extensions page. Enabling the extension brings up a prompt in which Chrome informs the user of the permissions the extension is requesting and asks the user to reject or accept the extension.
I understand that Google wants to ensure that users have a chance to reject external extensions. I also understand that Google prefers installs via its Web Store (for various logistical reasons, that is not a preferred option for this app). In fact, our application specifically asks the user for permission before installing the extension.
My issue is that the member has to affirmatively ask for the extension to be enabled before the permissions dialog comes up. Is there any programmatic/command line way to get Chrome to bring the permissions dialog up? The user still has the choice of rejecting the extension, but I would like to present the user with this choice, rather than relying on him/her to try and enable the extension later.
[ I realize that editing the Chrome Preferences file in the installation script will install the extension without any user intervention, but I don't want to do that.]
It's possible to trigger an install from a webpage. Have your installer open chrome with a small webpage that brings up this dialog to the user.

Chrome & Firefox keep asking for authentication when going to localhost

I'm having a problem where Chrome & Firefox have both started bringing up a popup window saying authentication required when going to localhost (401 page).
If I am on the network I can put in my usual network username/password and it works fine, but if I'm offline (the very reason I'm using localhost) that authentication fails and I get sent to a 403 page.
This does not happen in IE and was not happening a few days ago, my network settings are set to ignore Proxy on localhost and auto detect settings is switched off.
Any ideas?
Problem is the permission of your site directory. If you put the folder under your home (~), then this problem will probably occurs. Try to give your home folder a wider permission. Especially read permission for Others.
sure, if you browse the localhost pure directory you need apache / server authentication
Check your server authentication credentials (user and pass) and this is normal!
while if you browse localhost/mysite you will need not an auth ;)
also be sure your localhost/myproject folder has 755 chmod permissions
finally check if in your localhost/myapp/ there is a .htpasswd file and post it here
I also encountered a similar problem and reinstalling chrome to older version, changing proxy setting didn't help.
I have started using other browsers, however i use the below workaround in case I need to work in chrome.
1.) Click on login without inserting any username and password .
2.) Click on (X) to close the window.
The window would disappear. However, it will reappear if you open any other site or window.

Google chrome allow/deny prompt for using device's webcam with google chrome apps

At the moment google chrome provides me with security for using my device webcam, with a prompt '.. wants to use your camera' allow/deny. each time I load a page i get this option. I'm trying use the camera embedded within my google chrome app
Is there a way to make sure that once user says 'allow' the value is retrieved and user will not have to give access for that particular app.
Is there any API I could use where 'allow' or 'deny click is stored and sent back to the app so that i can do some modifications accordingly.
I cant reproduce that using my chrome browser though. I dont get any prompt for the user to allow/deny.But, client is getting this prompt and are not happy with prompt each time app tries to access camera
If you're talking about Chrome Packaged apps, you can use the "audioCapture" and "videoCapture" permissions in the manifest. No infobar prompt will appear if you include
those.
https://github.com/GoogleChrome/chrome-app-samples/blob/master/camera-capture/manifest.json#L14
If you're writing a normal web app hosted on a web server, than the only way
around the infobar prompt is to run the sight over SSL (https). In that case, users
will only be prompted once. Subsequent uses of your app won't show the prompt if the user
accepts the first time.
One solution is to launch your browser in command line by using the use-fake-ui-for-media-stream property.
start chrome "http://localhost" --use-fake-ui-for-media-stream
More informations about Linux and Mac command line instructions here: https://creativcoders.wordpress.com/2014/08/18/chrome-always-allow-access-to-webcam-and-microphone-over-http-webrtc/