summaryrefslogtreecommitdiff
path: root/security/ruby-acl/DESCR
diff options
context:
space:
mode:
Diffstat (limited to 'security/ruby-acl/DESCR')
-rw-r--r--security/ruby-acl/DESCR16
1 files changed, 16 insertions, 0 deletions
diff --git a/security/ruby-acl/DESCR b/security/ruby-acl/DESCR
new file mode 100644
index 00000000000..ceed35acda1
--- /dev/null
+++ b/security/ruby-acl/DESCR
@@ -0,0 +1,16 @@
+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>