Wiki articles in category Tutorials tagged with "authentication"

Showing 1-13 of 13 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 799 times
Version: 1.1
Category: Tutorials

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

Created 16 years ago by qiang qiang, updated 13 years ago by Yang He 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: 234 075 times
Version: 1.1
Category: Tutorials

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

Created 16 years ago by lucifurious lucifurious, updated 15 years ago by wei 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: 41 204 times
Version: 1.1
Category: Tutorials

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

Created 15 years ago by Juan Calvo Juan Calvo, updated 15 years ago by Juan Calvo 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: 78 543 times
Version: 1.1
Category: Tutorials

Adding login form to each page

Created 16 years ago by pestaa pestaa, updated 13 years ago by Yang He Yang He.

After adding proper form to the main layout, like:

3 1
7 followers
Viewed: 53 670 times
Version: 1.1
Category: Tutorials

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

Created 15 years ago by thyseus thyseus, updated 15 years ago by Orteko 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: 100 485 times
Version: 1.1
Category: Tutorials

Module based login

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

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

13 0
18 followers
Viewed: 95 088 times
Version: 1.1
Category: Tutorials

JWT authentication tutorial

Created 4 years ago by Allan Jensen Allan Jensen, updated 4 years ago by Allan Jensen 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.

14 0
8 followers
Viewed: 179 252 times
Version: 2.0
Category: Tutorials

Implementing a User Level Access System

Created 14 years ago by Antonio Ramirez Antonio Ramirez, updated 11 years ago by Phil Loaiza 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: 75 500 times
Version: 1.1
Category: Tutorials

How to use ldap in UserIdentity for authentication

Created 15 years ago by BeerSerc BeerSerc, updated 12 years ago by Navarr 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: 101 905 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 610 times
Version: 1.1
Category: Tutorials

Simple RBAC

Created 13 years ago by hasanavi hasanavi, updated 13 years ago by Stageline 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: 127 105 times
Version: 1.1
Category: Tutorials

Installing Yii Users and Rights to Newly Created Yii app

Created 13 years ago by Rajith R Rajith R, updated 11 years ago by Rajith R 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: 112 376 times
Version: 1.1
Category: Tutorials