Git Product home page Git Product logo

authentication-and-authorization-with-zf's Introduction

README
======

This is an example of usage of the Zend_Auth and Zend_Acl classes of the
Zend Framework project. The example is built using a standard MVC application
in Zend Framework with a modules architecture. The authentication system is
provided with a login page that use a username and a password. The Zend_Auth works
on a DB adapter or an LDAP server depending on the user's profile information.
You can find the example database (db.sql) in the folder /docs of the project.
The authorization system uses implemented in this example is able to manage 
modules, controllers and actions using a special syntax: "module/controller/action".
This example supports the usage of a * character to specify a generic module, 
controller and action. That means you can provide a permission for a spefici
user's group based on the following syntax: "example/*/*", all the controllers and
actions of the example module.
In the example database we have two users: admin (pass: admin) and enrico (pass:
enrico). Admin is able to access to all the resources of the application and
enrico is able to access to all the resource of the home module except for the
action menu of the index controller.  


Requirement
===========

This implementation has been tested using Zend Framework 1.11.5 and Apache 2
with a virtual host configuration to point to the public folder of the project.


License
=======

This code is released under the GNU General Public License.
For information about this license: http://www.gnu.org/licenses/gpl-2.0.html

(C) Copyright 2011 by Enrico Zimuel - http://www.zimuel.it/blog

authentication-and-authorization-with-zf's People

Contributors

ezimuel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

authentication-and-authorization-with-zf's Issues

Boa Tarde

Estou vendo um banco na qual acho que utiliza sua ideia, precisaria ver se tem um dump da base de dados ou me ajudar a montar, essa relação de permições e tudo mais.

help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.