Wiki articles in category Tutorials tagged with "authentication"

Showing 1-13 of 13 items.

JWT authentication tutorial

Created 11 months ago by Allan Jensen, updated 7 months ago by Allan Jensen.

JWT is short for JSON Web Token. It is used eg. instead of sessions to maintain a login in a browser that is talking to an API - since browser sessions are vulnerable to CSRF security issues. JWT is also less complicated than setting up an OAuth authentication mechanism.

9 0
5 followers
Viewed: 24 612 times
Version: 2.0
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: 13 034 times
Version: 1.1
Category: Tutorials

Use crypt() for password storage

Created 9 years ago by fsb, updated 7 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: 130 102 times
Version: 1.1
Category: Tutorials

Installing Yii Users and Rights to Newly Created Yii app

Created 9 years ago by Rajith R, updated 8 years ago by Rajith R.

After creating an yii app . we need to implement permission, Authentication and Authorization .so the best way is to use the Yii users and Rights modules.

11 1
40 followers
Viewed: 103 907 times
Version: 1.1
Category: Tutorials

Simple RBAC

Created 10 years ago by hasanavi, updated 9 years ago by Stageline.

If you need simple Role based access control without the long RBAC process then this article is just for you. Lets jump to the point.

33 1
43 followers
Viewed: 112 464 times
Version: 1.1
Category: Tutorials

Implementing a User Level Access System

Created 11 years ago by Antonio Ramirez, updated 8 years ago by Phil Loaiza.

Please note that this article is a simple example and good security should be taken into account when we play with authentication systems.

27 0
37 followers
Viewed: 66 606 times
Version: 1.1
Category: Tutorials

Introducción al control de acceso basado en roles (RBAC)

Created 11 years ago by Juan Calvo, updated 11 years ago by Juan Calvo.

Todos los que hemos empezado a utilizar Yii para crear aplicaciones Web, nos hemos dado de bruces cuando hemos intentado poner a funcionar el RBAC (acceso de control basado en roles).

15 1
9 followers
Viewed: 69 646 times
Version: 1.1
Category: Tutorials

Module based login

Created 11 years ago by suriyansuresh, updated 11 years ago by suriyansuresh.

If you want to add module based login to a site without using RBAC, please follow these guidelines.

13 0
18 followers
Viewed: 76 680 times
Version: 1.1
Category: Tutorials

Installing and configuring the Yii User Management Module under a fresh skeleton application generated by yiic

Created 12 years ago by thyseus, updated 11 years ago by Orteko.

p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.

12 2
15 followers
Viewed: 91 799 times
Version: 1.1
Category: Tutorials

How to use ldap in UserIdentity for authentication

Created 12 years ago by BeerSerc, updated 8 years ago by Navarr.

Yii does not have an LDAP class itself, but its very easy to implement LDAP in the stock UserIdentity class.

11 0
18 followers
Viewed: 69 295 times
Version: 1.1
Category: Tutorials

Adding login form to each page

Created 12 years ago by pestaa, updated 9 years ago by Yang He.

After adding proper form to the main layout, like:

3 1
7 followers
Viewed: 46 181 times
Version: 1.1
Category: Tutorials

How to use markItUp! on a text field for full WYSIWYG editing

Created 12 years ago by lucifurious, updated 11 years ago by wei.

This tutorial will show you how to use the Pogostick Yii Extension Library to make an HTML TEXTAREA input element into a full-fledged WYSIWYG editor pretty much with very little code.

3 0
3 followers
Viewed: 34 080 times
Version: 1.1
Category: Tutorials

How to add more information to Yii::app()->user

Created 13 years ago by qiang, updated 9 years ago by Yang He.

By default, the expression Yii::app()->user returns a [CWebUser] [application component](http://www.yiiframework.com/doc/guide/basics.application#application-component) which represents the information that are closely related with the current user. Some information can be persistent throughout the current user session. For example, [CWebUser] already comes with a [name|CWebUser::name] property th...

21 0
28 followers
Viewed: 213 886 times
Version: 1.1
Category: Tutorials