Page Not Found
Goal
Normally a user clicks through your app from page to page and should never see a 404 Page Not found. Landing on a non-existing page could be an indication of someone prying on your system.
Additional Installation
Installation
The following wires need the ExceptionInspector to be setup
In the config you can specify which pages are excluded or included
Enabled
Enable or disable this wire
Attack score
This is this wire severity, the higher the number the more severe. All attackScores will be summarized and if it exceeds the PunishScore the block will be activated. Set this to a number that reflects the severity.
- A very high number will immediately block the user/ip
- A low number will only block if there are many requests
TIP
sqli and xss are very common attack vectors with high confidence detection. You should set those to a very high number
Urls
This specifies which urls to include or exclude
Example
Include all urls that start with members/...
however do not include members/dashboard
->urls(
UrlsConfig::make()
->only([
'members/*'
])
->except([
'members/dashboard'
]
))
Example
Record all page not founds, except those that start with admin
->urls(
UrlsConfig::make()
->except([
'admin/*'
]
));