4 posts, 0 answers
  1. Evgeny Vdovin
    Evgeny Vdovin avatar
    29 posts
    Member since:
    May 2006

    Posted 27 Aug 2008 Link to this post

    Hi Support

    We creating small app and using Upload for silverlight to transfer some files into our nas where I need to set up security who can access this folder, so my Question is. What authentication mode is in use? How can I identify user name who is using upload, I know this is more about silverlight app but I wonder if you can help to understand authentication

    John Vdovin
  2. Valentin.Stoychev
    Valentin.Stoychev avatar
    2198 posts

    Posted 28 Aug 2008 Link to this post

    Hello John,

    Basically there is no security associated with the RadUpload. It uses a simple server handler for processing the files. The POST requests are submitted directly to the handler, without any validation on the client or on the server.

    If you need to pass the user_id, or any other info that is available in the browser you can pass it as a parameters on every upload request and to validate it on the server.

    Please let us know if this works for you - we can create a simple example to show you how to pass additional parameters to the upload handler.

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. felix
    felix avatar
    9 posts
    Member since:
    Sep 2008

    Posted 19 Sep 2008 Link to this post

    Hello. Just a question regarding authentication. How do I redirect to another page (e.g. login.aspx) if authentication fails? 


  4. Chris
    Chris avatar
    66 posts
    Member since:
    Sep 2008

    Posted 21 Sep 2008 Link to this post

    Hi guys,

    John: You should be doing the authentication from within the handler/web service and can use the standard Membership methods from Microsoft in there.  That's what I do.

    Felix: In terms of redirecting if they fail authentication, you can just use Response.Redirect, but you should do that in the page that the silverlight app is embedded in and do a check there in the code-behind page (aspx.cs).
Back to Top