The Win32Utils Team is happy to announce the first release of the
Haha, yes, I know, Windows “Security”. Get it out of your system now.
= What is it?
A library that encapsulates various aspects of Windows security. For now
includes a class that encapsulates SID’s. Future releases will include
that encapsulate ACL’s, ACE’s, Tokens, etc.
(There’s some partially complete work for other classes in CVS if you’re
= Quick example
sid = Security::SID.open(‘djberge’)
sid.valid? # => true
sid.to_s # => “S-1-5-21-3733855671-1102023144-2002619019-1000”
sid.length # => 28
sid.sid # => “\001\005\000\000\000\000\000\005\025\000\000\000…”
= How do I get it?
gem install win32-security
Or, download the .zip file and install manually
The Win32Utils Team