473,405 Members | 2,141 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,405 software developers and data experts.

how is this normally done?

ari
hey all,

i have a web form that i want to authenticat with Active Directory. i can do
that part but how do you authorize the user to different roles in my
application. do i have it first authenticate to AD then goto to a database to
retrieve authorization rules?

thanks,
ari
Nov 19 '05 #1
4 945
Jon
You can place them in security groups in AD and the in your webconfig or app
check the role.
"ari" <ar*@discussions.microsoft.com> wrote in message
news:72**********************************@microsof t.com...
hey all,

i have a web form that i want to authenticat with Active Directory. i can
do
that part but how do you authorize the user to different roles in my
application. do i have it first authenticate to AD then goto to a database
to
retrieve authorization rules?

thanks,
ari

Nov 19 '05 #2
ari
so, like if i had an issue tracking application and i have 2 types of users.
1 would be users who view issues for status only and 1 would be users who can
update the issues; in Active Directory i would have 2 security groups?

1 would be regular view only and the other administrator account?

P.S. And this would be the same for each new application just add security
groups to Active Directory?

thanks,
ari

"Jon" wrote:
You can place them in security groups in AD and the in your webconfig or app
check the role.
"ari" <ar*@discussions.microsoft.com> wrote in message
news:72**********************************@microsof t.com...
hey all,

i have a web form that i want to authenticat with Active Directory. i can
do
that part but how do you authorize the user to different roles in my
application. do i have it first authenticate to AD then goto to a database
to
retrieve authorization rules?

thanks,
ari


Nov 19 '05 #3
Jon
Yeah thats how you could do it. Of course I wouldn't use the built in admin
group. I'd create an additional admin security group for your app's users

If you are authenticating users using AD you might as well use security
groups to define your roles.

Jon

"ari" <ar*@discussions.microsoft.com> wrote in message
news:AC**********************************@microsof t.com...
so, like if i had an issue tracking application and i have 2 types of
users.
1 would be users who view issues for status only and 1 would be users who
can
update the issues; in Active Directory i would have 2 security groups?

1 would be regular view only and the other administrator account?

P.S. And this would be the same for each new application just add security
groups to Active Directory?

thanks,
ari

"Jon" wrote:
You can place them in security groups in AD and the in your webconfig or
app
check the role.
"ari" <ar*@discussions.microsoft.com> wrote in message
news:72**********************************@microsof t.com...
> hey all,
>
> i have a web form that i want to authenticat with Active Directory. i
> can
> do
> that part but how do you authorize the user to different roles in my
> application. do i have it first authenticate to AD then goto to a
> database
> to
> retrieve authorization rules?
>
> thanks,
> ari


Nov 19 '05 #4
ari
but let's say in my application i need a comma-separated string of all the
departments that this user has rights to. how would i handle that or is that
not a good design approach?

ari.

"Jon" wrote:
Yeah thats how you could do it. Of course I wouldn't use the built in admin
group. I'd create an additional admin security group for your app's users

If you are authenticating users using AD you might as well use security
groups to define your roles.

Jon

"ari" <ar*@discussions.microsoft.com> wrote in message
news:AC**********************************@microsof t.com...
so, like if i had an issue tracking application and i have 2 types of
users.
1 would be users who view issues for status only and 1 would be users who
can
update the issues; in Active Directory i would have 2 security groups?

1 would be regular view only and the other administrator account?

P.S. And this would be the same for each new application just add security
groups to Active Directory?

thanks,
ari

"Jon" wrote:
You can place them in security groups in AD and the in your webconfig or
app
check the role.
"ari" <ar*@discussions.microsoft.com> wrote in message
news:72**********************************@microsof t.com...
> hey all,
>
> i have a web form that i want to authenticat with Active Directory. i
> can
> do
> that part but how do you authorize the user to different roles in my
> application. do i have it first authenticate to AD then goto to a
> database
> to
> retrieve authorization rules?
>
> thanks,
> ari


Nov 19 '05 #5

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

Similar topics

2
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: once a week Last-modified: 2004-07-26 Version: 2.00 URL: <http://css.nu/faq/ciwas-mFAQ.html> Maintainer: Jan Roland Eriksson...
96
by: Karen Hill | last post by:
SELECT surgeries.*, animals.* FROM surgeries INNER JOIN animals ON .=. AND WHERE ((.=Date()) Or .=Date()); I'm trying to write a query that joins two table together, animals and surgeries...
15
by: John Cassidy | last post by:
This has been driving me crazy. I've done basic C in school, but my education is mainly based on object oriented design theory where Java is our tool. For some reason, while helping a friend with a...
14
by: John | last post by:
Hi We have an SBS2000 server which has an access database running internally, supporting around 20 users. The server is connected to a broadband connection. Is it viable for us to run an asp.net...
17
by: blackswift | last post by:
code is from Warsaw university's CEPC code . They are world champion in the ICPC finals. #include <iostream> #include <cstdio> #include <algorithm> using namespace std; #define FOR(i,a,b)...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
27
by: SamJs | last post by:
WITH (this) { a = 5 } I'm finding that this.a = 5 will come from this expression. I would have thought that the search for a would come up undefined and leave it at that. Is JavaScript...
14
by: timor.super | last post by:
in C, I have this : #define doStuff(var) func(var##_1, var##_2) void func(int v, int v2) { printf("%d, %d\n", v, v2); } int main()
1
by: benn686 | last post by:
Id like to group 16 booleans into a u16 such that I can either set all 16 variables at once with just a single u16 assigment, or I can individually change a bit by setting that boolean manually. ...
16
by: London.Embankment | last post by:
If you go to this website: http://www.cwtgtg.co.uk/dwp/ It won't allow you to PASTE email addresses. Is there a way around this? (I am using a similar site but not this exact site) (I must...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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.