Wiki articles in category Tutorials tagged with "security"

Showing 1-9 of 9 items.

Make the authentication more securely

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

Extension Development (beginner)

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

Hello Yii friends

0 3
8 followers
Viewed: 30 096 times
Version: 1.1
Category: Tutorials

Use crypt() for password storage

Created 13 years ago by fsb fsb, updated 11 years ago by fsb 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: 184 538 times
Version: 1.1
Category: Tutorials

Secure password hash storage and a Yii helper extension

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

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

13 0
13 followers
Viewed: 78 880 times
Version: 1.1
Category: Tutorials

Force a User to Change Their Password (ChangePasswordFilter)

Created 14 years ago by waterloomatt waterloomatt, updated 14 years ago by waterloomatt 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: 31 981 times
Version: 1.1
Category: Tutorials

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

Created 14 years ago by Rodrigo Coelho Rodrigo Coelho, updated 14 years ago by Rodrigo Coelho 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: 15 457 times
Version: 1.1
Category: Tutorials

Logout CSRF Protection

Created 14 years ago by Rodrigo Coelho Rodrigo Coelho, updated 14 years ago by Rodrigo Coelho 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: 32 627 times
Version: 1.1
Category: Tutorials

Getting to Understand Hierarchical RBAC Scheme

Created 14 years ago by daemons daemons, updated 11 years ago by rAWTAZ 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: 132 541 times
Version: 1.1
Category: Tutorials