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

Using FileManager to access network share

1 Answer 243 Views
FileManager
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 18 Jun 2020, 02:50 PM

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?

1 Answer, 1 is accepted

Sort by
0
Aleksandar
Telerik team
answered on 22 Jun 2020, 02:03 PM

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.
Tags
FileManager
Asked by
Chris
Top achievements
Rank 1
Answers by
Aleksandar
Telerik team
Share this question
or