ACL for network device

I need to implement an ACL based authentication mechanism for a device. This device can be accessed through various interfaces, such as web pages, TL1 (mainly using the command line), etc.

I need ACL logic to be centralized so that a request from any interface can be authenticated.

The ACL logic will basically check if the registered user can complete the operation that he is trying to perform. To do this, I will create groups and add users to these groups. Each group will maintain a list of operations allowed in that particular group.

Can anyone suggest a better way to implement this?

Is there any existing software / tool that allows me to achieve this? Any open source project?

I am a C / C ++ programmer and new to the ACL concept. The above module should be designed for Linux. The web interface will reside in CGI.

Thanks in advance.

+3
source share
1 answer

Your question is misleading. What you ask for in most cases has nothing to do with file system ACLs in Linux.

I assume your cgi is a single file written in C ++.

You will need to use some local storage solution. In your place, I used sqlite or another sql based solution.

, acl, ACL , .

P.s. , fcgi, cgi .

0

Source: https://habr.com/ru/post/1702180/


All Articles