How Does Win32 Security Work?
Any securable object can have an SD attached to it. It is up to the object to interpret the permissions. For example, the NTFS file system will examine a security descriptor on a given file and compare the permissions with the user account accessing the file. If the file system driver determines that the proper permissions exist for the user, permission is granted and the file system driver allows access. Otherwise, the NTFS driver will deny access and return an error to the calling application.
This is actually exciting news because you could write a Perl script that implements security much as NTFS does. Imagine you write an application that is only allowed to be run by select users. The script could store its ...
Get Win32 Perl Programming: The Standard Extensions, Second Edition 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.