Wiki articles in category Tutorials tagged with "security"

Showing 1-9 of 9 items.

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

Created 10 years ago by Rodrigo Coelho, updated 10 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: 11 654 times
Version: 1.1
Category: Tutorials

Make the authentication more securely

Created 7 years ago by Kostas Apazidis (KonApaz), updated 7 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: 12 045 times
Version: 1.1
Category: Tutorials

default csrf security and ajax post in one controller

Created 7 years ago by jasonban, updated 7 years ago by CeBe.

Hello Yii friends

0 3
8 followers
Viewed: 23 724 times
Version: 1.1
Category: Tutorials

Extension Development (beginner)

Created 7 years ago by sefburhan, updated 7 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? -...

Logout CSRF Protection

Created 10 years ago by Rodrigo Coelho, updated 10 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: 24 981 times
Version: 1.1
Category: Tutorials

Force a User to Change Their Password (ChangePasswordFilter)

Created 9 years ago by waterloomatt, updated 9 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: 25 273 times
Version: 1.1
Category: Tutorials

Secure password hash storage and a Yii helper extension

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

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

13 0
13 followers
Viewed: 35 503 times
Version: 1.1
Category: Tutorials

Getting to Understand Hierarchical RBAC Scheme

Created 10 years ago by daemons, updated 6 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
57 followers
Viewed: 117 112 times
Version: 1.1
Category: Tutorials

Use crypt() for password storage

Created 8 years ago by fsb, updated 6 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: 126 338 times
Version: 1.1
Category: Tutorials