CGI::ValidOp::Check::sql(3pm)

CGI::ValidOp::Check::sql3pm

Cgi::validop::check module to validate sql.

Overview

default

Fails if incoming value contains characters other than: \w \s . : [ ] _ ^ * / % + - <> = ~ ! @ # & | ` ? $ ( ) , ; ' "

safer

Named "safer" since allowing users to write SQL can never be truly "safe." This check attempts to allow only things which will not harm data. It doesn't prevent a clever query from wreaking other havoc, though, like a DOS.

safer_select

Just like "safer" but allows 'SELECT'.

Releases

Unchanged in 3 releases since Debian 6.0 (Squeeze).

  1. 6.0–8

Author

Randall Hansen <[email protected]>

From libcgi-validop-perl 0.56-1 in Debian 8 (Jessie). Parsed by carta from the page's man source.