ACL alternatives and similar packages
Based on the "Security" category.
Alternatively, view ACL alternatives based on common mentions on social networks and blogs.
-
Lean and Mean Docker containers
DockerSlim (docker-slim): Optimize and secure your Docker containers -
Cameradar
Tool and library to remotely hack RTSP streams from surveillance cameras. -
memguard
Secure software enclave for storage of sensitive information in memory. -
Themis by Cossack Labs
Crypto library for storage and messaging for Swift, ObjC, Android, С++, JS, Python, Ruby, PHP, Go -
acra
Network encryption proxy to protect database-based applications from data leaks: strong selective encryption, SQL injections prevention, intrusion detection system. -
ToRat
ToRat is a Remote Administation tool written in Go using Tor as a transport mechanism and RPC for communication -
go-yara
Go Bindings for YARA, the "pattern matching swiss knife for malware researchers (and everyone else)" -
firewalld-rest
A rest application to dynamically update firewalld rules on a linux server. -
BadActor
An in-memory, application-driven jailer built in the spirit of fail2ban -
go-password-validator
Password validator based on raw cryptographic entropy values. -
simple-scrypt
an scrypt package with a simple, obvious API and automatic cost calibration built-in. -
argon2pw
Argon2 password hash generation with constant-time password comparison. -
goSecretBoxPassword
A probably paranoid package for securely hashing and encrypting passwords. -
Credman
A simple, powerful, cross-platform and military grade secure credential management. -
goArgonPass
Argon2 password hash and verification designed to be compatible with existing Python and PHP implementations. -
go-generate-password
Password generator that can be used on the cli or as a library. -
secureio
An keyexchanging+authenticating+encrypting wrapper and multiplexer for io.ReadWriteCloser based on XChaCha20-poly1305, ECDH and ED25519. -
sslmgr
SSL certificates made easy with a high level wrapper around acme/autocert. -
argon2-hashing
light wrapper around Go's argon2 package that closely mirrors with Go's standard library Bcrypt and simple-scrypt package. -
Go random string generator
Flexible and customizable random string generator
Scout APM - Leading-edge performance monitoring starting at $39/month
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of ACL or a related project?
Popular Comparisons
README
ACL - Access Control List
ACL is a simple but powerful Access Control List manager
Installation
go get -u github.com/txgruppi/acl-go
Example
You should not ignore the errors returned by the methods
package main
import (
"fmt"
"github.com/txgruppi/acl-go"
"github.com/txgruppi/acl-go/driver/memory"
)
func main() {
driver := memory.NewDriver()
// Driver can be directly used as ACL managers
var manager acl.ACL = driver
// Set the default policy as Deny
acl.SetDefaultPolicy(acl.Deny)
// Get some users
userCEO, _ := acl.GetActor("userCEO_UUID")
userDeveloper, _ := acl.GetActor("userDeveloper_UUID")
// Get some actions
accessBackAccount, _ := acl.GetAction("accessBackAccount")
accessProductionServer, _ := acl.GetAction("accessProductionServer")
// Set rules
acl.Set(userCEO, accessBackAccount, acl.Allow)
acl.Set(userDeveloper, accessProductionServer, acl.Allow)
// Check using the ACL manager
allowed, _ := acl.IsAllowed(userCEO, accessBackAccount)
fmt.Println(allowed) // true
allowed, _ = acl.IsAllowed(userDeveloper, accessBackAccount)
fmt.Println(allowed) // false
// Check using the Actor or Action struct
allowed, _ := userCEO.IsAllowed(accessProductionServer)
fmt.Println(allowed) // false
allowed, _ = accessProductionServer.Allows(userDeveloper)
fmt.Println(allowed) // true
}
Tests
go get -u -t github.com/txgruppi/acl-go
cd $GOPATH/src/github.com/txgruppi/acl-go
go test ./...
License
MIT
*Note that all licence references and agreements mentioned in the ACL README section above
are relevant to that project's source code only.