X
X
xne712472015-04-20 15:03:38
Android
xne71247, 2015-04-20 15:03:38

How to write a vote?

I want to make a vote. I wanted to choose parse.com for data storage, but I was confused by the fact that 1 and the same user is used there to read and edit general data, that is, the application will be vulnerable. How are voting for android done in general, tell me who knows?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
belozerow, 2015-04-21
@belozerow

On parse.com you can write a cloud function through which voting will be carried out.
For example:
You can create a poll class and a vote class, and in the cloud function it is already possible to decide whether a particular user can vote.
Forbid everyone to write to both polls and votes, allow only reading, and in the cloud function use usemasterkey to write data.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question