Web Experts

Laravel now integrates trusted proxy in its code

Web application developers know Laravel well. An effective tool that integrates both efficiency and security. This point is even more accentuated thanks to the version Laravel v5.5. Indeed, this latest version of the software now includes a trusted proxy in its code. What offer everyone the dose of security and especially efficiency they expect. Moreover, all people using the Amazon and Google Cloud services will be delighted by this integration.

TrustedProxy: what does it do?

Laravel Developers will have a much less difficult job with TrustedProxy. Clearly, the latter indicates which are the reliable proxies and especially how to map them to a very high level. Moreover, the very definition of Laravel says that a trusted proxy offers the ability to generate correct URLs, redirect them while managing assignments effectively and the connection via Laravel. This proxy is all the more useful when web servers go through load balancing and http caches or through another proxy. In addition, Laravel uses symfony for managing requests and responses. However, for the sake of security, the management of proxies goes through a filter that determines who is "trusted". Laravel not only has the means to determine who are trusted, but it also provides a trusted proxy.

Jobs with a proxy

Developers often use cloud from professional providers like Amazon Web Services or Content Delivery Networks. Through these apps, the provision of complete sites is not directly exposed to the world, but passes through them. Besides, the application can be behind a proxy chain. Thus, when the DNS points directly to a CloudFlare, http requests, they are transmitted to the application. It is possible to see some CloudFlare headers in http responses with Laravel News. There are still standard headers sent by the proxies. To this there is X-Forwarded-For-; X-Forwarded-Host-; X-Forwarded-Proto- or X-Forwarded-Port. Regarding the HTTPS - http pass, the application will receive a special header. Regarding the configuration, it will be in the package fideloper / proxy.

Les publications similaires de "Blog and News"

  1. 3 Oct. 2018How to build a dynamic website123 visites
  2. 2 Oct. 2018All you need to know about DDOS Protection126 visites
  3. 31 Juil. 2018Koddos has your DDOS Protection solution207 visites
  4. 12 Mai 2018Are you looking for PHP development tools?291 visites
  5. 15 Avril 2018The most performants countries for web hosting321 visites
  6. 8 Avril 2018The best influence marketing agency375 visites
  7. 23 Fév. 2018What is a good php developer?451 visites
  8. 5 Juil. 2017What do you need to build an ecommerce ?600 visites
  9. 3 Mai 2017Comparison between several rental websites, perfect to choose the best according to your needs !874 visites
  10. 14 Avril 2017An easy solution for your needs937 visites
  11. 10 Déc. 2016Ruby on rails developer, a good job for futur823 visites
  12. 2 Déc. 2016Where can i find a good digital marketing agency in US?752 visites
  13. 12 Sept. 2016Why the color of your website is important ?786 visites