While iPhone 3.0 is not available, I need to send an email with what created the iPhone application (image) and where the user selected.
Two solutions, the skpsmtpmessage library, which is not all there and is still buggy; or write your own server to send emails. The latter is not a problem for me, but the question is, how can I be sure that this is a message from my iPhone application, and not something else?
I can imagine using SSL, but I'm still surprised that someone on a jailbroken iPhone detaches my application and then uses a fake connection to spam through it.
My first thought is to force the server to accept data with only the exact set of functions (for example, exactly 1 jpg image, certain exact JSON data) and reject everything else. Of course, it could be DOSsed.
It makes sense? Has anyone done something like this?EDIT: I will not send the email to my server, just JSON and the server will generate the actual email address.
user51511
source
share