[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] win32-security 0.1.0

Daniel Berger

12/18/2008 4:51:00 AM

Hi everyone,

The Win32Utils Team is happy to announce the first release of the win32-security
library.

Haha, yes, I know, Windows "Security". Get it out of your system now. Done? Ok.

= What is it?
A library that encapsulates various aspects of Windows security. For now it only
includes a class that encapsulates SID's. Future releases will include classes
that encapsulate ACL's, ACE's, Tokens, etc.

(There's some partially complete work for other classes in CVS if you're interested)

= Quick example
require 'win32/security'
include Win32

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

= Where is it?
On our project page of course, at http://www.rubyforge.org/projects/....
It's also listed on the RAA at http://raa.ruby-lang.org/project/win3....

= How do I get it?
gem install win32-security

Or, download the .zip file and install manually

Enjoy!

The Win32Utils Team