• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






s872007871

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2017年9月18日

Spring security csrf实现前端纯html+ajax
摘要: spring security集成csrf进行post等请求时,为了防止csrf攻击,需要获取token才能访问 因此需要添加 动态获取token 这样的话,需要使用jsp或模板引擎 但又想使用纯html+ajax.很难受 最近想到了一个办法 通过ajax获取token,后端仍使用jsp或freem 阅读全文
posted @ 2017-09-18 18:44 s872007871 阅读(4659) 评论(1) 推荐(0)
 

2017年8月30日

前端RSA工具security.js
摘要: 下载链接:https://raw.githubusercontent.com/HuangZhiAn/HmdmPortals/master/src/main/webapp/static/js/security.js security.js封装了BigInt.js,RSA.js和Barrett.js 阅读全文
posted @ 2017-08-30 16:04 s872007871 阅读(1862) 评论(0) 推荐(0)
 

2016年12月25日

ubuntu 16 mysql安装包安装 (推荐在线安装)
摘要: /etc/init.d/中的文件命名为mysql cp好各种文件后 ./mysql_install_db --user=mysql --datadir=/usr/local/mysql/data/mysql --basedir /usr/local/mysql 设置密码 /usr/local/mys 阅读全文
posted @ 2016-12-25 23:16 s872007871 阅读(292) 评论(0) 推荐(0)
 

2016年4月10日

WampServer Apache 服务无法启动解决办法
摘要: 问题:WampServer 安装后mysql服务可以启动,但Apache服务启动不了(前提是已经安装Apache Server) 解决办法: 1.端口冲突,改Apache里httpd.conf中的端口; 2.软件冲突,TCP/IP协议-->高级-->WINS,关闭LMHOSTS(M);卸载冲突软件; 阅读全文
posted @ 2016-04-10 16:05 s872007871 阅读(1967) 评论(0) 推荐(0)