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 6190343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:34:19+00:00 2026-05-24T02:34:19+00:00

am looking at role-based authentication for the web app at my work. we use

  • 0

am looking at role-based authentication for the web app at my work. we use coldfusion, which does not seem to have any good rbac libraries made, so we might have to make one from scratch.

looking at a sample data model, objects are tied to permissions.

http://www.mind-it.info/2010/01/09/nist-rbac-data-model/

it looks like a one to many relationship between objects and permissions, which makes sense.

however, i am wondering if these “objects” should be abstract or concrete?

our system will have a few limited types of objects; for sake of example, let us say “news”, “events”, and “albums”. the permissions and roles will most likely be attributed to these types, since all object instances of any of these types will require the same permissions and accessibility for the different roles.

in the example i looked it, it seemed to me that each instance of an object was attached to permissions. if this were the case, i see a lot of overhead in this type of system…

so, i was wondering whether or not these “objects” are in fact the abstract object types that are associated with a role, or if these “objects” are the actual object instances themselves? (or, if the rbac model allows for either implementation…)

thanks!

  • 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-05-24T02:34:20+00:00Added an answer on May 24, 2026 at 2:34 am

    You should definitely tie permissions to objects. Yes, there is some overhead while developing it, but it is by far the best case.

    Think about it, while you’re developing lets say the “Add news item” functionality, you create a permission called something like “addNewsItem”. Then you simply tie that permission to the roles that you want to have that ability.

    The beauty of this system is that once you code your permissions tied to objects (like the add item), you never have to change it if your users or roles ever change. The “Add news item” will always need the “addNewsItem” permission. That never changes.

    If you instead wrap your objects with roles for example, and you decide to add a new role – you’re going to be going in and changing code to allow that role any permission. Yuck.

    Its actually quite easy to implement. Here’s a post I did with some basics on implementation:

    ColdFusion: Application Options Based on Role?

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

Sidebar

Related Questions

I am looking for a good role based authorization solution to use alongside Authlogic.
We have a Seam 2 based web application with the usual user login and
Created a web role project on Azure. Looking at the service definition file I
I'm building some wcf services for inter web role communications and i'm looking at
I have the authentication portion of an ASP.NET 3.5 web application complete. I would
I'm looking into moving an existing app to Azure. It will have an MVC
I'm looking for the best way to build clean way to build role/authorisaton-based finders?
I'm looking at creating a decentralized role-management system which integrates with Java EE roles.
I'm trying to develop a web app for a university who's looking to keep
I am using role based Authentication for some of the features in my ASP.NET

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.