I would like to start using Parse.com to build a new application. I read the good documentation on their site but I am afraid there is something I might be missing out.
I understand that I can add DB data from the application. Assume I want to save some "note" to DB from my Android application - As I can see I am calling from the Android SDK a method that saves it into my DB:
String data = txtnote.getText().toString(); // read the note from the view
ParseObject note = new ParseObject("Notes"); // saves to notes DB
note.put(USER_NAME_KEY, username);
note.put("note", data);
note.saveInBackground(new SaveCallback()
{
@Override
public void done(ParseException e)
{
// DO SOMETHING
}
});
I am wondering whether this code is safe? It seems that if someone tries to reverse engineer my code he can actually see some information about my parse account (when I initialize the application I use APP_ID and CLIENT_KEY). If I compare it to using a REST API installed on some server then I only send the data I want to store with the authentication key for the user?
Am I missing anything? Is there a way to completely make some king of REST API on parse.com using the cloud code? without only the need to to some operations before save?
I will appreciate your answers and if you can direct me somewhere I can learn more.