Wiki

Articles tagged with "security"X
Displaying 1-10 of 18 result(s).

Use crypt() for password storage

Created 5 months ago by fsbTutorials11 comments – viewed 15,501 times – ( +16 )
There Is Now A cpasswordhelper Class In system.utils at GitHub that provides an API to simplify the use of crypt() for password storage. While this wiki article remains valid, it will in due course be rewritten to refer to the new class as well as explain how it works.

Using phpseclib with Yii

Created 7 months ago by nkdHow-tos6 comments – viewed 3,368 times – ( +2 )
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

ACL and RBAC

Created 10 months ago by zeroByteHow-tos0 comments – viewed 6,899 times
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 11 months ago by zitterHow-tos6 comments – viewed 7,551 times – ( +14 / -3 )
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 about a year ago by waitforitHow-tos3 comments – viewed 11,131 times – ( +6 )
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 about a year ago by fsbTutorials5 comments – viewed 16,980 times – ( +14 )
This article was rewritten as the README of the Randomness GitHub repo

Simple authorization system

Created about a year ago by GustavoHow-tos1 comment – viewed 15,353 times – ( +16 )
How to create a simple (non-RBAC) authorization system

How to write secure Yii applications

Created about a year ago by François GannazHow-tos11 comments – viewed 69,542 times – ( +78 )
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 about a year ago by bingjie2680Tips11 comments – viewed 9,841 times – ( +6 / -6 )
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 about a year ago by Da:SourcererHow-tos18 comments – viewed 15,777 times – ( +25 )
The Portable PHP password hashing framework allows advanced password hashing offering increased security over simple MD5- or SHA1-hashed passwords. phpass is already in use in some larger projects such as WordPress (since v2.5), Drupal 7 and phpBB 3.