In order to secure a computer and its resources, we must
take into consideration what rights users will have. We can secure a computer
or multiple computers by granting users or groups specific user rights. We can
secure an object, such as a file or folder, through assigning permissions to
allow users or groups to perform specific actions on that object. We often
need to set ACLs on files or even folders. In our real life when we deploy any
application we may need to set proper permission in respect of a file or
folder. It is true that admin can set any type of permission in respect of a
file or folder in an application. But in the deployment server we may not have
the permission to set ACLs manually. In that scenario we can set required
permission in respect of a file or folder in application using new features of
ACLs in .NET Framework 2.0.