Forms Based Authentication (FBA) allows a web user to access a SharePoint site and get access to the relevant permissions normally imposed using the groups and permissions within SharePoint. This is basically done by creating a database outlining the necessary roles and permissions that SharePoint can lookup to define what sort of permissions the user has when they logged in externally.
Here is a good article that explains how to set up FBA – Forms Based Authentication in SharePoint 2010.