RESTful API authentication/security
问题 I'm developing a RESTful API for my app on GAE python and right now I'm trying to figure out the best way to secure this API. I have my own member/authentication mechanism on this app. what is the best way to do this? having public/private key pairs becoming an OAuth provider HTTP authentication (seems very weak to me) other?? 回答1: First, discard HTTP Auth. It is not recommended in a true REST API since it resides on cookies. I would go with OAuth. There's a library called appengine_oauth