Wiki articles tagged with "authentication"

Showing 1-20 of 22 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: 16 967 times
Version: 1.1
Category: Tutorials

HOW TO: Use token based authentication

Created 11 years ago by le_top le_top, updated 11 years ago by CeBe 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: 46 438 times
Version: 1.1
Category: How-tos

How-To: Create Token Authenticated Web Services

Created 11 years ago by hemc hemc, updated 11 years ago by CeBe CeBe.

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

4 0
15 followers
Viewed: 39 450 times
Version: 1.1
Category: How-tos

Yii User and Rights Implementation

Created 12 years ago by Rajith R Rajith R, updated 11 years ago by Rajith R Rajith R.

implementing some features of yii user and rights.

4 0
8 followers
Viewed: 43 784 times
Version: 1.1
Category: How-tos

Yet another implementation of CPhpAuthManager.

Created 12 years ago by seenivasan seenivasan, updated 12 years ago by seenivasan 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: 20 411 times
Version: 1.1
Category: How-tos

Integrating HybridAuth directly into Yii without an extension

Created 12 years ago by biz dev biz dev, updated 12 years ago by biz dev 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: 52 850 times
Version: 1.1
Category: How-tos

Kickstart development with Yii-App

Created 12 years ago by Chris83 Chris83, updated 12 years ago by Chris83 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: 42 639 times
Version: 1.1
Category: How-tos

Use crypt() for password storage

Created 12 years ago by fsb fsb, updated 10 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: 182 084 times
Version: 1.1
Category: Tutorials

Installing Yii Users and Rights to Newly Created Yii app

Created 12 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: 110 626 times
Version: 1.1
Category: Tutorials

Show captcha after <N> unsuccessfull attempts

Created 13 years ago by zitter zitter, updated 13 years ago by zitter 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: 36 365 times
Version: 1.1
Category: How-tos

Simple RBAC

Created 13 years ago by hasanavi hasanavi, updated 12 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: 124 687 times
Version: 1.1
Category: Tutorials

How to write secure Yii1 applications

Created 13 years ago by François Gannaz François Gannaz, updated 4 years ago by François Gannaz François Gannaz.
  • Validate the user input (see below for details).
  • Protect (escape) your application output according to context (see below for a few output types, mostly HTML and SQL).
  • Test your application in debug mode.
    Set the constant YII_DEBUG to true (by default, it is defined in index.php) and put alongside error_reporting(E_ALL);. Then errors and warnings will stop the execution an...
80 0
114 followers
Viewed: 320 476 times
Version: 1.1
Category: How-tos

Authenticating against phpass hashes with Yii

Created 13 years ago by Da:Sourcerer Da:Sourcerer, updated 11 years ago by Da:Sourcerer Da:Sourcerer.
  • iteration_count_log2 controls the number of iterations for key stretching. A setting of 8 means the hash algorithm will be applied 2^8 = 256 times. This setting should be kept between 4 and 31.
  • portable_hashes controls whether portable hashes should be used or not. Portable hashes are salted MD5 hashes prefixed by $P$.
22 0
28 followers
Viewed: 41 607 times
Version: 1.1
Category: How-tos

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: 73 696 times
Version: 1.1
Category: Tutorials

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

Created 14 years ago by Juan Calvo Juan Calvo, updated 14 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: 77 316 times
Version: 1.1
Category: Tutorials

Module based login

Created 14 years ago by suriyansuresh suriyansuresh, updated 14 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: 93 910 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 14 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: 98 444 times
Version: 1.1
Category: Tutorials

How to setup RBAC with a php file

Created 15 years ago by bettor bettor, updated 12 years ago by Stageline 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: 119 062 times
Version: 1.1
Category: How-tos

How to use ldap in UserIdentity for authentication

Created 15 years ago by BeerSerc BeerSerc, updated 11 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: 99 412 times
Version: 1.1
Category: Tutorials

Adding login form to each page

Created 15 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: 52 102 times
Version: 1.1
Category: Tutorials