473,795 Members | 3,441 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Windows Authorization Question

dw
I'm a newbie with ASP.NET 1.1. I'm building an application which will allow
only 5 or 6 people access (authentication ) and they're all on the domain;
and only 2 or 3 will have write permission to the SQL Server 2000 on the
pages (authorization) . What's the best way to do this (least amount of
maintenance if users get added/removed)? Thanks.
Nov 19 '05 #1
3 1305
use windows authentication. U can define your users and roles in web.config
file in your case it should be enough...

--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"dw" <co************ ***@uncw.edu> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
I'm a newbie with ASP.NET 1.1. I'm building an application which will
allow only 5 or 6 people access (authentication ) and they're all on the
domain; and only 2 or 3 will have write permission to the SQL Server 2000
on the pages (authorization) . What's the best way to do this (least amount
of maintenance if users get added/removed)? Thanks.

Nov 19 '05 #2
dw
Thanks, Yunus. How do I allow some users to full edit of data, while others
only view info on pages?

"Yunus Emre ALPÖZEN [MCAD.NET]" <ye***@msakadem ik.net> wrote in message
news:OW******** ******@tk2msftn gp13.phx.gbl...
use windows authentication. U can define your users and roles in
web.config file in your case it should be enough...

--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"dw" <co************ ***@uncw.edu> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
I'm a newbie with ASP.NET 1.1. I'm building an application which will
allow only 5 or 6 people access (authentication ) and they're all on the
domain; and only 2 or 3 will have write permission to the SQL Server 2000
on the pages (authorization) . What's the best way to do this (least
amount of maintenance if users get added/removed)? Thanks.


Nov 19 '05 #3
U should define users with roles. And use declarative or imperative security
checks.

For instance

System.Threadin g.Thread.Curren tPrincipal.IsIn Role("Admin") returns boolean
indicating whether the current user belongs to admin group. Admin is not a
specific word u can easily define it. My advice u to google Role Based
Security. There are too much code examples in the net.

--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"dw" <co************ ***@uncw.edu> wrote in message
news:O3******** *****@tk2msftng p13.phx.gbl...
Thanks, Yunus. How do I allow some users to full edit of data, while
others only view info on pages?

"Yunus Emre ALPÖZEN [MCAD.NET]" <ye***@msakadem ik.net> wrote in message
news:OW******** ******@tk2msftn gp13.phx.gbl...
use windows authentication. U can define your users and roles in
web.config file in your case it should be enough...

--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"dw" <co************ ***@uncw.edu> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
I'm a newbie with ASP.NET 1.1. I'm building an application which will
allow only 5 or 6 people access (authentication ) and they're all on the
domain; and only 2 or 3 will have write permission to the SQL Server
2000 on the pages (authorization) . What's the best way to do this (least
amount of maintenance if users get added/removed)? Thanks.



Nov 19 '05 #4

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

Similar topics

2
1995
by: phreeskier | last post by:
i want to implement authorization with windows authentication and don't have the slightest clue of how to do this implementation. the basic windows authentication for this .NET application is already setup. my problem lies within my inability to manipulate the username captured in the authentication process and my knowledge of how IIS is involved. specifically, i have the following questions: 1) what object(s) can be used so that the...
1
528
by: Mark | last post by:
When our staff are logged into a computer on our domain, they're still prompted for their domain login and password to get into our ASP.NET application in Internet Explorer when using Windows Authentication. Is it possible to leverage the windows authentication from a client pc that is already on the domain and authenticated?? Thanks in advance. Mark
1
8035
by: srivalli chavali via DotNetMonster.com | last post by:
Hi, I have a question regd. Windows authentication and network file access. My asp.net application doesn't use any of the .NET's authentication schemes (Forms, Windows or Passport) yet. I have a login page where the users would supply their credentials and the business logic compares these credentials against SQLServer database and allows/denies access to the website.
0
1534
by: Chris Mohan | last post by:
Hi, I've configured a web app to use windows authentication and also set up two separate subdirectories to use forms authentication. It appears to work fine but I have never seen a sample that demonstrates both in the same web.config and I don't like assuming i've done this correctly and securely. Please take a look at the following from my web.config and let me know what you think(its not the full config-- just stripped down to its...
2
3841
by: Dan | last post by:
hi ng, i have a problem with windows authentification. i want to forward every user who 1. is not authorized 2. or could not be authenticated to a login page -------------------
3
2422
by: serge calderara | last post by:
Dear all, I clearly underdand the advantage of both type of authentification but is it allowed or possible to set the Authentication mode to Windows and then handle a login form for defined users in Credential section like as follow : <authentication mode="Windows" > <forms loginUrl="Login.aspx"> <credentials passwordFormat="Clear"> <user name="Jessee" password="JuneBug"/>
3
2543
by: sefe dery | last post by:
hi ng, i try to create a asp.net 1.0 website on windows server 2003(Servername: ServerX) with iis 6.0. PROBLEM: The user should login with his windows credentials in basic.aspx and automatically redirect to his own files. i have the following file-structure:
14
1795
by: tshad | last post by:
I am trying to set up an intranet at work that will use our Active directory to authorize our users. We also want them to access the site from the outside (such as at home) and also be authenticated by our Active Directory. We don't want to set up a separate Sql setup. I tried to set up my Web.config file like so: ********************************************************** <?xml version="1.0" encoding="utf-8" ?>
3
1969
by: DK | last post by:
I have an intranet application I've built using asp.net 3.5 / running on IIS6. The problem: when a user trys to access a page that they do not have access to, they are given the annoying windows authentication popup, which is useless because they are denied in the web.config file. After 3 tries or hitting cancel, they are then directed to the Access Denied page. How can I get rid of that popup ???
5
9152
by: Max2006 | last post by:
Hi, I am trying to limit my wcf service endpoint to response to only given windows user or group. How can I do that? Is there any way to configure that in the .config file? Thank you, Max
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
9519
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10437
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
10214
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...
0
9042
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...
0
6780
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
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
3723
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.