基于每个用户组进行访问控制
基于每用户的MPF配置功能从8.4.2后才支持
模拟实验
inside 开启HTTP,创建本地认证帐号和密码cisco,用于登陆HTTP测试
ASA放行Inbound HTTP流量
配置穿越用户认证
属于Guest组的用户,无法通过HTTP执行config_terminal,进入全局工作模式
属于Normal组的用户,无法通过HTTP执行username来新建用户,无法no掉任何命令
属于Engineer组的用户,开发所有权限并记录日志
ip http server
ip http authentication local
username cisco privilege 15 password cisco
access-list out permit tcp any host 7.7.1.1 eq 80
access-group out in in outside
username guest password cisco
username normal password cisco
username engineer password cisco
aaa authentication match out outside LOCAL
object-group user Guest
user LOCAL\guest
object-group user normal
user LOCAL\normal
object-group user engineer
user LOCAL\engineer
access-list guest extended permit tcp object-group-user Guest any any eq www
access-list normal extended permit tcp object-group-user normal any any eq www
access-list engineer extended permit tcp object-group-user engineer any any eq www
class-map Guest-class
match access-list guest
class-map normal-class
match access-list normal
class-map engineer-class
match access-list engineer
regex configure configure
regex username username
regex no no
policy-map type inspect http guest-policy
match request uri regex configure
reset log
policy-map type inspect http normal-policy
match request uri regex username
reset log
match request uri regex no
reset log
class Guest-class
inspect http guest-policy
class normal-class
inspect http normal-policy
class Guest-class
inspect http