Media rights

Topics: Administration
Mar 4, 2012 at 7:48 PM

Hello everybody,

I'am here to resolve a little problem with an orchard project. 

I want to limit media file access. Actually, anyone can download my media if he know the url. I want to restrain the media access at a group of people (roles).

Do you think it's possible without development in Orchard 1.4 ?

 

Thanks,

Jonathan

 

 

Coordinator
Mar 5, 2012 at 11:21 PM

The contents of the media folder is served directly by IIS, not Orchard, for performance. The Media folder should be considered public data. If you want to restrict access, either configure IIS so, or put those media in another place and have them served by some controller action in Orchard from which you can control access rights.