Understanding CSRF: The Guardians of Your Magento 2 Castle

Hey, Magento enthusiasts! 🎉 Yesterday, we ventured into the thrilling world of bypassing CSRF validation for specific requests in Magento 2. Today, we’re taking a step back to understand what CSRF is, why it’s crucial for Magento security, and why merchants should think twice before disabling it. Grab your popcorn, because this journey is going …

Continue reading Understanding CSRF: The Guardians of Your Magento 2 Castle

Generating Unique Hashes in Magento 2 Programmatically

Occasionally, we often encounter scenarios where generating unique hash tokes is necessary. Hash tokens play a crucial role in various aspects of Magento 2 development, such as security, URL generation, form submission, and more. In this blog post, we will explore different methods to generate unique hash tokens in Magento 2, ensuring their uniqueness and …

Continue reading Generating Unique Hashes in Magento 2 Programmatically

Front Controller: the guy who handles the request in Magento 2

The Front Controller in Magento 2 is crucial for managing the application's request-handling process. It serves as the central entry point for HTTP requests, routes them to the appropriate controllers, and generates responses. The pattern provides benefits like centralized functionality, extensibility, and improved maintainability. Magento 2 implements this through the FrontControllerInterface, enabling effective routing, request processing, error handling, and response generation.

After some years, I finally got back to writing on my blog

It has been a long time since that young boy started this blog more than 10 years ago to write about Magento 1 development. At that time, there was no official documentation provided by the Magento Company (the Magento Company belonged to Permira Funds back in 2012), and a Magento developer's life was based on …

Continue reading After some years, I finally got back to writing on my blog