Chapter 3. File and Folder Permissions

In this chapter, we will cover the following recipes:

  • Changing the permissions on a folder for a user
  • Changing the permissions on a file for a user
  • Marking a file as read only
  • Creating a file share
  • Setting the default program for a file type

Introduction

When it comes to security, your first line of defense is limiting the number of users who are authorized to access or modify your software's files and folders. In Windows, access control lists (ACL) enumerate the permissions each user has. A user in the list can either be granted a permission directly or inherit it by being a member of a Windows group. For example, being a member of the Administrators group gives full control to read, execute, and modify a file ...

Get WiX Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.