Wiki articles tagged with "authentication"

Showing 1-20 of 25 items.

Adding login form to each page

Created 14 years ago by pestaa, updated 11 years ago by Yang He.

After adding proper form to the main layout, like:

3 1
7 followers
Viewed: 49 363 times
Version: 1.1
Category: Tutorials

HOW TO: Use token based authentication

Created 10 years ago by le_top, updated 9 years ago by CeBe.

After reading the other wiki article regarding token based access, I thought that it might be interesting to share my method.

2 0
10 followers
Viewed: 43 931 times
Version: 1.1
Category: How-tos

Make the authentication more securely

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

Yet another implementation of CPhpAuthManager.

Created 10 years ago by seenivasan, updated 10 years ago by seenivasan.

In this wiki, I try to implement a simple authorization schema without putting much logic inside a file or into database table. We are constructing authorization hierarchy inside the controller. We are getting roles for the current user from database table and assigning only roles to user that are declared in the particular controller. We have brought down the work of loading of auth data at ma...

5 1
7 followers
Viewed: 19 112 times
Version: 1.1
Category: How-tos

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

Created 14 years ago by lucifurious, updated 13 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: 36 790 times
Version: 1.1
Category: Tutorials

Using multiple models in an identity

Created 5 years ago by samdark, updated 2 years ago by Néstor Acevedo.

Let's assume we have two models: Customer and Supplier and we want both to log in. Yii is quite flexible when it comes to authentication and authorization so it's possible.

8 2
4 followers
Viewed: 35 379 times
Version: 2.0
Category: How-tos

Yii User and Rights Implementation

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

implementing some features of yii user and rights.

4 0
8 followers
Viewed: 41 733 times
Version: 1.1
Category: How-tos

How-To: Create Token Authenticated Web Services

Created 10 years ago by hemc, updated 9 years ago by CeBe.

This article is about implementing authentication to Yii based web services.

4 0
15 followers
Viewed: 37 766 times
Version: 1.1
Category: How-tos

Show captcha after <N> unsuccessfull attempts

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

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).

13 4
15 followers
Viewed: 34 477 times
Version: 1.1
Category: How-tos

How to login from different tables in Yii2

Created 5 years ago by AndroideLP, updated 3 years ago by lenovo.

The Problem: Yii2 utilizes by default UserIdentity configured in config/web.php for connection, this object apply one table to authentication ('identityClass' => 'app\panel\models\User'). How to authentication from diferent tables? Solution: Create instances in web.php to uses UserIdentify. eg:

5 0
6 followers
Viewed: 61 429 times
Version: 2.0
Category: How-tos

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

Created 14 years ago by thyseus, updated 13 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: 95 103 times
Version: 1.1
Category: Tutorials

Installing Yii Users and Rights to Newly Created Yii app

Created 11 years ago by Rajith R, updated 10 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: 107 762 times
Version: 1.1
Category: Tutorials

How to setup RBAC with a php file

Created 14 years ago by bettor, updated 11 years ago by Stageline.

In this cookbook I will attempt to explain how to use the lightweight version of Role-Based Access Control using a php file. This version does not use database but a php file and is controlled by CPhpAuthManager class.

24 4
21 followers
Viewed: 111 012 times
Version: 1.1
Category: How-tos

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

Created 13 years ago by Juan Calvo, updated 13 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: 73 301 times
Version: 1.1
Category: Tutorials

Integrating HybridAuth directly into Yii without an extension

Created 11 years ago by biz dev, updated 10 years ago by biz dev.

This article tries to explain the steps required in integrating the HybridAuth into Yii directly, without using an extension.

10 0
15 followers
Viewed: 51 089 times
Version: 1.1
Category: How-tos

How to use ldap in UserIdentity for authentication

Created 14 years ago by BeerSerc, updated 10 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: 90 050 times
Version: 1.1
Category: Tutorials

JWT authentication tutorial

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

13 0
8 followers
Viewed: 148 111 times
Version: 2.0
Category: Tutorials

Module based login

Created 13 years ago by suriyansuresh, updated 13 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: 89 387 times
Version: 1.1
Category: Tutorials

Kickstart development with Yii-App

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

I recently created a project called Yii-App on GitHub to kickstart my development of smaller Yii applications. The main goal of the project is to provide a ready-to-use application template that includes my bootstrap extension and many other useful extensions. After reading this article you will be able to use...

14 0
40 followers
Viewed: 40 813 times
Version: 1.1
Category: How-tos

Use crypt() for password storage

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