473,385 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Changing internet proxy settings

Hi all,

I would need a script that shall change the internet setting 'proxy
override' adding the ip address of a new intranet server, namely
172.16.31.1, this without deleting any other proxy override settings that
may already exist, and of course adding the new one only if not already
there.
This just to avoid having to go around to each computer to manually apply
the change.

I am very new to javascript, and any help or suggestion would really be
appreciated.

Thanks a lot.

Flavio fc***@yahoo.com
Jul 23 '05 #1
3 8371
Flavio wrote:
Hi all,

I would need a script that shall change the internet setting 'proxy
override' adding the ip address of a new intranet server, namely
172.16.31.1, this without deleting any other proxy override settings that
may already exist, and of course adding the new one only if not already
there.
If a script had access to the internet settings of a browser, can you
simply imagine the security hole it would create?
This just to avoid having to go around to each computer to manually apply
the change.


Put on your sneakers and start walking.

--
Randy

Jul 23 '05 #2
On Sat, 30 Apr 2005 15:39:27 +0200, Flavio <fc***@ZEPPA.com> wrote:
I would need a script that shall change the internet setting 'proxy
override' adding the ip address of a new intranet server, namely
172.16.31.1, this without deleting any other proxy override settings that
may already exist, and of course adding the new one only if not already
there.


This is not possible with normal JavaScript. You may be looking for this:
http://wp.netscape.com/eng/mozilla/2...roxy-live.html
http://www.microsoft.com/resources/d.../c26ie6rk.mspx

You have to reconfigure all the computers to point them to the automatic
configuration file, and AFAIK there are some browser compatibility issues
regarding what MIME type you need to use for the file. Google for details.
--
Hallvord R. M. Steen
http://www.opera.com/
Jul 23 '05 #3
Flavio wrote:
I would need a script that shall change the internet setting 'proxy
override' adding the ip address of a new intranet server, namely
172.16.31.1, this without deleting any other proxy override settings that
may already exist, and of course adding the new one only if not already
there.
This just to avoid having to go around to each computer to manually apply
the change.


Fortunately, this is not possible with client-side scripting in a
standard-installed Web browser (think of the security issues if it
were). However, if you used a proxy script, you would not have
that problem in the future:

<http://home.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html>

(Works also for IE and Opera; ask Google about "proxy pac" etc.)

If you have administrative access to the clients via a LAN and if the
clients are running a Windows NT kernel, it is possible to perform the
required Registry setting changes using remote Registry access, so at
least you don't have to go around. Depending on the number of clients,
it would be an afternoon's work, though, unless you find a way to
automate it.
PointedEars
--
The name of God: J-E-H-O-V-A. "J"...argh!
[crashes right through the "J"-slab, hanging over a hidden abyss
....eventually pulls himself out of the trap] Oh boy, what a fool
I am???!!! In Latin, Jehova starts with an "I"! -- Indiana Jones
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: harry | last post by:
Hi, I have a program that runs on multiple client pc's. Occasionally one or more of those pc's use VPN to connect to another corporate network. When using VPN they need to set proxy server in...
0
by: Robb Gilmore | last post by:
WE have a C# .NET app which runs as a service. It posts data to a server using HttpWebrequest. According to the docs I 've read, it should use the proxy settings from IE on the server machine. ...
3
by: Robb Gilmore | last post by:
posting this again as : rgilmore@newsgroup.nospam We have a C# .NET app which runs as a service. It posts data to a server using HttpWebrequest. According to the docs I 've read, it should use...
1
by: #Hai | last post by:
Hi, I want Internet Explorer to use localhost server (127.0.0.1) as proxy server instead of connect directly to the ISP. How to do this (by programming) ? Thanks
2
by: JezB | last post by:
I'm writing a windows forms application which accesses the internet at various points in two different ways: - calling a webservice (.wsdl), - using the WebRequest & WebResponse methods. I have...
3
by: chethana | last post by:
I am using copmaq ipaq pocket pc 2002 h3600 series. This device is synchronized with desk top pc running on windows 2000. I want this pocket pc to be conncted to internet .Kindly help ...
9
by: Codex Twin | last post by:
I am re-sending this in the hope that it might illicit a response. I have a corporate client who forces their workstations to get the proxy server details using an automatic proxy discovery script....
4
by: Doug van Vianen | last post by:
Hi, I have the following coding on a web page. It causes two pictures (pic1.jpg and pic2.jpg) to show, one above the other and then when one clicks on the top picture is squeezes to the left...
2
by: rcp | last post by:
Hi all, I've read all posts from all existing threads and none of them worked to solve my problem, although its exactly the same. I'll try to explain my case and see if a kind soul could help me...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.