Welcome Guest Search | Active Topics | Members | Log In | Register
Prevent users from downloading the media files Options
Damodar
Posted: Thursday, November 13, 2008 4:37:32 AM
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
Damodar
Posted: Thursday, November 13, 2008 5:35:47 AM
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
Roger Martin
Posted: Thursday, November 13, 2008 9:04:34 AM
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
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.2 (NET v2.0) - 9/27/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.