<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<base href="">
</head>
<body style="word-wrap:break-word">
Dear John
<div><br>
</div>
<div>
<div>Referring to your question about changing password. I think as long as you keep public user password safe and secure no one should be able to change password. First because changing password require Current password and second you can add </div>
<div><i><br>
</i></div>
<div><font face="Menlo"><span class="Apple-tab-span" style="white-space:pre"></span>omero config set omero.web.public.url_filter '^/(?!webadmin)'</font></div>
<div><br class="webkit-block-placeholder">
</div>
<div>
<div style="color:rgb(0,0,0); font-size:medium; font-variant:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; word-wrap:break-word; font-weight:normal">
<div style="font-family:Helvetica; font-style:normal; color:rgb(0,0,0); font-size:medium; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
to make changing user details will prompt login.</div>
<div style="font-family:Helvetica; font-style:normal; color:rgb(0,0,0); font-size:medium; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<br>
</div>
<div style="font-family:Helvetica; font-style:normal; color:rgb(0,0,0); font-size:medium; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
If you want to prevent public user from creating/editing/deleting your filter should look like:</div>
<div style="font-family:Helvetica; font-style:normal; color:rgb(0,0,0); font-size:medium; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<br>
</div>
<div style="color:rgb(0,0,0); font-size:medium; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<font face="Menlo"><span class="Apple-tab-span" style="white-space:pre"></span></font><span style="font-family:Menlo">omero config set omero.web.public.url_filter </span><span style="font-family:Menlo">'^/(?!webadmin|webclient/action/\w+|webclient/annotate_(file|tags|comment))'</span></div>
<div style="color:rgb(0,0,0); font-size:medium; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<font face="Menlo"><br>
</font></div>
<div style="font-family:Helvetica; font-style:normal; color:rgb(0,0,0); font-size:medium; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
this should do the trick</div>
<div style="font-family:Helvetica; font-style:normal; color:rgb(0,0,0); font-size:medium; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<br>
</div>
<div style="font-family:Helvetica; font-style:normal; color:rgb(0,0,0); font-size:medium; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<br class="Apple-interchange-newline">
Kind regards</div>
<div style="font-family:Helvetica; font-style:normal; color:rgb(0,0,0); font-size:medium; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
Ola</div>
<div style="font-family:Helvetica; font-style:normal; color:rgb(0,0,0); font-size:medium; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<br>
</div>
<div style="font-family:Helvetica; font-style:normal; color:rgb(0,0,0); font-size:medium; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<br>
</div>
</div>
</div>
<div>
<div>On 24 Oct 2013, at 11:27, John Webber (NBI) <<a href="mailto:John.Webber@nbi.ac.uk">John.Webber@nbi.ac.uk</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div lang="EN-GB" style="font-family:Helvetica; font-size:medium; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<div class="WordSection1" style="">
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">All,</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Following on from the emails below, I have implemented a Public user, so that we have Omero auto-login for a specified user. Is there, however, a way to prevent this user from
creating any content. If we have a site which auto-logins to a particular user, how can we make sure that someone does not create any inappropriate content (by attaching files, or creating new datasets, projects or screens) as this user.</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Thanks</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">John</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span></div>
<div>
<div style="border-style:solid none none; border-top-width:1pt; border-top-color:rgb(225,225,225); padding:3pt 0cm 0cm; position:static; z-index:auto">
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<b><span lang="EN-US" style="font-size:11pt; font-family:Calibri,sans-serif">From:</span></b><span lang="EN-US" style="font-size:11pt; font-family:Calibri,sans-serif"><span class="Apple-converted-space"> </span>Will Moore [mailto:will@<a href="http://lifesci.dundee.ac.uk">lifesci.dundee.ac.uk</a>]<span class="Apple-converted-space"> </span><br>
<b>Sent:</b><span class="Apple-converted-space"> </span>16 October 2013 12:17<br>
<b>To:</b><span class="Apple-converted-space"> </span>John Webber (NBI)<br>
<b>Cc:</b><span class="Apple-converted-space"> </span><a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br>
<b>Subject:</b><span class="Apple-converted-space"> </span>Re: [ome-users] Prevent a user from changing their own password?</span></div>
</div>
</div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
</div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
Hi John,</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
</div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
Will you be providing this account username and password to external users, to log in with Insight / web? </div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
If so, then I don't know of a way you can currently prevent them changing their password, although others might have some ideas.</div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
</div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
In the case where we have "public" user exposed via auto-login through the web framework, the user never gets to know their password or to log in, and we prevent them visiting the webadmin pages via a url filter as described</div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<a href="https://www.openmicroscopy.org/site/support/omero4/developers/Web/PublicData.html" style="color:purple; text-decoration:underline">https://www.openmicroscopy.org/site/support/omero4/developers/Web/PublicData.html</a></div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
</div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
</div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
Cheers,</div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
</div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
Will. </div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
</div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
</div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
</div>
<div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
On 16 Oct 2013, at 11:53, John Webber (NBI) wrote:</div>
</div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<br>
<br>
</div>
<blockquote style="margin-top:5pt; margin-bottom:5pt">
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span style="font-size:11pt; font-family:Calibri,sans-serif">Hi all,</span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span style="font-size:11pt; font-family:Calibri,sans-serif"> </span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span style="font-size:11pt; font-family:Calibri,sans-serif">We are planning to have an external Omero user account that can be used to view (read-only) images in our Omero instance. Is it possible to lock down this user account within Omero, so that the
user is not able to change their own password? We would envisage that a password change should only be done by an administrator – is this something that can be achieved?</span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span style="font-size:11pt; font-family:Calibri,sans-serif"><br>
Thanks</span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span style="font-size:11pt; font-family:Calibri,sans-serif">John</span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span style="font-size:11pt; font-family:Calibri,sans-serif"> </span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span style="font-size:11pt; font-family:Calibri,sans-serif"> </span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span style="font-size:11pt; font-family:Calibri,sans-serif"> </span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif; line-height:12pt; background-color:white">
<b><span style="font-size:10pt; font-family:Arial,sans-serif; color:rgb(79,129,189)">-------------------------------------------------------------------------------------------------------------------------------------------- </span></b><span style="font-size:11pt; font-family:Calibri,sans-serif"></span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif; line-height:12pt; background-color:white">
<b><span style="font-size:11pt; font-family:Arial,sans-serif; color:rgb(84,141,212)">John Webber<br>
</span></b><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Computing and Information Services</span><span style="font-size:11pt; font-family:Calibri,sans-serif"></span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif; line-height:12pt; background-color:white">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">NBI Partnership Ltd</span><span style="font-size:11pt; font-family:Calibri,sans-serif"></span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif; line-height:12pt; background-color:white">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Norwich Research park</span><span style="font-size:11pt; font-family:Calibri,sans-serif"></span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif; line-height:12pt; background-color:white">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Colney Lane</span><span style="font-size:11pt; font-family:Calibri,sans-serif"></span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif; line-height:12pt; background-color:white">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Norwich</span><span style="font-size:11pt; font-family:Calibri,sans-serif"></span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif; line-height:12pt; background-color:white">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">NR4 7UH</span><span style="font-size:11pt; font-family:Calibri,sans-serif"></span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif; line-height:12pt; background-color:white">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span><span style="font-size:11pt; font-family:Calibri,sans-serif"></span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif; line-height:12pt; background-color:white">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">E-Mail:</span><span class="apple-converted-space"><span style="font-size:11pt; font-family:Calibri,sans-serif"> </span></span><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"><a href="mailto:john.webber@nbi.ac.uk" style="color:purple; text-decoration:underline">john.webber@nbi.ac.uk</a></span><span style="font-size:11pt; font-family:Calibri,sans-serif"></span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif; line-height:12pt; background-color:white">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Web:</span><span class="apple-converted-space"><span style="font-size:11pt; font-family:Calibri,sans-serif"> </span></span><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> <span class="apple-converted-space"> </span><a href="http://www.nbi.ac.uk/" style="color:purple; text-decoration:underline">http://www.nbi.ac.uk</a></span><span style="font-size:11pt; font-family:Calibri,sans-serif"></span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif; line-height:12pt; background-color:white">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Tel:</span><span class="apple-converted-space"><span style="font-size:11pt; font-family:Calibri,sans-serif"> </span></span><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">
+44(0)1603 450 818</span><span style="font-size:11pt; font-family:Calibri,sans-serif"></span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif; line-height:12pt; background-color:white">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span><span style="font-size:11pt; font-family:Calibri,sans-serif"></span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif; line-height:12pt; background-color:white">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Helpdesk (Tel): 1234</span><span class="apple-converted-space"><span style="font-size:11pt; font-family:Calibri,sans-serif"> </span></span><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">
HPC Support (Web):</span><span class="apple-converted-space"><span style="font-size:11pt; font-family:Calibri,sans-serif"> </span></span><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> <span class="apple-converted-space"> </span><a href="http://hpc.nbi.ac.uk/" style="color:purple; text-decoration:underline">http://hpc.nbi.ac.uk</a>
(NBI internal)</span><span style="font-size:11pt; font-family:Calibri,sans-serif"></span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif; line-height:12pt; background-color:white">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> HPC Support (Tel):</span><span class="apple-converted-space"><span style="font-size:11pt; font-family:Calibri,sans-serif"> </span></span><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">
2003 (NBI internal)</span><span style="font-size:11pt; font-family:Calibri,sans-serif"></span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span><span style="font-size:11pt; font-family:Calibri,sans-serif"></span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<i><span style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">The NBI Partnership Ltd provides non-scientific services to the Institute of Food Research, the John Innes Centre, The Genome Analysis Centre and The Sainsbury Laboratory</span></i><span style="font-size:11pt; font-family:Calibri,sans-serif"></span></div>
</div>
<div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span style="font-size:11pt; font-family:Calibri,sans-serif"> </span></div>
</div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
_______________________________________________<br>
ome-users mailing list<br>
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" style="color:purple; text-decoration:underline"><span style="color:rgb(5,99,193)">ome-users@lists.openmicroscopy.org.uk</span></a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" style="color:purple; text-decoration:underline"><span style="color:rgb(5,99,193)">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</span></a></div>
</blockquote>
</div>
<div style="margin:0cm 0cm 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
ome-users mailing list<br>
<a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br>
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</div>
</blockquote>
</div>
<br>
</div>
<br>
<span style="font-size:10pt">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>