This is the sample AE line:
#None none RemoteAE
eg
TESTAE TESTAE RemoteAE
Will block all accessesing AE (including the server itself) except TESTAE
To block all queries put # before any line you want blocked:
# PatientRootQuery 1.2.840.10008.5.1.4.1.2.1.1 sop
#PatientRootRetrieve 1.2.840.10008.5.1.4.1.2.1.2 sop
#PatientRootGet 1.2.840.10008.5.1.4.1.2.1.3 sop
#StudyRootQuery 1.2.840.10008.5.1.4.1.2.2.1 sop
#StudyRootRetrieve 1.2.840.10008.5.1.4.1.2.2.2 sop
#StudyRootGet 1.2.840.10008.5.1.4.1.2.2.3 sop
#PatientStudyOnlyQuery 1.2.840.10008.5.1.4.1.2.3.1 sop
#PatientStudyOnlyRetrieve 1.2.840.10008.5.1.4.1.2.3.2 sop
#PatientStudyOnlyGet 1.2.840.10008.5.1.4.1.2.3.3 sop
FindModalityWorkList 1.2.840.10008.5.1.4.31 sop
#PatientRootRetrieveNKI 1.2.826.0.1.3680043.2.135.1066.5.1.4.1.2.1.2 sop
#StudyRootRetrieveNKI 1.2.826.0.1.3680043.2.135.1066.5.1.4.1.2.2.2 sop
#PatientStudyOnlyRetrieveNKI 1.2.826.0.1.3680043.2.135.1066.5.1.4.1.2.3.2 sop
Marcel