title: Set access permission on an application as antivirus do
body: <p>I am trying to set permission on an application as read/execute only, I can achieve this by using c++ windows <code>SetSecurityDescriptorDacl()</code> function. </p>
  
  <p>But after that admin can change it by right clicking on a file </p>
  
  <blockquote>
    <p>properties->security->advanced->Change Permission</p>
  </blockquote>
  
  <p>But somehow antivirus prevents these charges on their application as shown in below image </p>
  
  <p><a href="https://i.stack.imgur.com/bMGyh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bMGyh.png" alt="enter image description here"></a></p>