 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Giulio Pons' Blog: Facebook Connect Tutorial
by Chris Cornutt January 19, 2010 @ 12:46:29
Giulio Pons has posted a great tutorial for anyone looking to hook their application into the Facebook Connect technology.
This tutorial will guide you to the process of integration of your web community with Facebook. This means that when a visitor comes to your site it can log in with normal credentials if it has, but if it has not it can click on the "facebook connect" button and try to log in with its facebook account, automatically.
You'll need to register the application with Facebook before getting started and get an API key you can use to work with their backend. With the help of the Facebook-provided libraries and a file for the cross-domain interaction (a xd_receiver file) you can use the code he's provided to allow the user to log in with their Facebook username/password and it be mapped to a user on your local application.
voice your opinion now!
facebook connect tutorial login api
Giorgio Sironi's Blog: Php login with Zend_Auth
by Chris Cornutt October 29, 2009 @ 09:23:02
In a new tutorial posted on his blog today Giorgio Sironi looks at the Zend_Auth component of the Zend Framework and how to create a simple login authentication method with it.
Zend_Auth is the component of the Zend Framework which provides a standard authentication mechanism for web applications users. It has few dependencies (on Zend_Loader and on Zend_Session for default persistence of the authentication) and, as other framework components, will let you concentrate on the user experience instead of worrying about boilerplate code.
He talks about how Zend_Auth handles properties internally and how it can make it easier to build out those redundant bits of so many applications you've worked with. He also includes a custom adapter that can directly use PDO to connect to the database and grab the login information it needs (to remove a dependency on Zend_Db).
voice your opinion now!
login zendframework zendauth tutorial
NETTUTS.com: Creating an Advanced Password Recovery Utility
by Chris Cornutt May 06, 2009 @ 08:47:49
On the NETTUTS site today there's a new article (continuing on from this tutorial) looking at how to make a "forgot your password" system to add on to their current login technique.
In my last tutorial, 'A Better Login System', a few people commented on how they would like to see a tutorial on password recovery, which is something you don't always see in user access tutorials. The tutorial I am bringing you today will deal with just that. Using mySQLi, we will learn to recover unencrypted and (one-way) encrypted passwords.
They give you what you'll need to set up the database for the user information and the PHP code you'll need to connect to it and fetch the user's information. The script then generates an email with a custom link that will take the user to a page asking them to answer a security question before they can continue.
voice your opinion now!
password recovery security question link email login
WebReference.com: User Personalization with PHP User Login
by Chris Cornutt April 01, 2009 @ 12:57:14
WebReference.com has posted the third part of their "user personalization" series today with a look at the gateway to your protected application - the login script.
This script does the very important job of authenticating a user and can make or break the application in the sense that if it is weak security wise, then any attacker can easily penetrate our application and cause damage. In this case, we will try to make it as difficult as possible for attackers to break our application.
Their script is a simple username/password form with some validation on the input - not empty, password is above a certain length and that the random number generated is the same as the one in the session. Only if it passes these is the user information checked via a database query. They also include a logout and user confirmation script that uses an md5 hash to validate the link.
voice your opinion now!
user login personalization login tutorial
NETTUTS.com: A Better Login System
by Chris Cornutt March 30, 2009 @ 07:55:54
In this recent tutorial from NETTUTS.com they show how to create a "better login system" that supports a bit of access control functionality to even further secure your site.
Net.tuts+ has published several great tutorials on user login systems. Most tutorials only deal with authenticating the user, which allows for two levels of security: logged in and not logged in. For many sites, a finer degree of control is needed to control where users can go and what they can do. Creating an access control list (ACL) system will give you the flexibility for granular permissions.
They walk you through the database creation (user information), coding the ACL and user authentication classes, how to check a user's permissions and how to create a user admin screen to allow for easy maintenance. You can find the complete source of the tutorial here.
voice your opinion now!
tutorial login logout system acl access control admin interface
NETTUTS.com: Creating a File Hosting Site with CodeIgniter
by Chris Cornutt March 12, 2009 @ 10:21:21
NETTUTS.com has posted this new tutorial about using the CodeIgniter PHP framework to create a simple file hosting site (where a user can upload a file and it's linked and available for download immediately).
I have seen a few introductory tutorials for Codeigniter, and was hoping to show you something a little more advanced. This tutorial will show you how to build a powerful web application for hosting images, using the flexibility of Codeigniter. This tutorial should teach you about the MVC coding philosophy, integral to producing serviceable applications.
Henry (the author) walks you through the setup and configuration of the database and source, but you'll need to have a copy of the CodeIgniter framework working and have a basic knowledge of how it's all laid out. The mini-application includes a login form that authenticates off of a MySQL database and the actual upload form that lets users submit their files and display the ones currently available for download.
voice your opinion now!
codeigniter framework file hosting mysql login upload tutorial
Juozas Kaziukenas' Blog: Scraping login requiring websites with cURL
by Chris Cornutt February 24, 2009 @ 08:44:43
Several sites have areas that have content protected behind a login making them difficult to pull into a script. Juozas Kaziukenas has created an option to help you past this hurdle - a PHP class (that uses cURL) that can POST the login data to the script and pull back the session ID.
But how you are going to do all this work with cookies and session id? Luckily, PHP has cURL extension which simplifies connecting to remote addresses, using cookies, staying in one session, POSTing data, etc. It's really powerful library, which basically allows you to use all HTTP headers functionality. For secure pages crawling, I've created very simple Secure_Crawler class.
The class uses the built-in cURL functionality to send the POST information (in this case the username and password, but it can be easily changed for whatever the form requires) and provides a get() method to use for fetching other pages once you're connected.
voice your opinion now!
login require scrape curl secure crawler tutorial username password
|
Community Events
Don't see your event here? Let us know!
|