Access control implementation.