Securely submit data to remote server with Android
<p>Bit of a niche question really.  When I say "securely", I don't mean SSL.</p>

<p>Basically I've been working on adding C2DM push messaging to my app, and on my test bed, this all works fine and notifications are received.  I was following this guide:
<a href="http://blog.mediarain.com/2011/03/simple-google-android-c2dm-tutorial-push-notifications-for-android/" rel="nofollow">http://blog.mediarain.com/2011/03/simple-google-android-c2dm-tutorial-push-notifications-for-android/</a></p>

<p>Now I'm all fine with that and I fully understand it, my problem is the passing of the device's unique ID to my web server which is forwarding the messages.  Say for example that in order to add the device ID to my database of IDs to message, it makes a call like so:
<a href="http://www.example.com/add_id?id=unique_id_here" rel="nofollow">http://www.example.com/add_id?id=unique_id_here</a></p>

<p>Which inserts that ID into my database, adding it to the list of devices I have available to push messages to, what's to stop someone just visiting that URL and filling my database with crap by submitting fake IDs?  Is there any way I can verify the data I'm receiving there, or verify the connection is coming from my app?</p>
