mysql - Node.js security -


i building basic app using node.js , mysql , getting hang of it, secure api,like allow people access data, maybe passing token each time user requests information, tried searching tutorials used node.js , mysql database , security, confused security measure use, read json web tokens din't find proper tutorial that.please point me in right direction.

edit

what meant was, authenticated users allowed access data in api, when random visitor tries access url shouldnt alowed without proper authentication,what looking when user authenticated user should sent token of sort gets access private data,i don't know how go whole thing.would glad if clear me.

i @ implementing oauth2 server in app. found article useful:

http://blog.papersapp.com/oauth-server-in-node-js/


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -