什么是浏览器同源策略? 同源是指,域名,协议,端口号均相同,如图: 注意:localhost和127.0.0.1虽然都指向本机,但也是跨域. 浏览器同源策略(same-origin policy).简单的讲,同源策略就是浏览器为了保证用户安全,防止恶意的网站盗取数据,禁止不同域之间的JS进行交互.会 ...
分类:
其他好文 时间:
2020-04-30 12:02:06
阅读次数:
97
import apiConfig from './config';let Api = { domain: process.env.URL, imgUrl: process.env.imgURL, // api /* 用户 */ // 登陆 login(username, password) { le ...
CIA知道么 ? 机密性(Confidentiality) 完整性(Integrity) 可用性(Availiability) 常见的web攻击有 XSS ,CSRF; xss 到底是什么 ? 黑客在你的浏览器中插入一段恶意JS脚本,窃取你的隐私信息【这里泛指cookie登录信息】,冒充你的身份进行 ...
分类:
Web程序 时间:
2020-04-26 21:25:47
阅读次数:
104
程序会打印: 我还看到中间的best path cost会小于新出来的,可能代码哪里有点儿小问题。 ...
分类:
编程语言 时间:
2020-04-26 20:41:25
阅读次数:
69
package com.aojie.servlet; import com.aojie.dao.UserDao;import com.aojie.domain.User;import org.apache.commons.beanutils.BeanUtils; import javax.servl ...
分类:
其他好文 时间:
2020-04-24 01:45:55
阅读次数:
114
https://juejin.im/post/5e9518b3518825738e21794c#heading-2 安全性 跨站脚本攻击(Cross-site scripting,简称XSS) 是一种网站应用程序的安全漏洞攻击,是代码注入的一种。它允许恶意用户将代码注入到网页上,其他用户在观看网页时 ...
分类:
其他好文 时间:
2020-04-23 21:32:49
阅读次数:
71
A bridge-domain can be associated with only one BVI. However a vrf can contain routes to multiple BVIs. To configure a BVI interface, create it using ...
分类:
其他好文 时间:
2020-04-23 19:28:06
阅读次数:
94
option = { title: { text: '动态数据', subtext: '纯属虚构' }, tooltip: { trigger: 'axis', axisPointer: { type: 'cross', label: { backgroundColor: '#283b56' } } ...
分类:
其他好文 时间:
2020-04-22 16:41:20
阅读次数:
68
论文地址 :https://arxiv.org/abs/1906.01753 作者 :Shany Barhom, Vered Shwartz, Alon Eirew, Michael Bugert, Nils Reimers, Ido Dagan 机构 : Bar-Ilan University, ...
分类:
其他好文 时间:
2020-04-22 00:10:45
阅读次数:
68
我做的是一个识别验证码的深度学习模型,识别的图片如下 验证码图片识别4个数字,数字间是有顺序的,设立标签时设计了四个onehot向量链接起来,成了一个长度为40的向量,然后模型的输入也是40维向量用softmax_cross_entropy_with_logits(labels=,logits=)函 ...
分类:
其他好文 时间:
2020-04-20 16:15:30
阅读次数:
285