Wiki

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

Enhance security of cookie-based login

Created about a month ago by darkheirHow-tos0 comments – viewed 2,523 times – ( +1 ) – version 1.1
Enhance security of cookie-based login

Make the authentication more securely

Created 3 months ago by KonApazTutorials0 comments – viewed 1,870 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 3 months ago by Kartik VTips0 comments – viewed 1,954 times – ( +29 ) – 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 8 months ago by sefburhanTutorials2 comments – viewed 15,283 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 8 months ago by jasonbanTutorials3 comments – viewed 3,598 times – ( +1 / -2 ) – 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 12,695 times – ( +5 ) – 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 56,697 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 6,189 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 12,403 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 13,886 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).