allowing read access to all images via urls without credenti
Posted: Tue Jul 22, 2014 3:48 pm
Hi
For our project and omero instance all our images are publically available and I want to make them available via our web app and possibly some of the omero clients probably omero web and insight.
at the moment i can access images via our web app if I'm logged into the omero web client and then serve those images through my webapp like this as described in the docs
so in my jsp:
<img id="752" src="http://172.22.68.222:4080/webgateway/render_thumbnail/752/200" alt="image" title="30910.bmp" style="width: 200px;">
In the first instance I wouldn't mind being able to get my images using credentials with the url - but I can't find how to do this in the docs? Do I put user pass in the request header or directly on the url (obviously not very secure). But ideally I'd like to be able to have a user that can read access all my images on our omero instance without logging in via url? Can I do that? or set up a user/group that can do that for their files -so I just use the same user in my application?
Obviously I don't want anyone to be able to delete our images from the server though.
Any pointers on the best/easiest way to do this appreciated.
Thanks
Jonathan.
For our project and omero instance all our images are publically available and I want to make them available via our web app and possibly some of the omero clients probably omero web and insight.
at the moment i can access images via our web app if I'm logged into the omero web client and then serve those images through my webapp like this as described in the docs
so in my jsp:
<img id="752" src="http://172.22.68.222:4080/webgateway/render_thumbnail/752/200" alt="image" title="30910.bmp" style="width: 200px;">
In the first instance I wouldn't mind being able to get my images using credentials with the url - but I can't find how to do this in the docs? Do I put user pass in the request header or directly on the url (obviously not very secure). But ideally I'd like to be able to have a user that can read access all my images on our omero instance without logging in via url? Can I do that? or set up a user/group that can do that for their files -so I just use the same user in my application?
Obviously I don't want anyone to be able to delete our images from the server though.
Any pointers on the best/easiest way to do this appreciated.
Thanks
Jonathan.