Articles tagged with "security", sorted by date (updated)X
Displaying 11-20 of 26 result(s).

Extension Development (beginner)

Updated about a year ago by CeBeTutorials2 comments – viewed 17,613 times – ( +34 ) – version 1.1
To extend the functionality of you web application relative to your requirements you are supposed to use existing yii core libraries or use external libraries. There are some steps to ensure security, uniqueness, modularity, performance and to avoid rework in future.

Configuring controller access rules to default-deny

Updated about a year ago by nsandenHow-tos3 comments – viewed 70,374 times – ( +12 ) – version 1.1
Starting with the blog tutorial, Yii developers are familiar with the notion of access rules defined in the controller, where the actions are allowed or denied depending on the user's name or role.

How to write secure Yii applications

Updated about a year ago by Fran├žois GannazHow-tos20 comments – viewed 197,879 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.

Secure password hash storage and a Yii helper extension

Updated about a year ago by fsbTutorials5 comments – viewed 29,194 times – ( +15 ) – version 1.1

Simple authorization system

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

Secure password hashing with bCrypt

Updated 2 years ago by Ivo PereiraHow-tos3 comments – viewed 21,099 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.

Using phpseclib with Yii

Updated 3 years ago by nkdHow-tos8 comments – viewed 8,071 times – ( +2 ) – version 1.1
I installed phpseclib because I needed to do some AES encryption in my project. After all the hassle of installing php lib, I found out that Yii already has a security module (securityManager). I finally decided to keep using phpseclib because it has one big advantage over Yii securityManager module, it does not requite mcrypt to be installed in the phpserver!
tags: security


Updated 3 years ago by kevinkorbHow-tos0 comments – viewed 15,613 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

Updated 3 years ago by zitterHow-tos7 comments – viewed 17,470 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).

Yii Security-extended guide

Updated 3 years ago by bingjie2680Tips11 comments – viewed 17,236 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.