Changing internet proxy settings

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Flavio

    #1

    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 fc158@yahoo.com


  • Randy Webb

    #2
    Re: Changing internet proxy settings

    Flavio wrote:
    [color=blue]
    > 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.[/color]

    If a script had access to the internet settings of a browser, can you
    simply imagine the security hole it would create?
    [color=blue]
    > This just to avoid having to go around to each computer to manually apply
    > the change.[/color]

    Put on your sneakers and start walking.

    --
    Randy

    Comment

    • Hallvord R. M. Steen

      #3
      Re: Changing internet proxy settings

      On Sat, 30 Apr 2005 15:39:27 +0200, Flavio <fc158@ZEPPA.co m> wrote:
      [color=blue]
      > 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.[/color]

      This is not possible with normal JavaScript. You may be looking for this:

      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
      Faster, safer and smarter than default browsers. Fully-featured for privacy, security, and so much more. Get the faster, better Opera browser for free.

      Comment

      • Thomas 'PointedEars' Lahn

        #4
        Re: Changing internet proxy settings

        Flavio wrote:
        [color=blue]
        > 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.[/color]

        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.c om/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

        Comment

        Working...