Running web services safely on public interfaces is itself challenge and a lot of things need to be taken care of. While many details fall within the job description of a security engineer, developers should adhere to at least a minimum set of best practices so they rightfully earn the trust of their users. At the start, there is transport encryption (TLS), which is something we did not include in any recipes in this chapter since reverse proxies and load balancers provide amazing and simple integration for this (and let's encrypt: https://letsencrypt.org/ provides free certificates). This chapter focuses on using the actix-web middleware infrastructure to authenticate requests via JWT (https://jwt.io/) at the application layer.
United States
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine