You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (Commented) (JIRA)" <ji...@apache.org> on 2011/11/28 22:13:40 UTC

[jira] [Commented] (CB-52) API: FileTransfer - Basic Authentication

    [ https://issues.apache.org/jira/browse/CB-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158776#comment-13158776 ] 

Shazron Abdullah commented on CB-52:
------------------------------------

Scratch that - below is the superior solution, using NSURLCredential in a delegate method, and allows for future auth methods:
http://stackoverflow.com/questions/1973325/nsurlconnection-and-basic-http-authentication/6814193#6814193
                
> API: FileTransfer - Basic Authentication
> ----------------------------------------
>
>                 Key: CB-52
>                 URL: https://issues.apache.org/jira/browse/CB-52
>             Project: Apache Callback
>          Issue Type: New Feature
>          Components: iOS
>            Reporter: Shazron Abdullah
>
> reported at: https://github.com/phonegap/phonegap-iphone/issues/177
> by: https://github.com/berb
> (This feature request is platform-agnostic and has been posted here due to the comments in #phonegap)
> I'd appreciate an optional parameter for FileUploadOptions allowing to pass Basic Authentication credentials. Combined with HTTPS, Basic Authentication can introduce minimal security when upload files.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira