CKS Forms Based Authentication Solution

Rating:        Based on 27 ratings
Reviewed:  26 reviews
Downloads: 13881
Released: Oct 2, 2008
Updated: Oct 2, 2008 by rdcpro
Dev status: -not yet defined by owner-

Recommended Download

Application FBAManagement Beta
application, 95K, uploaded Oct 2, 2008 - 13881 downloads

Release Notes

The CKS:FBA is pleased to announce the first Beta 1.00 release of its Forms Based Authentication solution.

This solution contains the following features:
  • Automated Solution Deployment - Zac Smith
  • Membership request webpart (including CAPTCHA) - Paul Ballard
  • Membership request list - Paul Ballard
  • Login web part - Paul Ballard
  • Recover Password web part - Edin Kapic
  • Change Password web part - Edin Kapic
  • ULS Logging - Edin Kapic
  • User Management - Zac Smith
  • Role Management - Zac Smith
  • User Properties - Brendon Schwartz
  • Fixes - Anthony Sumner, Mike Sharp

Thanks to Stacy Draper for letting us hijack his code and for moral support

How To Use This Solution

1. Setup Forms Based Authentication
While we plan to add administrative features that will make setting up a SharePoint site for FBA much easier, for now you'll need to follow the instructions outlined in Dan Attis' Blog
2. Install The FBAManagement Solution File
Unzip the zip file onto the file system of the SharePoint server and you will find 4 files. Deploy/Undeploy/Upgrade command files and the CKS.FBA.wsp solution file. From the command line enter:
deploy [SharePoint Site URL]

This will install the solution and activate all of the features.
3. Add Webparts to pages
The self registration aspects of this solution include web parts for logging in users, registering new users, requesting a password reset, and allowing a user to change their password. These web parts can be added to any web part page in the site.

User Login
This web part is extremely customizable including changing prompts, error messages, and turning on/off links to registration pages or password change pages. When the user logs in successfully they will see a link under the "Welcome User" control at the top of the page called "My Settings". Click on this will let the user change their SharePoint user settings.

User Registration
This web part is highly customizable. In addition to the standard CreateUserWizard controls, this registration control adds fields for the First and Last names as well as a CAPTCHA field to avoid programmatic registrations. When a user registers on the site an email will be sent letting them know that their account information has been received and that their membership is pending.

Change Password
This web part will allow the user to modify their password. All prompts and error messages are customizable.

Password Recovery
This web part allows a user to request a password reset by answering the questions they created when the account was registered. This web part also allows modification of all prompts and error messages.

4. Administering Users
New Membership Request
When a user fills out the registration information in the registration web part that information is stored in the Membership Request List. The administrator can then edit the user information by going to Site Settings and under Users and Permissions click on "FBA Membership Request Management". When their status goes from Pending to Approved an email will be sent that will notify the user that they have been approved and will also contain a temporary password for them to use to log into the site. If you deactivate the Membership Request List feature, then all registrants are automatically added to the site and the email goes out immediately.

Modifying a User's Information
The administrator can modify the user information from the Site Settings page by clicking on "FBA User Management". On this page you can add/modify/remove the users. If the roles feature is activated you can also add/delete roles (note: these are FBA roles, not SharePoint roles). When roles are activated the User Management will let you add/remove users from roles instead of groups. The roles feature is not activated by default

Reviews for this release

