aboutsummaryrefslogtreecommitdiffstats
path: root/security/ruby-acl/pkg-descr
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-09-07 23:38:41 +0800
committerknu <knu@FreeBSD.org>2000-09-07 23:38:41 +0800
commit74534d3342d8d57ef8eb73c9933845a22537a803 (patch)
tree36da235cefb44f0f805089c203959ca9462b899c /security/ruby-acl/pkg-descr
parent831e5730c8b6e4d84065c5ce763820b95a962cbb (diff)
downloadfreebsd-ports-gnome-74534d3342d8d57ef8eb73c9933845a22537a803.tar.gz
freebsd-ports-gnome-74534d3342d8d57ef8eb73c9933845a22537a803.tar.zst
freebsd-ports-gnome-74534d3342d8d57ef8eb73c9933845a22537a803.zip
Add ruby-acl, Ruby module to provide Access Control List checks.
Diffstat (limited to 'security/ruby-acl/pkg-descr')
-rw-r--r--security/ruby-acl/pkg-descr17
1 files changed, 17 insertions, 0 deletions
diff --git a/security/ruby-acl/pkg-descr b/security/ruby-acl/pkg-descr
new file mode 100644
index 000000000000..7079590cc284
--- /dev/null
+++ b/security/ruby-acl/pkg-descr
@@ -0,0 +1,17 @@
+Ruby-acl provides Access Control List checks.
+
+ list = %w(
+ deny all
+ allow 192.168.1.*
+ allow 127.0.0.1
+ )
+ acl = ACL.new(list, ACL::DENY_ALLOW)
+ ...
+ ns = soc.accept
+ unless acl.allow_socket?(ns)
+ # forbidden
+ end
+
+
+Author: Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=acl