Wiki

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

Make the authentication more securely

Created 23 days ago by KonApazTutorials0 comments – viewed 1,241 times – ( +1 ) – version 1.1
Suppose a hacker has an account of your website He could set the PHPSESSID to empty After of that He login in your system The PHPSESSID remains blank and user has already logged with this session

Key web server settings after installing a fresh Yii 2 basic or advanced app

Created about a month ago by Kartik VTips0 comments – viewed 1,151 times – ( +25 ) – version 2.0
So, you have installed a brand new Yii 2 app (basic) or (advanced). Here are a few tips for Apache web server users to get things running more secure and better with your yii2 app.

Extension Development (beginner)

Created 5 months ago by sefburhanTutorials2 comments – viewed 14,596 times – ( +33 ) – 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.

default csrf security and ajax post in one controller

Created 5 months ago by jasonbanTutorials2 comments – viewed 2,694 times – ( +1 / -1 ) – version 1.1
Hello Yii friends

Checking for "expired" sessions/logins on the client side

Created about a year ago by le_topHow-tos0 comments – viewed 11,474 times – ( +4 ) – version 1.1
Getting "Expired token" errors ? Here is a solution to avoid invalid CSRF on POST or ajax requests, or user identity changes.

Use crypt() for password storage

Created about a year ago by fsbTutorials16 comments – viewed 51,432 times – ( +24 ) – version 1.1
Update: This wiki has been rewritten to be in line with Yii 1.1.14. Since many of the detailed complexities are now handled by Yii, the article focuses on how the crypt() built-in function works and why it's important to use it correctly.

Using phpseclib with Yii

Created about a year ago by nkdHow-tos8 comments – viewed 5,912 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

ACL and RBAC

Created 2 years ago by zeroByteHow-tos0 comments – viewed 11,663 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 2 years ago by zitterHow-tos7 comments – viewed 12,983 times – ( +14 / -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 2 years ago by waitforitHow-tos3 comments – viewed 17,299 times – ( +8 ) – 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.