有没有什么办法防止别人猜测到后台地址?
比如后台登录页是:http://www.dsdsffs.com/admin/login.aspx,如果这样输入地址会提示找不到网页,实际它是存大的。要通过另一个地址才能访问,这个地址可以随意,如:http://www.dsdsffs.com/admin2012ctst等
[解决办法]
[解决办法]
生成一个 GUID ,我就不信它能瞎猜得到。
[解决办法]
这里我说一个方法,类似struts2中的拦截器。首先在web.config中配置:
- XML code
<httpModules> <add name="Intercept" type="Intercept,App_Code"></add> </httpModules>