-1

For example, I want to sent information like credit card number, password etc so what's the best way to do the same?

Prabh
  • 2,466
  • 2
  • 24
  • 27

3 Answers3

1

Send with SSL encryption. Have a look at How to use NSURLConnection to connect with SSL for an untrusted cert? for some code

Community
  • 1
  • 1
Nick Weaver
  • 47,228
  • 12
  • 98
  • 108
0

use encryption algorithms......

Rakesh Bhatt
  • 4,606
  • 3
  • 25
  • 38
0

If you are posting to a web service, make sure you are using a HTTPS connection when you are calling to:

NSMutableURLRequest *urlRequest=[NSMutableURLRequest requestWithURL:url];
[ NSURLConnection sendSynchronousRequest: urlRequest returningResponse: nil error: &error ];
reflog
  • 7,587
  • 1
  • 42
  • 47