Chapter 6. Leveraging the Play Stack – Security, Internationalization, Cache, and the HTTP Client

In this chapter, you will learn how to protect your application against common web attacks, such as cross-site scripting and cross-site request forgery. You will also learn how to restrict some pages of your application to authenticated users only. Then, you will learn how to internationalize the application, how to use the cache to improve performance, and how to perform HTTP requests to other web services.

The following topics will be covered in this chapter:

  • Security (cross-site scripting, cross-site request forgery, authentication, and HTTPS)
  • Cache
  • Internationalization
  • The HTTP client

Handling security concerns

This section presents the main security ...

Get Play Framework Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.