Hello,
It is standard practice to have your users' IDs stored in a database of your CMS, and create a specific folder for each user when a user account is created. Then, when a user is logged and wishes to use the editor, setting the user's folder for this particular logged user is a matter of a single line of code, such as
RadEditor1.ImageManager.ViewPaths = New String() {"~/RadEditor/UploadedFiles/" +
LOGGEDUSERID}
Thus each user will have access only to his/her folder and be able to do whatever you let them do, without interfering with other users (and yes, if you have 100 users you will need to create 100 folders).
Another approach is to create a custom content provider that will filters the uploaded files according to the logged user. You can use as a base the provider available in the following live demo:
Filter files and download.
Kind regards,
Rumen
the Telerik team
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 RadControls for ASP.NET AJAX, subscribe to their
blog feed now.