We have a legacy system that uses a resource/action based authorization
. Recently our company has decided to use a LDAP
server as a repository for both Authentication
and Authorization
.
I haven't worked with LDAP
servers before but as far as I have learned we can define our schema for different objects.So I have searched the Net for a simple example of implementation of a resource/action based authorization
using LDAP
and I haven't found anything (Everybody is talking about users,group and roles)
So two questions come to my mind :
- Is it a good idea to use
LDAP
for aresource-action based authorization
(Since I could not find a good example of how to do that) - If yes, how can we implement it? (Any google result would help :) )
PS: Our application is written in C#. Are there any good open source LDAP
client out there that we can use or we should go with .Net DirectoryServices
?