The invention discloses an intelligentized multilayer filtering safety device and an intelligentized multilayer filtering safety method. The intelligentized multilayer filtering safety device comprises a request source check module, a
uniform resource locator (URL) check module, a parameter value check module and an uploading file check module. The intelligentized multilayer filtering safety method comprises the following steps of: S1, sending a request received by a
web system to a filter; S2, checking the source of the request in the filter, verifying whether the request is an
internal link of the
system or not, if so, performing the step S3, and otherwise, giving up
processing; S3, performing URL check on the request, namely checking whether the request has sensitive characters or not, judging whether the URL is legal or not, if so, performing the step S4, and otherwise, giving up
processing; S4, performing the check of parameter values on the request, namely checking whether the parameter values contain illegal contents or not, judging whether the parameter values are legal or not, if so, performing the step S5, and otherwise, giving up
processing; and S5, checking files to be uploaded, judging whether the uploaded files are legal or not, and if so, responding to the request.