Nette Documentation Preview

syntax
Nette Security
**************

.[perex]
The `nette/security` package takes care of your application's security where it matters most: user accounts. It handles logging users in, verifying their permissions, and storing passwords safely. Here's what you'll find:

| [Authentication |authentication] | logging users in and managing identity
| [Authorization |authorization] | who may do what, from roles to particular objects
| [ACL |acl] | access rules by roles and parts of the site
| [Password Hashing |passwords] | storing passwords securely as hashes
| [Configuration] | configuration options of the package


Installation
------------

Download and install the package using [Composer|best-practices:composer]:

```shell
composer require nette/security
```

{{maintitle: Nette Security: Login, Permissions and Password Hashing}}
{{description: User accounts done safely in PHP: log users in and out, check their permissions with voters or an ACL, and store their passwords as secure hashes.}}

Nette Security

The nette/security package takes care of your application's security where it matters most: user accounts. It handles logging users in, verifying their permissions, and storing passwords safely. Here's what you'llĀ find:

Authentication logging users in and managing identity
Authorization who may do what, from roles to particular objects
ACL access rules by roles and parts of the site
Password Hashing storing passwords securely as hashes
Configuration configuration options of the package

Installation

Download and install the package using Composer:

composer require nette/security