O'Reilly logo

PrestaShop Module Development by Fabien Serny

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Security and Performance

You now have fully functional modules, but you can still improve them.

In this chapter, we will work on the security of the modules of the previous chapters (you'll notice that there are some security problems with them), check other people's modules for security issues, and improve the performance of your own modules.

You will see how to:

  • Secure your modules against directory listing, direct file access, SQL injection, and Cross-Site Scripting (XSS)
  • Search for malicious code in modules
  • Improve the performance of your modules

Securing your module

In this section, we will work on the mymodcarrier module.

Protecting your module against directory listing

Directory listing is enabled on a lot of web servers, and sometimes ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required