KB : AjaxUploader recent updates (2009-08-25)

Last post 07-29-2010, 9:25 PM by cutechat. 2 replies.
Sort Posts: Previous Next
  •  08-24-2009, 10:51 PM 54996

    KB : AjaxUploader recent updates (2009-08-25)

     
    2 - new web.config appSettings : <add key="CuteWebUI.AjaxUploader.UseAspNetStream" value="True"/>
     
    when specify this setting :
        in  ASP.NET1.1 uploader will not stream the memory data into disk ,
        in ASP.NET2.0, ASP.NET will stream the data into temp file.
        IFrame mode will not able to report correct progress information.
     
    3 - add option to impersonate an user
       new web.config appSettings :
     
     <add key="CuteWebUI.AjaxUploader.WindowsUsername" value="Terry" />
     <add key="CuteWebUI.AjaxUploader.WindowsPassword" value="12345abcde" />
     <add key="CuteWebUI.AjaxUploader.WindowsDomain" value="" />
     
    Web Application need <trust level="Full" /> for this option
    While the page loading , the page lifetime may be affect by this account setting!
    If not , use uploader.GetUploaderProvider() to ensure the uploader control impersonate the account,
      (otherwise if you will get permission error while call something like File.Copy(uploadAttachments1.Items[0].FilePath,"myfolder/"+uploadAttachments1.Items[0].FileName); )
     
     
     
     
     
     
     
     
     
  •  07-15-2010, 3:27 AM 62500 in reply to 54996

    Re: KB : AjaxUploader recent updates (2009-08-25)

    "If not , use uploader.GetUploaderProvider() to ensure the uploader control impersonate the account"
     
    How can the "GetUploaderProvider" method be used to help in this situation?
    I can't find any documentation or examples of how this method can be made use of.
    Are there any examples that anybody can point me to?
     
    How can this method be used to impersonate a user account without setting the trust level to full?
  •  07-29-2010, 9:25 PM 62808 in reply to 62500

    Re: KB : AjaxUploader recent updates (2009-08-25)

    Hi,
     
    We will provide an example for that .
     
    Regards,
    Terry
View as RSS news feed in XML