Wiki

Articles tagged with "security", sorted by ratingX
Displaying 11-20 of 24 result(s).

Logout CSRF Protection

Created 3 years ago by Rodrigo CoelhoTutorials1 comment – viewed 13,158 times – ( +10 ) – version 1.1
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.

Secure password hashing with bCrypt

Created 2 years ago by waitforitHow-tos3 comments – viewed 17,792 times – ( +9 ) – version 1.1
In this article I will show you how to implement a secure password hashing mechanism in your Yii projects using a bCrypt class.

More security in your applications with Yii and PHPIDS

Created 3 years ago by Rafael GarciaHow-tos1 comment – viewed 11,253 times – ( +8 ) – version 1.1
PHPIDS is a well known project that can be found in php-ids.org.
tags: phpids, security

Force a User to Change Their Password (ChangePasswordFilter)

Created 2 years ago by waterloomattTutorials2 comments – viewed 13,992 times – ( +16 / -2 ) – version 1.1
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.

Checking for "expired" sessions/logins on the client side

Created about a year ago by le_topHow-tos0 comments – viewed 12,196 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.

Show captcha after <N> unsuccessfull attempts

Created 2 years ago by zitterHow-tos7 comments – viewed 13,542 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).

Using phpseclib with Yii

Created about a year ago by nkdHow-tos8 comments – viewed 6,071 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

Yii Security-extended guide

Created 2 years ago by bingjie2680Tips11 comments – viewed 14,458 times – ( +6 / -6 ) – version 1.1
This article is called extended guide is because there is already a security guide in the Yii tutorial security section. but that guide is not complete in the sense that it does not rise the developers' attention to some other commonly happening attacks: SQL injection and magic URL, which can be major vulnerabilities in your application without much caring.

Mais segurança em suas aplicações com Yii e PHPIDS

Created 3 years ago by Rafael GarciaHow-tos0 comments – viewed 6,536 times – ( +2 / -1 ) – version 1.1
PHPIDS é conhecido projeto que pode ser visto em php-ids.org.
tags: phpids, security

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

Created 3 years ago by Rodrigo CoelhoTutorials0 comments – viewed 6,011 times – ( +2 / -1 ) – version 1.1
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.