Authentication and Sessions Summary
- The HTTP protocol provides an easy way to introduce authentication using the Authorization header, this can be triggered by a PHP script or by the web-server
- You should apply a one-way function to passwords
- You might implement your own fine-grained authentication and save state using URL-parameters/cookies/sessions
- None of the techniques are really secure - use HTTP on top of SSL (HTTPS) if you are handling sensible data
Resources