Allowing to view restricted images in specific items , using a cookie

Hi,

Due to copyright issues, we want to flag items and allow the images in them to be viewed by users who need to physically come to our library in order to do so.

Instead of creating users and managing permissions and the librarians needing to log in, I have an idea and want to see if it’s possible and a good one.

For certain items, a checkbox will be set to specify that it’s images are restricted.

I will program a simple PHP script that will live in the root of my installation which will set up a cookie and then redirect to the homepage of my Omeka-S site.

When an items is accessed, there is a check if the image is restricted. If the cookie is set, the images will be displayed. If the cookie is not set, they will not be displayed.

What do you think about this idea? Will it be simple or am I complicating things and it can be achieved much simpler using other existing methods?

Thanks,

Hanan Cohen

Interesting. But what condition will be met to set the cookie? Also, using cookies opens up complex issues of concent. But the same functionality may be possible with local storage, the advantage being local storage is not shared and so does not require concent.

Hi @hananc ,

I wonder if what you need is the Access Module.

This module would let you restrict the Media of specific Item Sets to be viewable only when accessed from your library’s IP address.