This is a migrated thread and some comments may be shown as answers.

Upload with Authentication + Azure Storage

1 Answer 102 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 28 Feb 2011, 07:24 PM
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?

1 Answer, 1 is accepted

Sort by
0
Alex Fidanov
Telerik team
answered on 01 Mar 2011, 11:03 AM
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!
Tags
Upload
Asked by
Kevin
Top achievements
Rank 1
Answers by
Alex Fidanov
Telerik team
Share this question
or