Hello,
I have written an application for OSX that toggles browser proxy settings in Safari. The problem is that it requires root-level access in order to function. Is there a programmatic way I can tell Safari to use a proxy server without requiring root access on the computer?
Right now, my application essentially executes:
sudo networksetup -setwebproxystate Ethernet on
... [other networksetup calls] ...
I have scoured the Internet for days now and haven't found a more stable way of changing the proxy in Safari. Applescript is also out of the question.
Any help or direction would be greatly appreciated.
Thanks
I have written an application for OSX that toggles browser proxy settings in Safari. The problem is that it requires root-level access in order to function. Is there a programmatic way I can tell Safari to use a proxy server without requiring root access on the computer?
Right now, my application essentially executes:
sudo networksetup -setwebproxystate Ethernet on
... [other networksetup calls] ...
I have scoured the Internet for days now and haven't found a more stable way of changing the proxy in Safari. Applescript is also out of the question.
Any help or direction would be greatly appreciated.
Thanks