Store Access Control - dcm4che/dcm4chee-arc-light GitHub Wiki
Configuring Store Access Control ID defines which access_control_id
will be assigned to a study (in database). It can
be done in following two ways :
- Configuring directly on Application Entity
- Using Store Access Control ID Rule(s)
Note :
- Value configured for
dcmStoreAccessControlID
(if using LDAP) orStore Access Control ID
(if using UI) will be assigned to the study in database. - If Store Access Control is not configured by any of the two ways mentioned above, then
*
value is assigned to the study in database, which means any Application Entity can access the study.
- Go to
Menu->Configuration
, then onDevices
page,Edit
thedcm4chee-arc
device. Go toChild objects
and selectDCM4CHEE
from the dropdown ofNetwork AEs
. - Next go to
Extensions
andEdit extension
ofNetwork AE Extension
, then go toExtensions
andEdit Extension
ofArchive Network AE
. As per one's application needs, enter values in fieldStore Access Control ID
andSave
.
By default DCM4CHEE
AE has a web application configured and associated to it, to enable querying for studies using
DICOM Web Services (QIDO). If a different AE has been created, ensure that Web Application is also configured for the
same.
One may either
-
create a LDIF file (e.g.):
version: 1 dn: dicomAETitle=DCM4CHEE1,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: modify add: dcmStoreAccessControlID dcmStoreAccessControlID: Customer1 dn: dicomAETitle=DCM4CHEE2,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: modify add: dcmStoreAccessControlID dcmStoreAccessControlID: Customer2
and import it to the LDAP Server by using the ldapmodify command line utility.
-
or use the Add Attribute... and Add Value... function of Apache Directory Studio to add attributes on Application Entity Level (e.g:
dicomAETitle=DCM4CHEE
) in the Archive Configuration.
One may refer to Archive Network AE to understand the description of attributes.
Go to the Control tab on Configuration page in archive UI and reload the configuration.
- Select the level to add Store Access Control Rules :
-
Archive device level : Rule will be applied to objects received by any AE of this device.
Go to
Menu->Configuration
, then onDevices
page,Edit
thedcm4chee-arc
device.Edit extension
ofDevice Extension
, thenEdit extension
ofArchive device
. Go toChild Objects
and select+
for addingStore Access Control Rules
. -
Archive Application Entity extension level : Rule will be applied only to objects received by this AE
Go to
Menu->Configuration
, then onDevices
page andEdit
thedcm4chee-arc
device. Go toChild Objects
and select the Network AE for which the Attribute Coercion needs to be configured.Edit extension
ofNetwork AE Extension
, thenEdit extension
ofArchive Network AE
. Go toChild Objects
and select+
for addingStore Access Control Rules
.
-
- Enter values in fields
Name
andStore Access Control ID
. You may choose to enter values for optional fieldsPriority
andConditions
based on your application.
Note : As an example, the InstitutionName
DICOM attribute and its corresponding value in DICOM object is used. Change
as required for your application.
One may either
-
create a LDIF file (e.g.):
version: 1 dn: cn=StoreAccessControlIDRule1,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: add objectClass: dcmStoreAccessControlIDRule cn: StoreAccessControlIDRule1 dcmStoreAccessControlID: INSTITUTION_ANY dcmProperty: SendingApplicationEntityTitle=ACCESS_CONTROL_ANY dcmProperty: InstitutionName=InstitutionAny dn: cn=StoreAccessControlIDRule2,dicomAETitle=DCM4CHEE3,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: add objectClass: dcmStoreAccessControlIDRule cn: StoreAccessControlIDRule1 dcmStoreAccessControlID: INSTITUTION_MAIN dcmProperty: InstitutionName=InstitutionMain
and import it to the LDAP Server by using the ldapmodify command line utility.
-
or use the Add Attribute... and Add Value... function of Apache Directory Studio to add attributes on Application Entity Level (e.g:
dicomAETitle=DCM4CHEE
) in the Archive Configuration.
One may refer to Store Access Control Rule to understand the description of attributes.
Go to the Control tab on Configuration page in archive UI and reload the configuration.