Is it possible they're stored in Keychain?

-Colin

On Fri, Oct 31, 2008 at 4:09 PM, Mark Allan <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I've got an application which uses a third party command line tool to 
> download some files from the web.  Unfortunately, the command line tool won't 
> work with a proxy server unless the proxy settings are written in clear text 
> (ugly but nothing I can do about that) in a config file.  The config file 
> itself is read/write only by root, so it's not *quite* as hideous as it could 
> be ;-)
>
> Anyway, writing to the config file isn't a problem.  My question is how can I 
> read the System proxy username and password settings from within my 
> application in order to be able to write them to the file?
>
> I've searched through the mailing list archives and had a look at the 
> SystemConfiguration Framework API but still can't quite find what I'm looking 
> for.  The closest thing I can see is SCDynamicStoreCopyProxies but that only 
> returns the following keys in the dictionary:
>        kSCPropNetProxiesExceptionsList
>        kSCPropNetProxiesHTTPEnable
>        kSCPropNetProxiesHTTPProxy
>        kSCPropNetProxiesHTTPPort
>        kSCPropNetProxiesHTTPSEnable
>        kSCPropNetProxiesHTTPSProxy
>        kSCPropNetProxiesHTTPSPort
>        kSCPropNetProxiesFTPEnable
>        kSCPropNetProxiesFTPProxy
>        kSCPropNetProxiesFTPPort
>        kSCPropNetProxiesFTPPassive
> none of which is what I'm looking for.
>
> Can anyone help please?
>
> Thanks,
> Mark
> _______________________________________________
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/dogcow%40gmail.com
>
> This email sent to [EMAIL PROTECTED]
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to