Configurações de proxy do Google Chrome com nome de usuário e senha

3

Eu posso usar o Google Chrome no Linux Mint por trás de um proxy. Mas quando o navegador inicia, cada vez que eu tenho que digitar o nome de usuário e senha para a autenticação.

Existe alguma maneira de definir a senha do nome de usuário quando eu ligo o navegador?

Eu já tentei:

chrome --proxy-server="username:password@yourIP:PORT"

(por exemplo, chrome --proxy-server="username:[email protected]:8080" )

Isso não funcionou.

    
por Antriksha Somani 17.04.2015 / 07:01

1 resposta

1

Observe o seguinte :

Proxy auto-configuration files do not support hard-coded usernames and passwords. There's good reasoning behind this too, since providing support for hard-coded credentials would open up significant security holes, as anybody would be able to easily view the required credentials to access the proxy.

Rather configure the proxy as a transparent proxy, that way you won't need a username and password. You mention in one of your comments that the proxy server is located outside your LAN, which is why you require authentication. However, most proxies support rules based on the source IP, in which case it's a simple matter of only allowing requests originating from your corporate network.

The original proxy auto-config specification was originally drafted by Netscape in 1996. The original specification is no longer available directly, but you can still access it using The Wayback Machine's archived copy. The specification hasn't changed much, and is still largely the same as it was originally. You'll see the specification is quite simple, and that there is no provision for hard-coded credentials.

Para resolver esse problema, você pode usar essa ferramenta:

link

Esta ferramenta pode criar um proxy local e injetar automaticamente usuário / senha no servidor proxy real. Suportar script do PAC.

    
por 31.05.2016 / 12:24