All Projects → momokanni → security-wrapper

momokanni / security-wrapper

Licence: other
对springSecurity进行二次开发,提供OAuth2授权(支持跨域名,多应用授权)、JWT、SSO、文件上传、权限系统无障碍接入、接口防刷、XSS、CSRF、SQL注入、三方登录(绑定,解绑)、加密通信等一系列安全场景的解决方案

Programming Languages

javascript
184084 projects - #8 most used programming language
java
68154 projects - #9 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to security-wrapper

Express Security
nodejs + express security and performance boilerplate.
Stars: ✭ 37 (+76.19%)
Mutual labels:  xss, csrf
Javasecurity
Java web and command line applications demonstrating various security topics
Stars: ✭ 182 (+766.67%)
Mutual labels:  xss, csrf
Cazador unr
Hacking tools
Stars: ✭ 95 (+352.38%)
Mutual labels:  xss, csrf
vulnerabilities
List of every possible vulnerabilities in computer security.
Stars: ✭ 14 (-33.33%)
Mutual labels:  xss, csrf
solutions-bwapp
In progress rough solutions to bWAPP / bee-box
Stars: ✭ 158 (+652.38%)
Mutual labels:  xss, csrf
Hackerone Reports
Top disclosed reports from HackerOne
Stars: ✭ 458 (+2080.95%)
Mutual labels:  xss, csrf
Xssor2
XSS'OR - Hack with JavaScript.
Stars: ✭ 1,969 (+9276.19%)
Mutual labels:  xss, csrf
Jso
Easy to use OAuth 2.0 javascript library for use in your javascript application.
Stars: ✭ 830 (+3852.38%)
Mutual labels:  authorization, sso
diwa
A Deliberately Insecure Web Application
Stars: ✭ 32 (+52.38%)
Mutual labels:  xss, csrf
token-cli
Command line utility for interacting with OAuth2 infrastructure to generate tokens
Stars: ✭ 19 (-9.52%)
Mutual labels:  authorization, sso
Hydra
OpenID Certified™ OpenID Connect and OAuth Provider written in Go - cloud native, security-first, open source API security for your infrastructure. SDKs for any language. Compatible with MITREid.
Stars: ✭ 11,884 (+56490.48%)
Mutual labels:  authorization, sso
authentik
The authentication glue you need.
Stars: ✭ 2,941 (+13904.76%)
Mutual labels:  authorization, sso
Xxl Sso
A distributed single-sign-on framework.(分布式单点登录框架XXL-SSO)
Stars: ✭ 1,635 (+7685.71%)
Mutual labels:  authorization, sso
Blackwidow
A Python based web application scanner to gather OSINT and fuzz for OWASP vulnerabilities on a target website.
Stars: ✭ 887 (+4123.81%)
Mutual labels:  xss, csrf
Cas
Apereo CAS - Enterprise Single Sign On for all earthlings and beyond.
Stars: ✭ 9,154 (+43490.48%)
Mutual labels:  authorization, sso
Hacker101
Source code for Hacker101.com - a free online web and mobile security class.
Stars: ✭ 12,246 (+58214.29%)
Mutual labels:  xss, csrf
Product Is
Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
Stars: ✭ 435 (+1971.43%)
Mutual labels:  authorization, sso
Sso
cas单点登录系统,其中包括cas认证服务,配置中心,监控平台,服务管理的高可用项目
Stars: ✭ 797 (+3695.24%)
Mutual labels:  authorization, sso
Web Security Fundamentals
👨‍🏫 Mike's Web Security Course
Stars: ✭ 195 (+828.57%)
Mutual labels:  xss, csrf
caddy-security
🔐 Authentication, Authorization, and Accounting (AAA) App and Plugin for Caddy v2. 💎 Implements Form-Based, Basic, Local, LDAP, OpenID Connect, OAuth 2.0 (Github, Google, Facebook, Okta, etc.), SAML Authentication. MFA/2FA with App Authenticators and Yubico. 💎 Authorization with JWT/PASETO tokens. 🔐
Stars: ✭ 696 (+3214.29%)
Mutual labels:  authorization, sso

因为本人失误,忘记了github的密码,所以更新不及时,近期会上传:单机双客户端(系统管理、商户管理)集成springSecurity的实际应用已更新

springMVC集成springSecurity的单机版权限管理系统已经开发完毕,9月5号之前会整理上传,其中涉及的知识点非常丰富,会进一步巩固对springSecurity的认知

前情提要

在这首先感谢毅哥的支持,其中包括在架构和关键技术痛点的经验分享和提醒,弥补了我经验不足带来的缺失、以及给予充分自由的发挥空间。

先推荐几个好用的chrome插件

  1. Sourcegraph
  2. Clear Cache:一键清理浏览器缓存
  3. 科学上网
  4. JSONView
  5. AdBlock屏蔽页面广告
  6. The Great Suspender
  7. Octotree

代码规范很重要 阿里代码规范idea插件

编写初心

  1. 为了深入了解安全防护的知识
  2. 为了读源码
  3. 为了解决springSecurity上手难和使用配置繁杂(类似于Lucence和Elasticsearch的关系)
  4. 为了提升安全相关的开发效率,期望能做到使用者傻瓜式开发

功能介绍

该组件完全基于springSecurity进行的二次开发。
提供基于OAuth2的身份认证和访问授权、单点登录、文件上传、权限系统无障碍接入、jwt(增强)、三方登录(绑定、解绑)、接口防刷、特殊接口隐藏、反爬虫、XSS、CSRF、SQL注入、websocket通信安全、日志管理、Mock伪服务创建及管理、基于压力测试的接口优化等一系列安全场景的解决方案

框架结构

app : 移动端
browser : PC web
core : 核心包
demo : 样例,方便使用者更快熟悉该组件

依赖关系

            app -->  
  demo -->              core --> springSecurity  
            browser --> 

引用方式

  1. 开源引用,可直接在demo模块进行开发,也可创建子模块,可修改源代码
  2. maven引用
  3. 可直接运行做成服务,对外提供API

技术栈

  1. 支持前后端分离
  2. springBoot2.0.8、SpringSecurity5.0.11、Spring5.0.12、lombok、junit4.12、logback、swagger

后续更新

TODO: 单点登录组件
TODO: 接口类防护
TODO: 文件上传安全防护
TODO: XSS、CSRF
TODO: websocket安全通信
TODO: 权限管理组件
TODO: 引入docker
这么看来,啥都没做🤣🤣🤣就是一个空壳子

想要完全理解springSecurity的架构及编码思路需要看一下《OAuth2实战》这本书

SpringSecurity简介

   Spring Security is a powerful and highly customizable authentication and access-control framework. 
   It is the de-facto standard for securing Spring-based applications.  

   Spring Security is a framework that focuses on providing both authentication 
   and authorization to Java applications. Like all Spring projects, 
   the real power of Spring Security is found in how easily it can be extended to 
   meet custom requirements

译:Spring Security是一个强大而且可高度自定义的认证和流程控制框架。也是一套保护spring基础应用的安全标准。
Spring Security是一个聚焦于对Java应用程序提供认证和授权的框架,和其他spring项目一样,其强大之处在于能够很简单的进行自定义开发,dei 我们做的就是自定义开发。

统一的登录认证流程

认证流程

表单登录处理流程

默认表单登录处理流程

springSocial三方登录处理流程

springSocial三方登录

记住我-登录成功处理流程

记住我-登录成功处理流程

记住我-自动登录

记住我-自动登录

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].