This could be the answer but in SP2013 but getting c:\FBAManagement>stsadm -o installfeature -name FBAManagementSelf -force Failed to find the XML file at location '15\Template\Features\FBAManagementSelf\ feature.xml' FBAManagementSel folder does not exist. See this is quite old now is there a newer version?
by CliveWightman on Jan 30, 2014 at 2:01 PM
CliveWightman... look at the fbamanager for sharepoint (here on codeplex) -if you havn't already figured that out by now :D
by paisleygo on Mar 25, 2014 at 4:08 PM
I find new solution for captcha
by mingo79 on Oct 25, 2011 at 4:58 PM
thanks , it is good work But when i downloaded this feature it didn't work for example loggin webpart isn't Appearence and registeration webpart didn't work it got error page so are there steps before running this features thanks ....
by moh on Aug 9, 2010 at 1:35 PM
My testimony is that I have deployed CKS FBA now on a real government SharePoint website who needed to secure their website where external users have to login in order to view secure content. More detail instructions on implementing this can be found at Thanks
by dliong on Dec 10, 2009 at 7:31 AM
Does this FBA login web parts work on Active Directory Membership Provider as well?
by gkayton1 on Nov 20, 2009 at 8:04 PM
Really helpful and bug free. It's a pleasure to use it
by lmondeil on Sep 1, 2009 at 12:44 PM
I have the following error "Dependency feature with id 01aa8d8b-000a-4c35-8f4f-5d1280377650 for feature 'FBAManagementSelf' (id: 23c44729-fb03-4882-a0bf-c6fb3ddd81fd) is not installed" May be I missed something because I didn't find the article Dan Attis' article (the link doesn't exist) Please Help me
by tssf on Aug 13, 2009 at 8:54 AM
Hello; I'm also having problems with the end user not receiving temporary passwords via email. Is this a known issue.
by jpbaker81 on Jun 19, 2009 at 7:07 PM
it great, help me alots espically there is only 2 members in my team(admin+develop+designer) for MOSS. but i face a problem which my user dont get the email that contain the temporary paswword. do any of you guys face this problem, it make my member cannot access the site, thanks
by hishambon on Jun 12, 2009 at 6:32 AM
custom fields in user management would be nice.
by xyamir on May 12, 2009 at 11:47 PM
Where do I get the files: \12\TEMPLATE\FEATURES\FBAManagementSelf\ The installer "Deploy" is unable to find the files, as the FBAManagementSelf subdirectory does not exist in the "\12\TEMPLATE\FEATURES\" directory. It would seem that this is an UPDATE to a previous build?
by NHSPGURU on May 3, 2009 at 1:44 PM
Good solution. Don't run any SharePoint apppools under the Network Service account as, even with access to the FBA database, it still won't work. To see what's happening behind the SharePoint error page change web.config: SafeMode MaxControls=“200“ CallStack=“false“… to <SafeMode MaxControls=“200“ CallStack=“true“… and set custom errors to 'Off' <customErrors mode=“Off"/>
by s6521d on May 2, 2009 at 12:47 PM
Really cool solution that addresses some major short comings of the OOTB FBA. For those of you with the "Dependency feature with id 01aa8d8b....." you need to edit out the line with the offending GUID in the Feature.xml file located here (C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\FBAManagementSelf\feature.xml)
by johnmcclain77 on Mar 26, 2009 at 6:19 PM
Solution to problem. Edit C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\FEATURES\FBAManagementSelf\feature.xml comment out the My Settings Override Then go back to the folder with the deply file, cat it out and just run the line that failed and all lines to the end. For email
by will_dieterich on Mar 10, 2009 at 7:03 AM
The solution is very, very useful. As many others I experience problems with FBASelfManagment: The only bug what I experiencing is SelfManagement feature - can not activate, too. Some hints and help how to handle this would be very nice :-)
by gisele on Mar 5, 2009 at 7:26 AM
This is great--Thanks for releasing it! I would love to see a current source package so we can make changes to the templates, dependencies and build a WSP file for deployment.
by skaiser on Jan 6, 2009 at 11:03 PM
Note: The link to Dan Attis' Blog is invalid. Replace the "_" characters with "-" (dash) and you should be good to go.
by liamkennedy on Dec 29, 2008 at 6:43 PM
I just configured this solution in my test environment and I am very pleased with it. I had the same dependency error as others, but after commenting out the dependency line and rerunning the activation for that one piece everything worked great. I plan on using this in our production environment. Thanks for all of your work and for the great product.
by johnquigleyjr on Dec 16, 2008 at 7:20 PM
The only bug what I experiencing is SelfManagement feature - can not activate. Dependency feature with id 01aa8d8b-000a-4c35-8f4f-5d1280377650 for feature 'FBAManagementSelf' (id: 23c44729-fb03-4882-a0bf-c6fb3ddd81fd) is not installed. I commented out My setttings Save override - stiil the same error. Pls. Any help....
by Bearry on Dec 8, 2008 at 5:17 PM
Can I use the Beta 2.5 and then wspbuilder.exe? I've been try to use beta 1.0 with tones of errors. Anything else that needs to be done from there? other than upgrade.cmd
by Jbenisek on Nov 25, 2008 at 7:21 PM
Having same FBAselfmanagement section. "Dependency feature with id 01aa8d8b-000a-4c35-8f4f-5d1280377650 for feature 'FBAManagementSelf' (id: 23c44729-fb03-4882-a0bf-c6fb3ddd81fd) is not installed. " error when trying to deploy solution
by KostenBaum on Nov 25, 2008 at 11:44 AM
Incredibly useful! Thanks guys! Best for internet facing sites. I really liked the workflow for membership request approval.
by jeffmjones on Nov 3, 2008 at 3:59 PM
It's b0rk3n...
by Kosher on Oct 16, 2008 at 4:56 AM
Many days saved in just one afternoon. Dan Attis blog + this made my day.
by k3larra on Oct 15, 2008 at 12:47 PM
I am getting following error when I try activate FBAselfmanagement section. "Dependency feature with id 01aa8d8b-000a-4c35-8f4f-5d1280377650 for feature 'FBAManagementSelf' (id: 23c44729-fb03-4882-a0bf-c6fb3ddd81fd) is not installed. " Any help please.
by krishka on Oct 3, 2008 at 9:57 PM