Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 68fd010

Browse files
committed
Update 网络安全
1 parent bd41698 commit 68fd010

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

网络安全

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<mxfile host="app.diagrams.net" modified="2022-05-03T05:21:46.907Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36" etag="MeiFSIXrkcG95QkgFjvA" version="17.5.0" type="github" pages="2">
1+
<mxfile host="app.diagrams.net" modified="2022-05-03T07:50:06.372Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36" etag="BFPJyH3Pg9iCLq6BCyj3" version="17.5.0" type="github" pages="2">
22
<diagram id="kgpKYQtTHZ0yAKxKKP6v" name="Page-1">
33
<mxGraphModel dx="1038" dy="548" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
44
<root>
@@ -89,23 +89,23 @@
8989
</mxGraphModel>
9090
</diagram>
9191
<diagram id="dDXLnDIDMlXIPd4TQTFl" name="Page-2">
92-
<mxGraphModel dx="865" dy="457" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
92+
<mxGraphModel dx="643" dy="459" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
9393
<root>
9494
<mxCell id="0" />
9595
<mxCell id="1" parent="0" />
96-
<mxCell id="JzrpeoS1DyY5In2C1RfW-1" value=": WEB前端&#xa;如Vue" style="shape=umlLifeline;perimeter=lifelinePerimeter;container=1;collapsible=0;recursiveResize=0;rounded=0;shadow=0;strokeWidth=1;fillColor=#1ba1e2;fontColor=#ffffff;strokeColor=#006EAF;" vertex="1" parent="1">
96+
<mxCell id="JzrpeoS1DyY5In2C1RfW-1" value=": WEB前端&#xa;如Vue" style="shape=umlLifeline;perimeter=lifelinePerimeter;container=1;collapsible=0;recursiveResize=0;rounded=0;shadow=0;strokeWidth=1;fillColor=#1ba1e2;fontColor=#ffffff;strokeColor=#006EAF;" parent="1" vertex="1">
9797
<mxGeometry x="120" y="80" width="100" height="439" as="geometry" />
9898
</mxCell>
99-
<mxCell id="JzrpeoS1DyY5In2C1RfW-2" value="" style="points=[];perimeter=orthogonalPerimeter;rounded=0;shadow=0;strokeWidth=1;fillColor=#1ba1e2;fontColor=#ffffff;strokeColor=#006EAF;" vertex="1" parent="JzrpeoS1DyY5In2C1RfW-1">
99+
<mxCell id="JzrpeoS1DyY5In2C1RfW-2" value="" style="points=[];perimeter=orthogonalPerimeter;rounded=0;shadow=0;strokeWidth=1;fillColor=#1ba1e2;fontColor=#ffffff;strokeColor=#006EAF;" parent="JzrpeoS1DyY5In2C1RfW-1" vertex="1">
100100
<mxGeometry x="45" y="70" width="10" height="369" as="geometry" />
101101
</mxCell>
102-
<mxCell id="JzrpeoS1DyY5In2C1RfW-4" value=":Web Server&#xa;如Tomcat" style="shape=umlLifeline;perimeter=lifelinePerimeter;container=1;collapsible=0;recursiveResize=0;rounded=0;shadow=0;strokeWidth=1;fillColor=#60a917;fontColor=#ffffff;strokeColor=#2D7600;" vertex="1" parent="1">
102+
<mxCell id="JzrpeoS1DyY5In2C1RfW-4" value=":Web Server&#xa;如Tomcat" style="shape=umlLifeline;perimeter=lifelinePerimeter;container=1;collapsible=0;recursiveResize=0;rounded=0;shadow=0;strokeWidth=1;fillColor=#60a917;fontColor=#ffffff;strokeColor=#2D7600;" parent="1" vertex="1">
103103
<mxGeometry x="450" y="70" width="100" height="441" as="geometry" />
104104
</mxCell>
105-
<mxCell id="JzrpeoS1DyY5In2C1RfW-5" value="" style="points=[];perimeter=orthogonalPerimeter;rounded=0;shadow=0;strokeWidth=1;fillColor=#60a917;fontColor=#ffffff;strokeColor=#2D7600;" vertex="1" parent="JzrpeoS1DyY5In2C1RfW-4">
105+
<mxCell id="JzrpeoS1DyY5In2C1RfW-5" value="" style="points=[];perimeter=orthogonalPerimeter;rounded=0;shadow=0;strokeWidth=1;fillColor=#60a917;fontColor=#ffffff;strokeColor=#2D7600;" parent="JzrpeoS1DyY5In2C1RfW-4" vertex="1">
106106
<mxGeometry x="45" y="80" width="10" height="361" as="geometry" />
107107
</mxCell>
108-
<mxCell id="w-kv396jZH2R6bxmsxN8-1" value="&lt;font color=&quot;#cc0000&quot;&gt;2 与数据库中的用户信息进行校验&lt;/font&gt;" style="edgeStyle=orthogonalEdgeStyle;html=1;align=left;spacingLeft=2;endArrow=block;rounded=0;entryX=1;entryY=0;fontColor=#0000FF;" edge="1" parent="JzrpeoS1DyY5In2C1RfW-4">
108+
<mxCell id="w-kv396jZH2R6bxmsxN8-1" value="&lt;font color=&quot;#cc0000&quot;&gt;2 与数据库中的用户信息进行校验&lt;/font&gt;" style="edgeStyle=orthogonalEdgeStyle;html=1;align=left;spacingLeft=2;endArrow=block;rounded=0;entryX=1;entryY=0;fontColor=#0000FF;" parent="JzrpeoS1DyY5In2C1RfW-4" edge="1">
109109
<mxGeometry relative="1" as="geometry">
110110
<mxPoint x="56" y="103" as="sourcePoint" />
111111
<Array as="points">
@@ -114,19 +114,19 @@
114114
<mxPoint x="61" y="122.99999999999989" as="targetPoint" />
115115
</mxGeometry>
116116
</mxCell>
117-
<mxCell id="JzrpeoS1DyY5In2C1RfW-6" value="1 携带用户名、密码访问登录接口" style="verticalAlign=bottom;endArrow=block;entryX=0;entryY=0;shadow=0;strokeWidth=1;fillColor=#1ba1e2;strokeColor=#006EAF;" edge="1" parent="1">
117+
<mxCell id="JzrpeoS1DyY5In2C1RfW-6" value="1 携带用户名、密码访问登录接口" style="verticalAlign=bottom;endArrow=block;entryX=0;entryY=0;shadow=0;strokeWidth=1;fillColor=#1ba1e2;strokeColor=#006EAF;" parent="1" edge="1">
118118
<mxGeometry relative="1" as="geometry">
119119
<mxPoint x="175" y="160.00000000000045" as="sourcePoint" />
120120
<mxPoint x="495" y="160.00000000000045" as="targetPoint" />
121121
</mxGeometry>
122122
</mxCell>
123-
<mxCell id="JzrpeoS1DyY5In2C1RfW-7" value="4 把JWT响应给WEB前端" style="verticalAlign=bottom;endArrow=block;entryX=1;entryY=0;shadow=0;strokeWidth=1;fillColor=#008a00;strokeColor=#005700;" edge="1" parent="1">
123+
<mxCell id="JzrpeoS1DyY5In2C1RfW-7" value="4 把JWT响应给WEB前端" style="verticalAlign=bottom;endArrow=block;entryX=1;entryY=0;shadow=0;strokeWidth=1;fillColor=#008a00;strokeColor=#005700;" parent="1" edge="1">
124124
<mxGeometry relative="1" as="geometry">
125125
<mxPoint x="493" y="276" as="sourcePoint" />
126126
<mxPoint x="178" y="276" as="targetPoint" />
127127
</mxGeometry>
128128
</mxCell>
129-
<mxCell id="w-kv396jZH2R6bxmsxN8-2" value="&lt;font color=&quot;#cc0000&quot;&gt;3 如果正确,使用用户名/用户ID,产生一个JWT&lt;/font&gt;" style="edgeStyle=orthogonalEdgeStyle;html=1;align=left;spacingLeft=2;endArrow=block;rounded=0;entryX=1;entryY=0;fontColor=#0000FF;" edge="1" parent="1">
129+
<mxCell id="w-kv396jZH2R6bxmsxN8-2" value="&lt;font color=&quot;#cc0000&quot;&gt;3 如果正确,使用用户名/用户ID,产生一个JWT&lt;/font&gt;" style="edgeStyle=orthogonalEdgeStyle;html=1;align=left;spacingLeft=2;endArrow=block;rounded=0;entryX=1;entryY=0;fontColor=#0000FF;" parent="1" edge="1">
130130
<mxGeometry relative="1" as="geometry">
131131
<mxPoint x="506" y="211" as="sourcePoint" />
132132
<Array as="points">
@@ -135,13 +135,13 @@
135135
<mxPoint x="511" y="230.9999999999999" as="targetPoint" />
136136
</mxGeometry>
137137
</mxCell>
138-
<mxCell id="w-kv396jZH2R6bxmsxN8-3" value="登录后访问其它资源,&#xa;需要在请求header中携带token" style="verticalAlign=bottom;endArrow=block;entryX=0;entryY=0;shadow=0;strokeWidth=1;fillColor=#1ba1e2;strokeColor=#006EAF;" edge="1" parent="1">
138+
<mxCell id="w-kv396jZH2R6bxmsxN8-3" value="登录后访问其它资源,&#xa;需要在请求header中携带token" style="verticalAlign=bottom;endArrow=block;entryX=0;entryY=0;shadow=0;strokeWidth=1;fillColor=#1ba1e2;strokeColor=#006EAF;" parent="1" edge="1">
139139
<mxGeometry relative="1" as="geometry">
140140
<mxPoint x="177" y="337.00000000000045" as="sourcePoint" />
141141
<mxPoint x="497" y="337.00000000000045" as="targetPoint" />
142142
</mxGeometry>
143143
</mxCell>
144-
<mxCell id="w-kv396jZH2R6bxmsxN8-4" value="&lt;font color=&quot;#cc0000&quot;&gt;&amp;nbsp;获取请求header中的tocken并进行解析&lt;br&gt;获取userID&lt;br&gt;&lt;/font&gt;" style="edgeStyle=orthogonalEdgeStyle;html=1;align=left;spacingLeft=2;endArrow=block;rounded=0;entryX=1;entryY=0;fontColor=#0000FF;" edge="1" parent="1">
144+
<mxCell id="w-kv396jZH2R6bxmsxN8-4" value="&lt;font color=&quot;#cc0000&quot;&gt;&amp;nbsp;获取请求header中的tocken并进行解析&lt;br&gt;获取userID&lt;br&gt;&lt;/font&gt;" style="edgeStyle=orthogonalEdgeStyle;html=1;align=left;spacingLeft=2;endArrow=block;rounded=0;entryX=1;entryY=0;fontColor=#0000FF;" parent="1" edge="1">
145145
<mxGeometry relative="1" as="geometry">
146146
<mxPoint x="506" y="350" as="sourcePoint" />
147147
<Array as="points">
@@ -150,7 +150,7 @@
150150
<mxPoint x="511" y="369.9999999999999" as="targetPoint" />
151151
</mxGeometry>
152152
</mxCell>
153-
<mxCell id="w-kv396jZH2R6bxmsxN8-5" value="&lt;font color=&quot;#cc0000&quot;&gt;根据userID获取用户相关信息,如果有权限&lt;br&gt;则允许访问相关资源&lt;br&gt;&lt;/font&gt;" style="edgeStyle=orthogonalEdgeStyle;html=1;align=left;spacingLeft=2;endArrow=block;rounded=0;entryX=1;entryY=0;fontColor=#0000FF;" edge="1" parent="1">
153+
<mxCell id="w-kv396jZH2R6bxmsxN8-5" value="&lt;font color=&quot;#cc0000&quot;&gt;根据userID获取用户相关信息,如果有权限&lt;br&gt;则允许访问相关资源&lt;br&gt;&lt;/font&gt;" style="edgeStyle=orthogonalEdgeStyle;html=1;align=left;spacingLeft=2;endArrow=block;rounded=0;entryX=1;entryY=0;fontColor=#0000FF;" parent="1" edge="1">
154154
<mxGeometry relative="1" as="geometry">
155155
<mxPoint x="506" y="388" as="sourcePoint" />
156156
<Array as="points">
@@ -159,7 +159,7 @@
159159
<mxPoint x="511" y="407.9999999999999" as="targetPoint" />
160160
</mxGeometry>
161161
</mxCell>
162-
<mxCell id="w-kv396jZH2R6bxmsxN8-6" value="&lt;font color=&quot;#cc0000&quot;&gt;访问目标资源,响应给WEB前端&lt;br&gt;&lt;/font&gt;" style="edgeStyle=orthogonalEdgeStyle;html=1;align=left;spacingLeft=2;endArrow=block;rounded=0;entryX=1;entryY=0;fontColor=#0000FF;" edge="1" parent="1">
162+
<mxCell id="w-kv396jZH2R6bxmsxN8-6" value="&lt;font color=&quot;#cc0000&quot;&gt;访问目标资源,响应给WEB前端&lt;br&gt;&lt;/font&gt;" style="edgeStyle=orthogonalEdgeStyle;html=1;align=left;spacingLeft=2;endArrow=block;rounded=0;entryX=1;entryY=0;fontColor=#0000FF;" parent="1" edge="1">
163163
<mxGeometry relative="1" as="geometry">
164164
<mxPoint x="507" y="428" as="sourcePoint" />
165165
<Array as="points">
@@ -168,7 +168,7 @@
168168
<mxPoint x="512" y="447.9999999999999" as="targetPoint" />
169169
</mxGeometry>
170170
</mxCell>
171-
<mxCell id="w-kv396jZH2R6bxmsxN8-7" value="响应信息" style="verticalAlign=bottom;endArrow=block;entryX=1;entryY=0;shadow=0;strokeWidth=1;fillColor=#008a00;strokeColor=#005700;" edge="1" parent="1">
171+
<mxCell id="w-kv396jZH2R6bxmsxN8-7" value="响应信息" style="verticalAlign=bottom;endArrow=block;entryX=1;entryY=0;shadow=0;strokeWidth=1;fillColor=#008a00;strokeColor=#005700;" parent="1" edge="1">
172172
<mxGeometry relative="1" as="geometry">
173173
<mxPoint x="494" y="460" as="sourcePoint" />
174174
<mxPoint x="179" y="460" as="targetPoint" />

0 commit comments

Comments
 (0)