youknowriad / authenticate.js

AuthenticateJS is a simple angular library for handling security
MIT License
38 stars 13 forks source link

API suggestions #1

Closed Martinspire closed 10 years ago

Martinspire commented 10 years ago

Hi all,

I'm trying to get a simple authentication in my app and this seems to be a decent implementation. But i'm wondering on which API's you guys suggest to use with this module. I'm currently running a php server on which i retrieve some JSONs, so i think it would be nice to protect that too but i'm currently open for suggestions.

youknowriad commented 10 years ago

Hi Martin,

You should protect your apis too, this library is just frontend, it can't garrante security if your apis are not protected.

For a php server, you can use Silex microframework, or Symfony (for a full featured framework), they both have some security framework included. But a self made solution could also do the work. May be you can even include the standalone symfony security component to your app (I never tried this).