Do we have any configuration related to how to provide control on who can deploy/upload the DAML contracts and dar file,
Like currently I am using the below command to upload the dar file on participant node, but if any one know the host and port of participant can also upload the dar file.
When you run commands like daml ledger upload-dar, the Daml Assistant is making calls to the Ledger API. The Ledger API can be configured to require JWT authorization. If you enable JWT authorization on the participant, then daml ledger upload-dar will fail unless you also include an --access-token-file TOKEN_PATH argument.
Note that the ability to upload DARs is part of the PackageManagementService. If you find that in the table, you will notice that the token must be for a user with participant_admin rights.