Jump to content

Prestashop filter input users and security best practices


Recommended Posts

I'm developing a module with some forms and request to external webservice, i like to know if i should add an crsf token in the forms (i'm using ajax to submit forms and method POST ) and if tools::getValue function is enough to sanitize input user and  prevent XSS attakcs ?
The user using the form can be not signed in.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...