thredds_security_test is a set of tools for testing the security configuration of THREDDS data servers. There are three tools:
thredds_test_url_access:
- Determines whether access is available to a single resource specified by URL. An option is
provided to download the resource.
thredds_test_catalog_access:
- Determines whether access is available to the resources listed in a catalog specified by URL.
Optionally, it will recurse through catalog references. Numbers of resources to which access is allowed and/or denied can be specified and a check is made that these match the results.
Each service listed in the catalog as applicable to a dataset is tried. For services that have multiple extensions used to access different types of data or metadata, each extension is tried (by default, this following extensions are tried for OPENDAP services: .html, .dds, .das, .asc, .ascii and .dods).
If there is more than one service or service/extension combination available for accessing a dataset, and access is found to be possible by some of these but not others, the security configuration will be reported as inconsistent.
thredds_test_file_access:
- Determines whether access is available to a set of resources specified by URL listed in a file.
This is intended to be used to check that files that exist in the THREDDS content directories, but which are not listed in catalogs, are not accessible.
Requirements:
- Python
Comments not found