1.看web.config中的这段:
<!--  AUTHENTICATION 
  This section sets the authentication policies of the application. Possible modes are "Windows", "Forms", "Passport" and "None"    "None" No authentication is performed. 
    "Windows" IIS performs authentication (Basic, Digest, or Integrated Windows) according to its settings for the application. Anonymous access must be disabled in IIS. 
    "Forms" You provide a custom form (Web page) for users to enter their credentials, and then you authenticate them in your application. A user credential token is stored in a cookie.
    "Passport" Authentication is performed via a centralized authentication service provided by Microsoft that offers a single logon and core profile services for member sites.
    -->

解决方案 »

  1.   

    1、用IIS的身份验证
    2、文件输出就把文件名连扩展名加上去用临时文件保存(效率特差)
      

  2.   

    请看《asp.net完全入门》(网站上电子版很多,你可以使用www.google.com搜一下),可以解决你的问题。
      

  3.   

    第二个问题参考这里的几篇文章:
    http://xml.sz.luohuedu.net/xml/ShowList.asp?id=1
      

  4.   

    呵呵,俺是来捡分的为了捡的名正言顺些:)可以参考这贴,
    http://expert.csdn.net/Expert/topic/2489/2489148.xml?temp=.9960443
    孟子的代码
    http://xml.sz.luohuedu.net/xml/ShowDetail.asp?id=EY1XLDYV-PIDF-43LO-1WFL-FMY5ALE1F635