Package ome.io.nio
Interface ReaderSecurityCheck
-
public interface ReaderSecurityCheck
Check that OMERO permissions violations are not being attempted by means of a Bio-Formats readers' I/O. Cf. 2019-SV1.- Since:
- 5.5.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
assertUsedFilesReadable(loci.formats.IFormatReader reader)
Check that the used files reported by the reader are safe.
-
-
-
Method Detail
-
assertUsedFilesReadable
void assertUsedFilesReadable(loci.formats.IFormatReader reader) throws ome.conditions.SecurityViolation
Check that the used files reported by the reader are safe. Call as next step afterIFormatHandler.setId(String)
.- Parameters:
reader
- an open Bio-Formats reader- Throws:
ome.conditions.SecurityViolation
- if a security issue was identified with any of the used files reported by the reader
-
-