Click here to Skip to main content
15,887,302 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hey there!

I'm student of Computer Sciences at university level and its quite painful to set proxy in web browsers we want to use and different applications like Internet Download Manager as university uses proxy server. I was thinking of developing a small utility which sets proxy in different applications and remove it from them. The first a straight forward question, is it even possible? And if it is, please give me a hint how to do this. I can help thousand of students in my campus with this utility. Please try your best to help me with this. Thanks in advance :-)
Posted
Comments
Sergey Alexandrovich Kryukov 1-Apr-13 13:30pm    
The first a straightforward response: not clear. As proxy servers exist, you of course can embed one in some application, but what "within different browsers and applications" may possibly mean? Don't you think that it depends on what applications do you mean?
—SA
Zainy95 1-Apr-13 14:11pm    
Okay, lemme try it again. As I connect my WiFi to my institution wireless router, I need to use a proxy which is given to students and staff of university to be able to use internet. So what we do, we put that proxy in Google Chrome, Mozilla Firefox & Internet Download Manager and even in Skype. What I want is, rather than I/we write down proxy to each of these apps one by one and after getting home, remove proxy again manually. I'd like to do this with some program and I want help to write such program. I hope I made myself clear now.
Sergey Alexandrovich Kryukov 1-Apr-13 14:21pm    
Existing browsers do have some "work through proxy" options which you can use. The proxy itself should be the same; from the standpoint of the browser, it simply replaced the HTTP server... There is no one universal way to do it for all browsers. You would need to use some API for each browser, if such API is available...
—SA

1 solution

You really cant' do this as you'd have to code seperate modules to support hundreds, if not thousands, of different browsers and applications.

You can handle the browser part very easily without writing a single line of code. It's called a Proxy AutoConfiguration script[^]. Just about all browsers support being pointed to a single URL to pickup the script from, thereby configuring the browser proxy settings, even giving you the ability to configure and use different proxy servers depending on the target URL you're browsing to.

Other applications don't support this though. They all have to be configured differently and usually configured by hand to use your proxy server.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900