RAA - ruby-dazuko

ruby-dazuko / 0.1.0

Short description: Allow or deny access to files, or monitor changes
Category: Library/System
Status: alpha
Created: 2005-03-27 08:59:03 GMT
Last update: 2005-03-27 08:59:03 GMT
Owner: Aredridel (Projects of this owner)
Homepage: http://theinternetco.net/projects/ruby/ruby-dazuko
Download: http://theinternetco.net/projects/ruby/ruby-dazuko-0.1.0.tar.gz
License: Ruby's
Dependency:
None
Description:
   Dazuko.register("MyApp", "r+") do |session|
      session.include("/directory")
      session.access_mask = Dazuko::ON_OPEN
      session.run do |event|
         if event.filename =~ /bad/ then false else true end
      end
   end

All attempts to open files in /directory that contain "bad" in their filename will be denied.

Edit this project (for project owner)

back to RAA top