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

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 ...

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