Mudasir Mirza

Mudasir Mirza

  • NA
  • 4
  • 6.8k

Setting Proxy Credentials for different browsers (IE, Chrome, Firefox)

Feb 19 2012 10:30 AM

Hi,

I am working on an application to set System Wide Proxy for HTTP traffic. 

Till now I have been able to set Proxy for IE on realtime. However, the proxy server uses BASIC authentication and this is creating problems.

Application asks for username and password in textbox, but I dont know how to set those. 

Below is the code which I am using to set proxy for IE, and for Firefox I am modifying the prefs.js file. This changes the Proxy Settings for IE, Chrome and Firefox, however after setting the proxy when I open the browser and open any website, a DialogBox appears asking for UserName and Password. 

If someone can guide me to resolve this UserName and Password issue, I would be really thankful.

Code at http://pastebin.com/eQAFmNst



Regards,

Mudasir Mirza


Answers (2)