Multi-Tenancy

What is the best practice for managing security in a multi-tenant application ? 

Should I create a user group per tenant, and  stamp each record with  a tenantedID, then apply application level filtering or perhaps there

is a smarter way to avoid the  application level filtering ?

  Discussion posts and replies are publicly visible