473,406 Members | 2,467 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

User Permissions in ASP.NET 2005

19
Hello everyone,

I am using ASP.NET 2005 with C#.

Actually my application have to perform the following functionalities:
-> Firstly administrator will create user and assign permissions to them.

-For example , the application has a menu containing VillageMaintenance Module ,SurveyMaintenance Module ,Reports.

Now the administrator will decide which menu will be visible to a particular user.

And my application requires that I have to create a table like UserPermission:
This table will contain userid and all the menus of application :

UserID,VillageMaintenance Module ,SurveyMaintenance Module ,Reports.

If the adminstrator has given permission of VillageMaintanance Module to a Particular user ,then in this table VillageMaintenanceModule(DataType Bit) will get set to 1 otherwise 0.

Iam using ASP.NET menu only.
So please suggest how I will achieve this.Like how will check whether this menu should get visible to a user or not once he login. I am really confused how to start.Please help me its really very urgent

And I have to create auditTrail also.Like creating a report that will show when a user has logged in , which menu he has visited.
I have to do this using session but I don't know how to do this.


Please help me by giving some related coding to my application or any kind of help.Just plz help me.
Dec 5 '07 #1
0 1269

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: MLH | last post by:
I was running the following code while logged in as a user belonging only to the Users group. Set usrNew = .CreateUser(Me!UserID) 'The user ID is in a control on the form usrNew.PID =...
5
by: Norsoft | last post by:
I have a .Net 1.1 application which is downloaded into an aspx page. It is a dll which inherits from System.Windows.Forms.UserControl. It works fine on a PC with only the 1.1 Framework. However,...
2
by: waqarkust | last post by:
What is the diffrence between Sql Server Login and Sql server Database User? I want to put a funtionality in my application from where administartor make Application User. these application user...
3
by: MK | last post by:
In the login properties on the Database Access tab, a user's name says dbo instead of his name. I do not want him to have dbo permissions. I cannot drop the db_owner permissions that he has on...
6
by: Amber | last post by:
do the following steps: 1:Use Manage Studio login the server with Integrated security. 2:Create a dabase named testdb; 3:Create a SQL Server login named amber ,and set it to be dbowner of...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.