How do I block certain apps from Network users.

I have 5-6 mac minis connected to my windows server 2022 and the accounts that connect to the mac are network account. How do I block the network users from accessing or using certain apps like terminal and passwords?

How do I block certain apps from Network users.
 
 
Q