禁止盗链,强制回登录页面web.config配置
Posted 吴翰哲
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了禁止盗链,强制回登录页面web.config配置相关的知识,希望对你有一定的参考价值。
<system.web>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5" requestValidationMode="2.0"/>
<authorization>
<deny users="?"/>
</authorization>
<authentication mode="Forms">
<forms name="venusoft.teacherGrowup" loginUrl="~/Login/Login.aspx" slidingExpiration="true"/>
</authentication>
</system.web>
以上是关于禁止盗链,强制回登录页面web.config配置的主要内容,如果未能解决你的问题,请参考以下文章
tp5 _initialize控制器初始化 及 禁止未登录进入和重复登入