summaryrefslogtreecommitdiff
path: root/security/ruby-acl/pkg/DESCR
blob: ceed35acda168ac237f277a3774ab76871f0e5c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>