Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8389107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T18:38:04+00:00 2026-06-09T18:38:04+00:00

I am working on an application consisting of modules written in different languages (Java

  • 0

I am working on an application consisting of modules written in different languages (Java and C# are among them) running on different machines (currently, inside a LAN; so it is not a big one, but nevertheless, it is distributed). We are seeking for a reasonable approach of implementing role based permissions for the functionality (to configure who is entitled to invoke which part of the functionality).

Currently, this is solved by a custom database table mapping user names to the GUI IDs of the dialogue elements they are permitted to use (was not my idea, just in case you wonder…) and having one of our modules the ‘admin’ functionality of setting these values. I have the feeling, but am not really sure, that this direct writing into this table is not a good approach, especially with respect to concurrent write (of the ‘admin’ module) and read (although database transactions should provide concurrency handling… but does this suffice in this case?).

So my idea would be a central service (preferably written in C#, but Java would be okay, too, if its framework provides the better support for this) accessible by all modules which has to be accessed for both, setting and reading the permissions. This service then could guard against the concurrency problems. At its back, of course, it in turn would use still a database for storing the permissions.

What do you think of this approach, wouldn’t the service be a bottleneck? But it ‘feels’ right to me. What does not feel right to me is doing this from scratch like reinventing the wheel. Could the service be something like the authentication and authorization sub-frameworks as provided by (ASP).NET? Or even Active Directory? But its focus seems to be more coarse-grained (files, directories, printers, not functions inside an application…).
Could you tell me your experiences with this topic?
Many thanks in advance!

Here are some pointers I found during my search:
http://en.wikipedia.org/wiki/Role-based_access_control
Storage of Role-based Permissions using ADFS and WIF
Designing a permissions based security model
Best Role-Based Access Control (RBAC) database model

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T18:38:05+00:00Added an answer on June 9, 2026 at 6:38 pm

    I’d suggest to leverage LDAP facilities if you are looking for ready-to-use solution. Active Directory is not only one solution supporting this protocol, you can use even open source ones. But considering the common and general solution you can loose in performance. I don’t remember the open source storage supporting LDAP that I used but it seemed very slow. So probably the best way is to implement your own scalable and hight-available storage as a service.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently working on an application consisting both of a webapplication and client software.
I'm working on a real-time game application. Most of it is written in Java,
Currently I am working on a swing application, consisting of a frame with splitpanel.
I'm working on a Python application consisting of a core and multiple independent modules
I am working on splitting out an existing, working application that I currently have
I've been working on a Java application where I have to use JUnit for
I have a multi-user application consisting of a flex client and blazeds/Spring/java backend -
I'm currently working on redesigning an application which is building a model from input
I am currently working on a Windows.Forms application. It's basically a simple motion detection
I'm currently working on an ASP.Net web application. Just curious when I noticed that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.