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

Rad File Explorer With UNC Share Drive

6 Answers 312 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Rizwan Ansari
Top achievements
Rank 1
Rizwan Ansari asked on 06 Feb 2014, 08:43 AM
Dear Telerik Team,

i am looking to integrate RadFileExplorer with unc share drive, i try to see this link http://www.telerik.com/support/kb/aspnet-ajax/fileexplorer/physical-paths-and-different-content-types.aspx but seems the link is broken.

Could you please guide for my requirements.

Thanks

6 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 06 Feb 2014, 12:12 PM
Hi Rizwan,

The right link, where you can access the FileExplorer's content provider for UNC paths is as follows:
http://www.telerik.com/support/kb/aspnet-ajax/fileexplorer/details/use-radfileexplorer-with-physical-and-shared-folder-s-paths

In addition, could you let us know where you found the broken one so we can edit it, if it is within our domain?

Regards,
Veselina Raykova
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
0
Rizwan Ansari
Top achievements
Rank 1
answered on 09 Feb 2014, 05:40 AM
Dear Veselina,

Thanks for the link, it help me to browse unc shared folder.
i need some more help from you, actually i am doing sharepoint webpart to display unc shared folder, if you have sample or steps please advice.
Also i want to pass user credentials in the sample you provided above, where exactly i have to set domain\username and password?

Please help.

Thanks.
0
Vessy
Telerik team
answered on 12 Feb 2014, 07:06 PM
Hello Rizwan,

Information on how to configure FileExplorer in a SharePoint webpart, along with providers on how to connect the SharePoint libraries, could be found here:
Using the RadFileExplorer for ASP.NET AJAX in a MOSS web application
Using the RadFileExplorer for ASP.NET AJAX in SharePoint 2010 web parts

Regarding your second question, you can use a standard authentication set with ASP.NET Impersonation enabled. Note that when using RadFileExplorer with impersonation you need to apply impersonation to the  Telerik.Web.UI.WebResource handler and the handler used by the control (if any), e.g.:
web.config
<
location path="FileSystemHandler.ashx" allowOverride="true">
    <system.web>
       <authorization>
            <allow roles="*"/>
        </authorization>
    </system.web>
</location>
<location path="Telerik.Web.UI.WebResource.axd" allowOverride="true">
   <system.web>
     <identity impersonate="true" userName="HostingServer\userName" password="userPassword"/>
     <authorization>
       <allow users="*"/>
     </authorization>
   </system.web>
 </location>

I hope this information will be helpful for you.

Regards,
Veselina Raykova
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
0
Mahmoud
Top achievements
Rank 1
answered on 03 Dec 2014, 09:25 AM
Hi Vessy,
Thanks for that valuable information. very helpful.

but, impersonation will allow me to access My folder with a specific username. for all other users!
How can I use Windows Authentication with my FileExplorer . so every user can access the Folder with assigned permissions to him
in the NTFS folder security permissions (whether it's Read/write...etc).
simply after the user put his (domain\username and password) through windows authentication . FileExplorer should read windows identity. But not impersonating one user.

have in mind that I tried the following :
<location path="Telerik.Web.UI.WebResource.axd" allowOverride="true">
    <system.web>
        <authentication mode="Windows"></authentication>
        <authorization>
            <allow users="*"/>
        </authorization>
    </system.web>
</location>

But still getting (access denied error)

I've been looking for this requirements for days, but ended up with nothing!

any help, appreciated
0
Mahmoud
Top achievements
Rank 1
answered on 04 Dec 2014, 01:22 PM
Any Help please !
0
Vessy
Telerik team
answered on 08 Dec 2014, 09:36 AM
Hello Mahmoud,

In order to grant each user with the proper permissions you will need to give full permissions not only to the Telerik.Web.UI.WebResource.axd handler, but also the one used by your content provider(I assume that you are using such as you are writing in this thread).

On a side note, I would suggest that you make the permission tests from this help article and see whether the permissions to the current user are assigned properly and she can access the content of the target folders. Only if the user have permissions to these folders, FileExplorer will be able to list their content.

Regards,
Vessy
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
FileExplorer
Asked by
Rizwan Ansari
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Rizwan Ansari
Top achievements
Rank 1
Mahmoud
Top achievements
Rank 1
Share this question
or