473,794 Members | 2,880 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Roles Groups Question

Hi,

I am working in an organisation developing an asp.net application. The
application and general use of .NET may well expand to other applications,
so I need to start thinking about the arcitechture changes that will be
needed to support restriction of visibility of resources or permissions to
perform an action. Management of Groups etc, administration of users in
groups.

The obvious one which springs to mind is the use of Groups and Roles. We are
still using 1.x Framework as we dont have published justifiable grounds so
far to change this.

The obvious question which springs to mind, is how to hande groups,
subgroups, and conflicts like someone is has given access by group but
denied as an individual etc.

Does ASP.NET 2.0 handle this, or is there a groups object out there
somethwere which someone has already dont the hard work.

Thanks in advance, for any ideas on approach or resources.


--
Goofy
Nov 16 '06 #1
1 1053
Hi,

Check out asp.net 2.0 membership provider
http://msdn2.microsoft.com/en-us/library/yh26yfzy.aspx

Ken
---------------------
"Goofy" <me@mine.comwro te in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
Hi,

I am working in an organisation developing an asp.net application. The
application and general use of .NET may well expand to other applications,
so I need to start thinking about the arcitechture changes that will be
needed to support restriction of visibility of resources or permissions to
perform an action. Management of Groups etc, administration of users in
groups.

The obvious one which springs to mind is the use of Groups and Roles. We
are still using 1.x Framework as we dont have published justifiable
grounds so far to change this.

The obvious question which springs to mind, is how to hande groups,
subgroups, and conflicts like someone is has given access by group but
denied as an individual etc.

Does ASP.NET 2.0 handle this, or is there a groups object out there
somethwere which someone has already dont the hard work.

Thanks in advance, for any ideas on approach or resources.


--
Goofy

Nov 16 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
367
by: Varun | last post by:
In my application i have users who can belong to different groups and can have different roles. Groups can be administrators,schedulors,Recordkeepers etc., Roles recordkeepingfullaccess,recordkeepingreadonlyaccess etc., how can i authenticate the user and once he/she logins in one system if someone else tries to login from some other system wiht his user login and pwd he should get a message that he u have already logged in the machine...
4
2276
by: Marty Underwood | last post by:
Okay the subject line explains a scenario I just had to tackle but I am looking for a better way. The current way: 1) Use forms authentication. 2) Query Active Directory and bind to a user object if no exception create custom authentication ticket. 3) But I also needed Role based security within the app. So I used SQL server 2k DTS package to get the members of the AD group and then created a
10
7036
by: Bob | last post by:
This a bit of a second post on same subject, my apologies. IsinRole function only works with built-in roles. If I create a new group on my domain controller then add an existing user to that group, user bob, group TestUsers and then try to determine if My.user.Isinrole("TestUsers") I always get a false, which is incorrect. If I put Bob as part of Administrators or any other built-in group on the DC and look at...
5
1377
by: Steven Blair | last post by:
I am writing an application using the ASP.NET Configuration Roles and Users. The problem I have, in my C# I need to work out which type of user just logged in. I am currently using: string role = Roles.GetRolesForUser(); This give me a string "Administrator" etc.
6
1485
by: Chris | last post by:
I'm looking to protect some pages using the Membership provider (ADS) built into .NET 2.0. In order to protect these pages, whose details are stored inside a SQL Server table with columns id,name,url,parentid etc. I need to link them into some roles, or groups. So only certain groups from our Active Directory can access certain pages. The problem I'm facing is that ASP.NET 2.0 seems to restrict you to using its Role provider model only....
2
1087
by: Francis Reed | last post by:
Hi I haven a question concerning roles and membership in asp.net 2.0. I work for an online university, and we would like to implement role based security for our portal. Currently our university has 11 courses, which fall in 5 semesters, and each course is then subdivived into approx 5 or more groups, and in each group we have teachers, students, teacherAssistants. A quick calculation can approximate that we have to create about 825...
9
4277
by: Mike Hofer | last post by:
BACKGROUND: We've designed a Website for a client that will be deployed across multiple physical locations. The site will be hosted from a corporate NOC, and administered by the IT group there. The site's end-users tend to fill each others' roles on a pretty frequent basis. Their permissions in the system have to be extremely flexible. We initially wanted to use role-based security, defining concrete roles, but when we realized how these...
1
1048
by: Premium Plastics | last post by:
I have an application that is using windows roles that was untill latly a domain contoller. since it has demoted to a memeber server only global groups work in roles, but we have used domain groups for all our authentication. is it posible to uwsse domain groups as well as global groups in roles?
1
5615
by: Andy | last post by:
Hi, I currently have my application setup and built using Windows Authentication (WindowsPrincipal). For security checks, I simply do an IsInRole call on the Principal. The role permissions are hard- coded, something like this: private static string allowedReadRoles = new string { "Sales", "Ordering" };
0
9672
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10435
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10213
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10163
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9037
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.