Best approach for authorisation rules

Posted by Maciej on Stack Overflow See other posts from Stack Overflow or by Maciej
Published on 2009-07-10T09:58:34Z Indexed on 2010/04/02 2:43 UTC
Read the original article Hit count: 554

I'm wonder about best approach of implementation auth. rules in Client-Server app using Business Objects.

I've noticed common tactic is:
- on DB side: implement one role for application, used for all app's users
- definition users right and roles and assign users to proper group
- Client side: add to Business Object's getters/setters rights checker allowing write / display data for particular user

My concern is if this is really good approach from security perspective.
It looks DB sends all information to Client, and then client's logic decide what to display or not.
So, potentially advanced user can make query from their box and see/change anything. Isn't it?

© Stack Overflow or respective owner

Related posts about rights-management

Related posts about .NET