[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 149
  • Last Modified:

How to implement roles with windows authentication ?

Hi,

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

                              Permissions
=======================================
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.

Thanks,
Kishore
0
kishore_peddi
Asked:
kishore_peddi
1 Solution

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now