William Brogden wrote:
If you want the browser to use a normal URL addressing the Internet, not in Java, you would have to mess with the system stack.
William Brogden wrote:
Bill
Gamini Sirisena wrote:Do you mean when you type in a url in the browser this software will actually send that request elsewhere?
Hebert Coelho wrote:What do you mean standalone java program?
Do you use any server? Or just a desktop software do redirect this calls?
It is not clear what do you want.
Rob Spoor wrote:Well, Windows 7 and Vista have User Access Control (UAC) enabled by default. This will usually ask you for permission if you want to make any changes to system files and folders, and the hosts file is one of them. Unfortunately, some programs do not trigger the permission dialog, and access simply fails. Java is one of these applications.
Eric Pascarello wrote:Because the file protocol does not return http status codes. Alert/console.log it and you will see what I am talking about.
Eric
Paul Clapham wrote:Firefox:
Tools menu
Options option
Advanced option
Network tab
Settings button
Enter the address and port of your proxy server... do I really have to go on? The rest should be obvious to anybody who ever used a computer application.
Rob Spoor wrote:Depends on the browser.
Paul Clapham wrote:
kumar china wrote:I don't need manual configuration, because if we remove or disturb manual configurations on browser it wont work.
That doesn't matter. The way to do what you ask is to write a proxy server and configure the browser to use it. If you're concerned about people reconfiguring your browser and bypassing your proxy server, then configure your network so that all routes to the outside lead through the proxy server. That's what everybody else does when they want to control what sites browsers can and can't do; if they can do it then so can you.
Tim Moores wrote:
i think while using proxy configuration we have to set proxy configuration values manually in browser.
Correct
And when the URL/request is not in blocked list , is it(proxy) will give normal response back?
Correct