Web.config
上传用户:xiecaij
上传日期:2015-02-08
资源大小:2016k
文件大小:2k
源码类别:

百货/超市行业

开发平台:

ASP/ASPX

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <configuration> 
  3.   <system.web>
  4. <authentication mode="Forms">
  5.             <forms name="eshop" loginUrl="signIn.aspx" protection="All" path="/" />
  6.     </authentication>
  7.      <customErrors mode="RemoteOnly" defaultRedirect="Error.aspx">   
  8. </customErrors>   
  9.   </system.web>
  10.   <appSettings>
  11.     <add key="ConnectionString" value="server=qs;database=eshop;uid=sa;pwd=" />
  12.     <add key="mailUser" value="" />
  13.     <add key="mailPwd" value="" />
  14.     <add key="mailSmtpServer" value="" />
  15.     <add key="mailSender" value="" />
  16. <add key="mailTitle" value="" />
  17.   </appSettings>
  18.   
  19.   <location path="OrderList.aspx">
  20.  <system.web>
  21. <authorization>
  22. <deny users="?"/>
  23. </authorization>
  24.     </system.web>
  25.   </location>
  26.   <location path="OrderDetails.aspx">
  27.  <system.web>
  28. <authorization>
  29. <deny users="?"/>
  30. </authorization>
  31.     </system.web>
  32.   </location>
  33.   <location path="CheckOut.aspx">
  34.  <system.web>
  35. <authorization>
  36. <deny users="?"/>
  37. </authorization>
  38.     </system.web>
  39.   </location>
  40.   <location path="ChangePwd.aspx">
  41.  <system.web>
  42. <authorization>
  43. <deny users="?"/>
  44. </authorization>
  45.     </system.web>
  46.   </location>
  47.     <location path="MyAcount.aspx">
  48.  <system.web>
  49. <authorization>
  50. <deny users="?"/>
  51. </authorization>
  52.     </system.web>
  53.   </location>
  54.     <location path="EditAcount.aspx">
  55.  <system.web>
  56. <authorization>
  57. <deny users="?"/>
  58. </authorization>
  59.     </system.web>
  60.   </location>
  61.    
  62. </configuration>