Rank: Member
Joined: 11/12/2008 Posts: 6 Location: Bangalore
|
Hi,
I have a specific requirement of blocking the users from downloading the media files uploaded.
I would like them to view the media files but not download it.
Currently every user regardless of his role will be able to download any media file uploaded on the site by clicking on "Download Media Object" Link in the Media player.
Please let me know if we can avoid this somehow.
I would like users to download video based on their role or certain other criteria like if they have paid for downloading the video etc.
Regards, Damodar
|
Rank: Member
Joined: 11/12/2008 Posts: 6 Location: Bangalore
|
Hi,
I was able to resolve this by commenting the code that shows the download media object icon and download media code in mediaobjectview.ascx.cs.
Thanks, Damodar
|
Rank: Administration
Joined: 8/3/2007 Posts: 844 Location: Fort Atkinson, WI
|
There is also a setting in galleryserverpro.config: enableMediaObjectDownload="true"
If you set this to false the download icon is never shown.
Roger Martin Lead Developer for Gallery Server Pro
|