Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Im creating a simple android application,it requires some details to stored and retived from a web-service coded in php.I have planned to create PHP script like www.mycoolservice.com/domagic.php Android App will request the script some details via HTTP POST and the script will send the data using json encoding.

My question is about authentication and security

Which is the best way to authenticate a user with the server,should i send the username and password with every HTTP POST(encrypted)? Also if there are large number of users using the same script at a time,will there be some concurrency and efficiency issues?
Im just a beginner in webservices,Please guide me.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900