O'Reilly logo

Win32 Perl Programming: The Standard Extensions, Second Edition by Dave Roth

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Win32::FileSecurity

When I started to write the first edition of this book, the only real Win32 security extension available was Win32::FileSecurity. It focused solely on file-based permissions. Since then, Win32::Perms has matured into a very useful extension that covers much more than just NTFS file permissions. And Win32::FileSecurity seems to be used less and less. However, because many users still rely on the extension (after all, it is quite useful), this section is devoted to the use of the Win32::FileSecurity extension.

Considering how complicated file security can be, the Win32::FileSecurity extension is remarkably easy to learn and use. It provides a basic interface to retrieve, set, and decode permissions.

To use the extension, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required