基于每个用户组进行访问控制
基于每用户的MPF配置功能从8.4.2后才支持
模拟实验
inside 开启HTTP,创建本地认证帐号和密码cisco,用于登陆HTTP测试
ASA放行Inbound HTTP流量
配置穿越用户认证
属于Guest组的用户,无法通过HTTP执行config_terminal,进入全局工作模式
属于Normal组的用户,无法通过HTTP执行username来新建用户,无法no掉任何命令
属于Engineer组的用户,开发所有权限并记录日志
ip http serverip http authentication localusername cisco privilege 15 password cisco
access-list out permit tcp any host 7.7.1.1 eq 80access-group out in in outside
username guest password ciscousername normal password ciscousername engineer password ciscoaaa authentication match out outside LOCALobject-group user Guestuser LOCAL\guestobject-group user normaluser LOCAL\normalobject-group user engineeruser LOCAL\engineeraccess-list guest extended permit tcp object-group-user Guest any any eq wwwaccess-list normal extended permit tcp object-group-user normal any any eq wwwaccess-list engineer extended permit tcp object-group-user engineer any any eq wwwclass-map Guest-classmatch access-list guestclass-map normal-classmatch access-list normalclass-map engineer-classmatch access-list engineerregex configure configureregex username usernameregex no nopolicy-map type inspect http guest-policymatch request uri regex configurereset logpolicy-map type inspect http normal-policymatch request uri regex usernamereset logmatch request uri regex noreset logclass Guest-classinspect http guest-policyclass normal-classinspect http normal-policyclass Guest-classinspect http
