 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Mind Tree: Testing your web application
by Chris Cornutt August 14, 2008 @ 12:04:52
This recent post from the Mind Tree blog shares a few methods for testing your web application (not unit test, just general things).
Because the Web "environment" is so diverse and contains so many forms of programmatic content, input validation and sanity checking is the key to Web applications security. This involves both identifying and enforcing the valid domain of every user-definable data element, as well as a sufficient understanding of the source of all data elements to determine what is potentially user definable.
They note that the root of most problems is input validation - most applications either just don't do it or do it poorly. They include a few tips on first security the environment the application is running in (like checking the HEAD/OPTIONS values and ensuring you're only allowing known file extensions and directories). They also mention the insecurity behind HIDDEN form elements and some issues surrounding user authentication.
voice your opinion now!
testing application input validation authentication user environment
Jonathan Street's Blog: Windows Live Contacts coming to PEAR
by Chris Cornutt June 30, 2008 @ 08:41:02
In a new entry to his blog, Jonathan Street talks about a new wrapper class he's built up around the Windows Live Contacts service.
It was a shame really as it was a really exciting project with Microsoft leading the way in the area. It's been only recently that Google and Yahoo have caught up and released their own APIs for accessing their users data. [...] With the possibility of actually using the code myself creeping up on the horizon I decided to put the time in to write wrappers for PHP. It can be broken down into two components.
These two components are the delegated authentication, used to get permission from the user to grab the data, and the actual interface to the Windows Live Contacts data. Both packages have been submitted to PEAR.
voice your opinion now!
windowslivecontacts pear package authentication
Padraic Brady's Blog: Services_Oauth and Zend_Oauth Revisited
by Chris Cornutt June 19, 2008 @ 10:21:57
Padraic Brady has gone back to a previous project, working with OAuth, and some thoughts on it and its possible implementation in both the Zend Framework and PEAR.
Starting yesterday, I opened up my IDE, updated PHPUnit, and got cracking. At the current rate of development a Consumer is likely at the weekend. I've already started writing up a formal proposal for PEAR and, of course, the Zend Framework also. I'm thankful the OAuth specification is this simple - it's one of the easiest to read specifications I've had to pleasure to work with.
He notes that an update to the API's Core (from 1.0 to 1.1) might be on the horizon, but can't see it affecting extensions/packages that much. He also mentions Extensions - not PHP extensions, these are augmentations to the OAuth core that allow for other different functionality to be included (like Discovery).
voice your opinion now!
servicesoauth oauth zendframework zendoauth authentication
Matthew Weir O'Phinney's Blog: Login and Authentication with Zend Framework
by Chris Cornutt March 31, 2008 @ 15:03:23
In a new entry on his blog today, Matthew looks to answer and help those once and for all wondering how to handle user authentication and persistence in their Zend Framework applications.
The typical issue is that they're unsure how to combine: an authentication adapter, a login form, a controller for login/logout actions and checking for an authenticated user in subsequent requests. It's not terribly difficult, but it does require knowing how the various pieces of the MVC fit together, and how to use Zend_Auth. Let's take a look.
He gives the complete code for a loin controller to cover most of that functionality and an example showing how to check for and keep track of which users have been authenticated.
voice your opinion now!
tutorial zendframework login authentication example controller
Jonathan Snook's Blog: Password Protecting Admin Functions in CakePHP
by Chris Cornutt January 30, 2008 @ 09:31:00
Jonathan Snook has posted a helpful trick for CakePHP users out there looking to secure sections of their site away from "normal users" and keep it only in the hands of the admins.
I just wanted to document this for easy future reference but if you don't want to hook up a complex user adminstration with authorization components, you can simply specify that the admin path be password protected in either your .htaccess file or in your httpd.conf.
This method is actually one of the built-in methods Apache has for restricting access (http authentication) that he's placed on his "/admin" directory. Call htpasswd to create the password file and you're all set to go.
voice your opinion now!
cakephp framework password protect htaccess authentication http
|
Community Events
Don't see your event here? Let us know!
|