Well, the mini world of my project is as follows:
I'm creating an application, where I will consume a database using the json method, where I validate the logged in user, but when asked to add some other information in the database, how will I identify which user X is adding and not user Y? The method I thought is to write a session variable, so I will always know that user X of cell x is adding content.
Is there any solution to this question? I need a north to study more about this. Thank you for collaborating with something.
User view:
Suppose I am the user of the application: I need to log in to access my information, after this I have the possibility to register a new student, to make a call to this student, and to be able to report how the class was.
Developer view:
I need to record user logged-in data where I can identify what information I need to change, as there may be multiple users logged in and each user joining a school for example. When the user registers the student, it is necessary to identify which user is doing this, could use it through sharedPreferences but my program would be available for any type of hacker.
It would not be necessary for me, to use login through facebook, outlook, gmail among others, since not all the people that have these logins, in addition to that, I need to register the "teacher" previously because I will only release people access registered in my systems.