タグ

oauthとapiに関するjune29のブックマーク (4)

  • Accessing GitHub API from Go

    To access private info about the user via the API in your web app you need to authenticate your app against GitHub website. First, you need to register your application with GitHub (under Developer applications). You provide description of the app, including a callback url (we’ll get back to that). GitHub creates client id and client secret that you’ll need to provide to OAuth libraries (and keep

    Accessing GitHub API from Go
  • アクセストークンに有効期限を設けるべきかどうか - Qiita

    OAuthプロバイダを提供することになったとして、アクセストークンに有効期限を設けるべきかどうかについて考えたい。OAuth 2.0の仕様にはアクセストークンの期限切れに関係する仕様が定義されているし、セキュリティをより強固にするためにアクセストークンは一定期間で期限切れにするべきだという主張があったと思う (確認していないので無いかもしれない)。しかしながら、例えばGitHub API v3ではアクセストークンに有効期限を設けていない。この投稿では、アクセストークンの有効期限に関係して起こり得る問題を取り上げる。 アクセストークンに有効期限を持たせておくとちょっと安全 アクセストークンが悪意のある第三者に漏洩してしまった場合、そのアクセストークンに認可されているあらゆる操作が実行可能になってしまうという問題がまず存在する。ここでもしアクセストークンに有効期限が存在していたとすれば、その操

    アクセストークンに有効期限を設けるべきかどうか - Qiita
    june29
    june29 2015/08/31
    どこまでいっても「確実に安全」にはならないのが難しいよなあ。複雑度を2倍、4倍、8倍としていっても安全性は90%、95%、97%、と漸近的にしか変化しない印象。
  • Tumblr

    By clicking log in, or continuing with the other options below, you agree to Tumblr’s Terms of Service and have read the Privacy Policy

    Tumblr
    june29
    june29 2011/02/05
    "Tumblr supports OAuth 1.0a, accepting parameters via the Authorization header, with the HMAC-SHA1 signature method only."
  • OAuth Community Site

    An open protocol to allow secure authorization in a simple and standard method from web, mobile and desktop applications. Learn more about OAuth 2.0 » For app developers... If you're building... web applications desktop applications mobile applications JavaScript or browser-based apps OAuth is a way to get access to protected data from an application. It's safer and more secure than asking users t

    june29
    june29 2010/02/27
    OAuth のサイト。
  • 1