angularjs - Authentication/ CSRF protection on a Django web app using Tastypie -


i start building web , cordova based mobile app use django / tastypie api server.

the app not served django, served independent server/ domain django being there provide api.

tastypie has options api key, basic http authentication, session based authentication. trying decide approach take. opinions out there? app provide unauthenticated login / signup rest behind login.

i have built web apps based on angular before served django , them able csrf token posting data. app hybrid mobile app (cordova based) , web app served domain or other. how best handle csrf given not able csrf token add ajax requests?

i have looked how other services such parse.io solve have not found helps.

thanks

rich


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -