Wiki articles in category Tutorials tagged with "security"

Showing 1-9 of 9 items.

Make the authentication more securely

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

Extension Development (beginner)

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

default csrf security and ajax post in one controller

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

Hello Yii friends

0 3
8 followers
Viewed: 20 075 times
Version: 1.1
Category: Tutorials

Use crypt() for password storage

Created 6 years ago by fsb, updated 4 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
21 followers
Viewed: 112 867 times
Version: 1.1
Category: Tutorials

Secure password hash storage and a Yii helper extension

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

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

13 0
13 followers
Viewed: 33 849 times
Version: 1.1
Category: Tutorials

Force a User to Change Their Password (ChangePasswordFilter)

Created 8 years ago by waterloomatt, updated 7 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: 22 619 times
Version: 1.1
Category: Tutorials

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

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

Logout CSRF Protection

Created 8 years ago by Rodrigo Coelho, updated 8 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: 22 671 times
Version: 1.1
Category: Tutorials

Getting to Understand Hierarchical RBAC Scheme

Created 8 years ago by daemons, updated 5 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
58 followers
Viewed: 111 267 times
Version: 1.1
Category: Tutorials