CGI::ValidOp::Check::sql - CGI::ValidOp::Check module to validate SQL.


CGI-ValidOp documentation  | view source Contained in the CGI-ValidOp distribution.

Index


NAME

Top

CGI::ValidOp::Check::sql - CGI::ValidOp::Check module to validate SQL.

DESCRIPTION

Top

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

AUTHOR

Top

Randall Hansen <legless@cpan.org>

COPYRIGHT

Top


CGI-ValidOp documentation  | view source Contained in the CGI-ValidOp distribution.