More in this section
Forums / Developing with Sitefinity / Question: IDownloadSecurityProvider

Question: IDownloadSecurityProvider

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Agustin
    Agustin avatar
    7 posts
    22 Apr 2013
    29 Oct 2013
    Link to this post
    Does anyone know where exactly I need to register a custom implementation of  Telerik.Sitefinity.Security.IDownloadSecurityProvider? 

    Creating a document library through the fluent API allows you to set the the DownloadSecurityProviderName property to reference the custom provider, however it is asking for the name of the provider, not the type, so I am hoping there is a location where I can register the provider implementation, however I been looking on the settings and I have not been able to find where to do the registration.
  2. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    18 Sep 2017
    01 Nov 2013
    Link to this post

     A provider implementing IDownloadSecurityProvider can`t be registered trough a setting it is registered when a module installs and in sitefinity there are two such providers 
    DownloadableGoodsSecurityProvider which is executed in the ecommerce module for adding security for allowing user that have purchased downloadable products to retrieve them.

    AttachmentDownloadSecurityProvider this is for forums module when forum visitors try to download attachments in forum posts.

    Custom security provider can`t be added to the built in modules as it have to be part of the module implementation. Such a provider can be added custom content based module like ProductsCatalogSample from sitefinity SDK where the whole implementation of the module is available.

    Please let me know the scenario in which you need to add additional security to a downloadable file so I can suggest another approach?

    Stanislav Velikov
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered