Thank you Gunterze for your response. It helped me a lot. I want to discuss another scenario.
Let me explain what I want to do:
I have my PACS (dcm4chee-arc-psql:5.20.0-secure - dockerized). There are some modalities and workstations configured with PACS. All modalities can send data to PACS and all workstations can send data to PACS & can receive data from PACS as well (two way communication between PACS and workstations).
1. By applying configuration suggested by you, only AETs of modalities and workstations which are configured as Accepted Calling AE Title to the selected AET can communicate with PACS. And PACS is rejecting all other AETs either it is configured in PACS AE list or not.
2. I have also configured Validate Calling AE Hostname as True at dcm4chee-arc device level (Screenshot attached). As a result of this setting any AET which is not configured in PACS AE list can not communicate with PACS.
3. Now my requirement is as follow:
3.1 - Only those modalities which are configured with PACS / added in PACS AE list should allow to send data to PACS.
3.2 - Only those workstation can receive data from PACS which are configured with PACS / added in PACS AE list and these workstations should not allow to send data to PACS. I need one way communication between PACS and workstation. i.e only data retrieval from PACS to workstation.
3.3 - Any modality or workstation which is not configured with PACS / added in PACS AE list should not allowed to communicate with PACS.