Skip to main content

Optimized Throttling forĀ OAuth-Based Authorization Servers

  • Conference paper
  • First Online:
Enterprise Design, Operations, and Computing. EDOC 2022 Workshops (EDOC 2022)

Abstract

Responsiveness is a key requirement for web-based enterprise software systems. To this end, throttling (or rate limiting) is often applied to block illegitimate traffic from outside-facing components and protect their computational resources. OAuth-based authorization servers are among the most popular components facing the web. Alas, the OAuth protocol introduces severe challenges to throttling. The OAuth protocol flow introduces indirections to client requests that make it hard to determine their source to apply rate limits. Moreover, fixed limits perform poorly in cases varying between high and low request loads. In this paper we propose solutions for both issues and provide an efficient solution for throttling in the context of OAuth. This includes integrated methods for a) cooperative throttling of authorization and resource servers as well as b) dynamic rate limiting as part of the throttling algorithm. We evaluate our approach based on a real-world use-case of enterprise CRM.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Apache mod_evasive module. https://github.com/jzdziarski/mod_evasive. Accessed 15 June 2022

  2. limitipconn2 readme. http://dominia.org/djao/limitipconn2-README. Accessed 15 June 2022

  3. Rate limiting with nginx and nginx plus. https://www.nginx.com/blog/rate-limiting-nginx/. Accessed 15 June 2022

  4. Abbott, M.L., Fisher, M.T.: The Art of Scalability: Scalable Web Architecture, Processes, and Organizations for the Modern Enterprise. Addison-Wesley (2015)

    Google ScholarĀ 

  5. Hardt, D. (ed.): RFC6749 - The OAuth 2.0 Authorization Framework (2012)

    Google ScholarĀ 

  6. Hardt, D., Jones, M.: RFC6750 - The OAuth 2.0 Authorization Framework: Bearer Token Usage (2012)

    Google ScholarĀ 

  7. El Kamel, A., Eltaief, H., Youssef, H.: On-the-fly (D)DoS attack mitigation in SDN using deep neural network-based rate limiting. Comput. Commun. 182, 153ā€“169 (2022)

    ArticleĀ  Google ScholarĀ 

  8. Richer, J. (ed.): RFC7662 - OAuth 2.0 Token Introspection (2015)

    Google ScholarĀ 

  9. Miller, R.B.: Response time in man-computer conversational transactions. In: Unknown (ed.) Proceedings of the December 9ā€“11, 1968, Fall Joint Computer Conference, Part I on - AFIPS 1968 (Fall, Part I), p. 267. ACM Press, New York (1968)

    Google ScholarĀ 

  10. Sakimura, N., Bradley, J., et al.: OpenID connect core 1.0 (2014)

    Google ScholarĀ 

  11. Parecki, A.: OAuth 2. 0 simplified (2017). Lulu.com

  12. Patil, R.Y., Ragha, L.: A dynamic rate limiting mechanism for flooding based distributed denial of service attack. In: Fourth International Conference on Advances in Recent Technologies in Communication and Computing (ARTCom2012), pp. 135ā€“138. Institution of Engineering and Technology (2012)

    Google ScholarĀ 

  13. Maenhaut, P.-J., Moens, H., Decat, M., et al.: Characterizing the performance of tenant data management in multi-tenant cloud authorization systems. In: 2014 IEEE Network Operations and Management Symposium (NOMS). IEEE (2014)

    Google ScholarĀ 

  14. Raghavan, B., Vishwanath, K., et al.: Cloud control with distributed rate limiting. ACM SIGCOMM Comput. Commun. Rev. 37(4), 337ā€“348 (2007)

    ArticleĀ  Google ScholarĀ 

  15. Richer, J., Sanso, A.: OAuth 2 in Action. Simon and Schuster (2017)

    Google ScholarĀ 

  16. Roberto, S.D.O., da Silva, R.C., Santos, M.S., Albuquerque, D.W., Almeida, H.O., Santos, D.F.: An extensible and secure architecture based on microservices. In: 2022 IEEE International Conference on Consumer Electronics (ICCE). IEEE (2022)

    Google ScholarĀ 

  17. SE, S.W.: SmartWe World SE \(|\) UnabhƤngige CRM Cloud-Plattform (2022). https://www.smartwe.de/. Accessed 15 June 2022

  18. Shernan, E., Carter, H., Tian, D., Traynor, P., Butler, K.: More guidelines than rules: CSRF vulnerabilities from noncompliant OAuth 2.0 implementations. In: Almgren, M., Gulisano, V., Maggi, F. (eds.) DIMVA 2015. LNCS, vol. 9148, pp. 239ā€“260. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-20550-2_13

    ChapterĀ  Google ScholarĀ 

  19. Siriwardena, P.: Advanced API Security: OAuth 2.0 and Beyond. Apress (2019)

    Google ScholarĀ 

  20. Radhakrishnan, S., Geng, Y., Jeyakumar, V., et al.: SENIC: scalable NIC for end-host rate limiting. In: 11th USENIX Symposium on Networked Systems Design and Implementation (NSDI 2014). USENIX Association, Seattle (2014)

    Google ScholarĀ 

  21. Sun, S.T., Beznosov, K.: The devil is in the (implementation) details: an empirical analysis of OAuth SSO systems. In: Proceedings of the 2012 ACM Conference on Computer and Communications Security, pp. 378ā€“390 (2012)

    Google ScholarĀ 

  22. Lodderstedt, T., et al.: RFC6819 - OAuth 2.0 threat model and security considerations (2013)

    Google ScholarĀ 

  23. Urdaneta, G., Pierre, G., Van Steen, M.: Wikipedia workload analysis for decentralized hosting. Comput. Netw. 53(11), 1830ā€“1845 (2009)

    ArticleĀ  Google ScholarĀ 

  24. Welsh, M., Culler, D.: Adaptive overload control for busy internet servers. In: Proceedings of the 4th Conference on USENIX Symposium on Internet Technologies and Systems, USITS 2003, vol. 4, p. 4. USENIX Association, USA (2003)

    Google ScholarĀ 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Peter Schuller .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

Ā© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Schuller, P., Siedl, J., Getto, N., Schork, S.T., Zirpins, C. (2023). Optimized Throttling forĀ OAuth-Based Authorization Servers. In: Sales, T.P., Proper, H.A., Guizzardi, G., Montali, M., Maggi, F.M., Fonseca, C.M. (eds) Enterprise Design, Operations, and Computing. EDOC 2022 Workshops . EDOC 2022. Lecture Notes in Business Information Processing, vol 466. Springer, Cham. https://doi.org/10.1007/978-3-031-26886-1_15

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-26886-1_15

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-26885-4

  • Online ISBN: 978-3-031-26886-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics