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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:30:30+00:00 2026-05-29T06:30:30+00:00

I’m making an ASP.Net MVC 3 application in VS 2010. I have a task

  • 0

I’m making an ASP.Net MVC 3 application in VS 2010. I have a task to create a settings page which would make the columns from the tables in my database with specific permissions (read, read/write etc.).

It’s the first time I have a task of this kind and I have no idea on how to make this.

I tried going right click on the project in VS and then go to Settings. There was a link which says that my project didn’t have a settings page, so I clicked it to create one. There appeared a table with settings but there are just public/internal access modifiers. I can’t seem to find write/read.

Is this the right way of creating a settings page? Or is there another?

  • 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-29T06:30:31+00:00Added an answer on May 29, 2026 at 6:30 am

    I’m sorry Andrew. I answered your question in quite a rush previously. So, I think my answer became quite unclear. I’m so sorry. I will try my best to answer this more clearly. My answer can be quite long and I hope you are patient enough to finish reading this. 🙂

    Actually, your problem can be solved in very easy way. Believe me! You actually don’t need a Setting page for this.

    I suppose you will have a Users table in your database, for storing user accounts for your system. Right! And again, I suppose that Users table will have at least these following fields.

    • UserID [ This must be the primary key for the table. Right! ]
    • UserName
    • Password
    • Email [ This is kind of optional. ]

    I only suppose your database has this kind of schema. Or else, there must be other ways to set the permissions for your users in the table.

    Alright, create another table called Permissions in your database. That Permissions table will handle the permission rights for your users in the above Users table. Ok! Then, you have two tables. One is your original Users table and another is Permissions table.

    Ok! Our new Permissions table will have at least following fields:

    • ID [ This is the primary key for this table. ]
    • UserID [ This will come as foreign key from your previous Users table. ]
    • PermissionRead [ this field will hold boolean data type, or bit data type. True or False for Boolean and 0 or 1 for bit. This is entirely depends on the type of DBMS you use. ]
    • PermissionWrite [ again, same as PermissionRead. ]

    Alright, now you have two tables. These Permission read and write fields are for holding the permission rights for your users.

    If you have the exact db schema as I described above, then you will have the following kind of relationship like this:

    Users table
    UserID | UserName | PW
    U-001 | Tim | timpassword
    U-002 | Jim | jimpassword

    Permissions table
    ID | UserID | PermissionRead | PermissionWrite
    1 | U-001 | True | False
    2 | U-002 | True | True

    So, you can see that, User Tim which is UserID U-001 has Read-only permission and User Jim who is U-002 has both read-write permissions.

    So, you can check the condition of these fields when a particular user login to the system. If he or she has PermissionRead value True and PermissionWrite value false, then that user has read-only permission right. Or else, if both values are true then that user has read-write permission. Ok!

    I tried my best to explain this, and I really do hope you can understand my answer. I really do…!!!
    My suggestion is that, you should try this method first. And, if you are alright with this, I can explain more how to set group level permissions from this method. Ok! ‘Cause my answer became quite long, and I fear you become bored reading this… 😉

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

Sidebar

Related Questions

Basically, what I'm trying to create is a page of div tags, each has
I have a text area in my form which accepts all possible characters from
I have an MVC Razor view @{ ViewBag.Title = Index; var c = (char)146;
I'm making a simple page using Google Maps API 3. My first. One marker
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I would like to count the length of a string with PHP. The string
I am trying to understand how to use SyndicationItem to display feed which is

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.