Changing internet proxy settings

F

Flavio

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 (e-mail address removed)
 
R

Randy Webb

Flavio said:
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.
 
H

Hallvord R. M. Steen

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.0/relnotes/demo/proxy-live.html
http://www.microsoft.com/resources/documentation/ie/6/all/reskit/en-us/part6/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.
 
T

Thomas 'PointedEars' Lahn

Flavio said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top