A
Aredridel
I'd like to announce ruby-dazuko 0.1.0.
Dazuko is a kernel module for FreeBSD and Linux letting an userspace
program monitor accesses to files and optionally deny access, for
implementing on-access virus scanning and other tasks. You can read more
at http://www.dazuko.org/
ruby-dazuko is a binding to the library that comes with Dazuko. A piece
of code like
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
will deny all attempts to open files in /directory that contain "bad"
in their filename.
You can download the extension at
http://theinternetco.net/projects/ruby/dazuko-ruby
Have fun!
Ari
Dazuko is a kernel module for FreeBSD and Linux letting an userspace
program monitor accesses to files and optionally deny access, for
implementing on-access virus scanning and other tasks. You can read more
at http://www.dazuko.org/
ruby-dazuko is a binding to the library that comes with Dazuko. A piece
of code like
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
will deny all attempts to open files in /directory that contain "bad"
in their filename.
You can download the extension at
http://theinternetco.net/projects/ruby/dazuko-ruby
Have fun!
Ari