Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System Proxy Setting



Through command line tool "networksetup" I am able to set the proxy user name and password in network proxy setting of the System Preferences. I wanted to set it through my tool using some APIs might be provided by Apple.

 When I successfully set the proxy user name and password for http using "networksetup" too,l get
one issue is it prompt me for access to the keychain using the standard "Deny", "Allow Once", "Always Allow" GUI dialog. This makes it somewhat useless during remote access. However, if I click on "Always Allow", then the command line tool can access the password to that account only for all future invocations without a dialog.

How can I suppress this GUI dialog  alert  programmatically?


Thanks,
Sunil.



On Thu, Apr 10, 2008 at 1:55 PM, sunil prajapati <email@hidden> wrote:
Hi,

I am using "security" command to set the http proxy user name and password in Keychain.

"security add-internet-password -a sunil -s 192.168.10.23 -P 808  -r "http"  -w sunil2007"

I am successfully able to store proxy user name and password for IP 192.168.10.23 in Keychain.

But this IP and Port is not reflecting for http protocol in System Preferences network proxy setting.

I want this IP and Port should be set for http protocol in System Preferences network proxy setting.

Is there any way to set internet proxy user name and password in  Network proxy setting of System Preferences for http protocol ?

--
Thanks,
Sunil.




--
Thanks & Regards,

Sunil Prajapati
Software Developer in Macintosh
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden

References: 
 >System Proxy Setting (From: "sunil prajapati" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.