Articles tagged with "security"X
Displaying 11-20 of 26 result(s).


Created 3 years ago by zeroByteHow-tos0 comments – viewed 15,887 times – version 1.1
This HowTo assumes that you have a smattering of ACL in general and of how the acl-extension works basically. It will introduce you into the abstract and give you a hint on how to use Business-Rules. If you have in-depth questions, please refer to the extension documentation. Using ACL in an RBAC-manner cannot and should never obscure the fact that the underlying system is still ACL-based. In fact, the Business-Rules are just another layer in the permission-check plan.

Show captcha after <N> unsuccessfull attempts

Created 3 years ago by zitterHow-tos7 comments – viewed 17,863 times – ( +15 / -4 ) – version 1.1
In this mini howto I would like to show how to add a required captcha field in the login form, after a defined number of unsuccessfull attempts. To do this, I will use the blog demo that you have in default Yii download package (path/to/yii/demos/blog).

Secure password hashing with bCrypt

Created 3 years ago by waitforitHow-tos3 comments – viewed 21,386 times – ( +9 ) – version 1.1
In this article I will show you how to implement a secure password hashing mechanism in your Yii projects using a bCrypt class.

Secure password hash storage and a Yii helper extension

Created 3 years ago by fsbTutorials5 comments – viewed 29,371 times – ( +15 ) – version 1.1

Simple authorization system

Created 4 years ago by GustavoHow-tos1 comment – viewed 27,346 times – ( +16 ) – version 1.1
How to create a simple (non-RBAC) authorization system

How to write secure Yii applications

Created 4 years ago by François GannazHow-tos20 comments – viewed 201,595 times – ( +107 ) – version 1.1
warning: While this security guide tries to be quite complete, is not exhaustive. If security matters for you, you ought to check several other references.

Yii Security-extended guide

Created 4 years ago by bingjie2680Tips11 comments – viewed 17,449 times – ( +6 / -6 ) – version 1.1
This article is called extended guide is because there is already a security guide in the Yii tutorial security section. but that guide is not complete in the sense that it does not rise the developers' attention to some other commonly happening attacks: SQL injection and magic URL, which can be major vulnerabilities in your application without much caring.

Authenticating against phpass hashes with Yii

Created 4 years ago by Da:SourcererHow-tos18 comments – viewed 25,514 times – ( +26 ) – version 1.1
Note: This guide is outdated as of Yii v1.1.14 which introduced the CPasswordHelper class. Please use that instead.

Force a User to Change Their Password (ChangePasswordFilter)

Created 4 years ago by waterloomattTutorials2 comments – viewed 16,355 times – ( +16 / -2 ) – version 1.1
Sometimes you need to force a user to change their password after x number of days. This article describes how to implement this using a filter, ChangePasswordFilter.

[PT-BR] Proteção Contra Logout CSRF

Created 4 years ago by Rodrigo CoelhoTutorials0 comments – viewed 7,335 times – ( +2 / -1 ) – version 1.1
CSRF é o acrônimo para Cross-site request forgery. CSRF é um ataque que forca o usuário a executar ações não desejadas numa aplicação Web na qual ele está autenticado.