Remote database for login screen

Hey guys,
I recently began working on a app where i can use network database to login the user…
And with the research i have done, i only find how to store “php” json stuff from the network to internal memory
But i just want the device to grab the information straight from the database instead of uploading it all to the device…

Is there a way to work this situation out?
I searched for various different tutorials and examples, i have come to a dead end plz help me id u can
Thanks!

AFAIK that won’t be possible.

If you want to do it secure way, you can always encode and decode data based on some algorithm of your own.

For coding you can always use user login and current date/time, so coded data will be valid only for a specific one-time login operation.

But still you will have to use .php scripts on server. You don’t need use json, you may just pass the data withouth saving it to internal memory using http://docs.coronalabs.com/api/library/network/request.html

AFAIK that won’t be possible.

If you want to do it secure way, you can always encode and decode data based on some algorithm of your own.

For coding you can always use user login and current date/time, so coded data will be valid only for a specific one-time login operation.

But still you will have to use .php scripts on server. You don’t need use json, you may just pass the data withouth saving it to internal memory using http://docs.coronalabs.com/api/library/network/request.html