摘要: 导入相关依赖 <dependency> <groupId>org.thymeleaf</groupId> <artifactId>thymeleaf-spring5</artifactId> </dependency> <dependency> <groupId>org.thymeleaf.extr 阅读全文
posted @ 2021-12-04 21:32 一刹流云散 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 一.CSRF是什么? CSRF(Cross-site request forgery),中文名称:跨站请求伪造,也被称为:one click attack/session riding,缩写为:CSRF/XSRF。 二.CSRF可以做什么? 你这可以这么理解CSRF攻击:攻击者盗用了你的身份,以你的 阅读全文
posted @ 2021-12-04 17:06 一刹流云散 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 导入security与thyemleaf与security整合的依赖 注意!SpringBoot版本过高可能不支持 最低支持2.0.9 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-s 阅读全文
posted @ 2021-12-04 16:58 一刹流云散 阅读(41) 评论(0) 推荐(0) 编辑