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 ...

Get PrestaShop Module Development 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.