Using FileManager to access network share

2 posts, 0 answers
  1. Chris
    Chris avatar
    2 posts
    Member since:
    Sep 2019

    Posted 18 Jun 2020 Link to this post

    I'm trying to use FileManager to access a network share on behalf of the user using the app. We want to make sure that the user using the app belongs to an active directory group that has access to the share.

    I'm at the point where we can retrieve a list of active directory groups that have access to the requested network folder using a PrincipalContext, and can verify that the current user belongs to one of the groups with access permissions. 

    However, it seems like this authorization takes ~2 minutes to complete, which makes the filemanager unusable by our users.

    Is anyone using FileManager for something like this, and if so, do you have any recommendations for checking if the user has access to a network share?

  2. Aleksandar
    Admin
    Aleksandar avatar
    243 posts

    Posted 22 Jun 2020 Link to this post

    Hello Chris,

    If you need to send additional data with the uploaded file you could use the approach demonstrated in this article:

    https://docs.telerik.com/kendo-ui/knowledge-base/upload-mvc-send-additional-data

    In regards to setting up Claims-based authentication you might find the following series useful, even though not directly related to the FileManager:

    https://dotnetcodr.com/2013/02/25/claims-based-authentication-in-mvc4-with-net4-5-c-part-1-claims-transformation/

    Regards,
    Aleksandar
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top