ios + Parse.com - Make table read-only

Today my app was hacked by someone. They filled 1k rows in my table. I guess that is happened because I don't use users for my app. In my AppDelegate I just have the following:

    Parse.enableLocalDatastore()

    // Initialize Parse.
    Parse.setApplicationId("...",
        clientKey: "...")

    // [Optional] Track statistics around application opens.
    PFAnalytics.trackAppOpenedWithLaunchOptions(launchOptions)

How can I grant write access to some tables only for myself?

I dont want my app to have a login. I just want to make everyone instead of me a read-only users.

Answers


You could set Parse to not allow data entry at all from the app - then data entry is only possible via the parse.com console in your browser. in Parse.com, go to Settings -> General and set the Client class creation to No.


Need Your Help

Why does 12:20 PM parse to 0:20 on the next day?

java parsing date

I'm using java.text.SimpleDateFormat to parse string representations of date/time values inside an XML document. I'm seeing all times that have an hour value of 12 shifted by 12 hours into the futu...