0

I'm new to Sitecore and I'm looking for the details of media library pipelines in CD. I'm trying to redirect media library link based on a flag. If the flag is checked for media library item then it should redirect to a page. We wont be able to depend on scheduled publishing since the number of media items is to huge(200-300 media items). So we need to publish the items and keep it as non accessible till the flag is un-checked.

Thanks in advance.

  • are you trying to hide media items from the public access? – Ahmed Okour Apr 21 '18 at 17:20
  • Yes. I am, kind of embargo time functionality. – Harikrishnan N Apr 21 '18 at 17:21
  • Media items are passing through the begin request pipeline.. why not just use that one? – Gatogordo Apr 22 '18 at 6:48
  • We need this only for Media items.That's why – Harikrishnan N Apr 26 '18 at 15:58
1

You don't have to deal with pipelines for this, You can use Sitecore security restrictions to disable "extranet\anonymous" user access to these images, you can "deny" access of the containing folder of these Media items, and publish it, now the public will not have access to it until you give them access again.

enter image description here

More on Sitecore security can be found here.

  • Okay. But authors will not have access to security editor. That’s why thought of using a flag. – Harikrishnan N Apr 21 '18 at 19:35
  • @HarikrishnanN They don't need to access security editor for this, They can do this from content editor in the security tab-> Assign, As long as they author have "sitecore\Sitecore Client Securing" role – Ahmed Okour Apr 21 '18 at 19:41
  • we have not provided any kind of access to Content authors for modifying the security. – Harikrishnan N Apr 21 '18 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.