The check() package for security?

Hi!

Is the check package aka check() also good to use as a security measure to ensure arguments are of an expected type or is check() more for validation? I am looking to tighten up some things to help prevent DB Injection.

Yep. But there’s simple-schema to make things easier.

1 Like