How to implement roles with windows authentication ?

Posted on 2005-04-07
Last Modified: 2010-04-23

I have a database table  (Permissions) which consists of following contents

User                   | Page1 | Page2 | Page3 | Page 4 | Page5
Admin                |  1      |    1     |   1      |    1       |     1
Guest                 |  1      |   0      |   1       |     0     |     1

1 -> Yes (He can view the page)
0 -> No (He can't view the page)

I want to implement windows authentication with roles. Can you suggest me the way to do it ? When the user try to access the particular page without necessary permissions then, i want to display a message stating "You are not authorized user !", else he can view the page.

Question by:kishore_peddi
    1 Comment
    LVL 18

    Accepted Solution


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
    If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now