Due to the security requirement, we are required to some bind user IP with user names.
I’ve tired to configure modsecurity.conf
as below, and disable all other configs
SecRuleEngine On
SecRule REQUEST_HEADERS:nc_username "@streq admin" chain,deny,id:003
SecRule REMOTE_ADDR "@streq 192.168.50.64"
but seems doesn’t work.
anyone have solution to do with that