Upload with Authentication + Azure Storage

2 posts, 0 answers
  1. Kevin
    Kevin avatar
    30 posts
    Member since:
    Jul 2012

    Posted 28 Feb 2011 Link to this post

    Looking through some of the other posts, it seems that the RadUpload control does not support authentication or uploading to Azure storage out of the box.

    Using the control as is, with it's extensibility, is there any way to accomplish this now?

    We are using RIA Services + Azure blob storage.  What I would like to do is use the RadUpload control to allow the user to upload files, which will eventually end up in the Azure storage.  We already have authentication of users setup through RIA Services.

    I see that the RadUpload used a httphandler on the server side.  What would be the recommended way to authenticate the user from this httphandler given our setup?  I understand that we can pass some kind of token to the httphandler from the client.  But where would this token come from, and how would it be secure?

    Also, we would need some way to intercept the behavior on the server where it saves the files to the server hard drive.  Instead of this, we would need to be writing the files to Azure storage.  It is my understanding that using Azure storage this can be done using blob blocks.

    Any ideas from Telerik or from the community?
  2. Alex Fidanov
    Admin
    Alex Fidanov avatar
    636 posts

    Posted 01 Mar 2011 Link to this post

    Hi Kevin,

    Currently, the RadUpload does not support upload to Azure storage. However, you can vote for implementing this here. Authentication can be performed by sending tokens between the client and the server side, however, it does not have any protection. Any encryption would have to be done manually.

    Ideally, the saving behavior of the handler can be intercepted and can be overriden. The RadUploadHandler exposes virtual methods that can be overriden so that this behavior is changed. You can see instructions on how to achieve this here.

    Regards,
    Alex Fidanov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. DevCraft banner
Back to Top