I\'m using PhpSpreadsheet: https://github.com/PHPOffice/PhpSpreadsheet In the documentation, it states:
An example on setting document security: