Wiki articles in category Tutorials tagged with "security"

Showing 1-9 of 9 items.

Getting to Understand Hierarchical RBAC Scheme

Created 13 years ago by daemons, updated 9 years ago by rAWTAZ.

Authentication and Authorization is a good tutorial. Among other topics, it describes basic aspects of Yii's RBAC implementation. But however hard I read the tutorial, I couldn't understand how exactly the hierarchy works. I found how to define authorization hierarchy, how business rules are evaluated, how to configure a...

47 0
56 followers
Viewed: 125 456 times
Version: 1.1
Category: Tutorials

Logout CSRF Protection

Created 12 years ago by Rodrigo Coelho, updated 12 years ago by Rodrigo Coelho.

CSRF is the acronymn for Cross-site request forgery.
It is an attack which forces an end user to execute unwanted actions on a web application in which he/she is currently authenticated.

10 0
11 followers
Viewed: 29 492 times
Version: 1.1
Category: Tutorials

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

Created 12 years ago by Rodrigo Coelho, updated 12 years ago by Rodrigo Coelho.

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.

2 1
3 followers
Viewed: 13 590 times
Version: 1.1
Category: Tutorials

Force a User to Change Their Password (ChangePasswordFilter)

Created 12 years ago by waterloomatt, updated 12 years ago by waterloomatt.

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.

14 0
10 followers
Viewed: 29 521 times
Version: 1.1
Category: Tutorials

Secure password hash storage and a Yii helper extension

Created 12 years ago by fsb, updated 10 years ago by fsb.

This wiki has been replaced by Use crypt() for password storage.

13 0
13 followers
Viewed: 38 596 times
Version: 1.1
Category: Tutorials

Use crypt() for password storage

Created 11 years ago by fsb, updated 9 years ago by fsb.

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.

15 0
20 followers
Viewed: 176 852 times
Version: 1.1
Category: Tutorials

default csrf security and ajax post in one controller

Created 10 years ago by jasonban, updated 9 years ago by CeBe.

Hello Yii friends

0 3
8 followers
Viewed: 27 225 times
Version: 1.1
Category: Tutorials

Extension Development (beginner)

Created 10 years ago by sefburhan, updated 9 years ago by CeBe.

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.

Step 01: Have a Strategy

  • Is my extension just for fun/demonstration purposes or for everyday use in the real world? -...

Make the authentication more securely

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Kostas Apazidis (KonApaz).

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

2 0
3 followers
Viewed: 15 396 times
Version: 1.1
Category: Tutorials