473,657 Members | 2,800 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Authorized Users to access ASP pages using IIS 6.0

2 New Member
Hi, I am new in ASP and I just created a website in Visual Studio 2005. I only want a group that have access to this website. I also created a security group in AD. I am also using SQL Server 2005 for this website using ASP forms.
How do I set up the permissions so when users click on this site the page will launch "You are not authorized to view this page"? and only authorized users using group can access the site. I configured the IIS where right click on the application - Properties - Directory Security and uncheck Anonymous Access and selected Integrated Windows Authentication. I know that there are additional coding and don't know whether to use web.config or VB Class. Please help don't know much about VB programming.
Mar 4 '08 #1
2 2023
DrBunchman
979 Recognized Expert Contributor
Hi techno01,

If you've already selected Integrated Windows Authentication then using file explorer you need to find the folder which contains the application, right click and go to the security tab. You need to ad your AD group and give them the required permissions and exclude everyone from the list that you don't want to give access to.

When a member of your AD group browses your site they should be prompted to enter their windows username and password which will give them access to your site.

Let me know how you get on,

Dr B
Mar 4 '08 #2
techno01
2 New Member
Dr B,

Thanks for your reply, I added the group and gave the proper permissions and "Everyone" with deny access (inetpub - wwwroot -application name) but I get "server unavailable" page when I browse the page. Is there a way that when the group clicks on this site it doesn't prompt to enter the username and password since they are already logged on with their username and password? The others when they click should get a page saying" You are not authorized to view this page. Please request to access the site".

Techno01

Hi techno01,

If you've already selected Integrated Windows Authentication then using file explorer you need to find the folder which contains the application, right click and go to the security tab. You need to ad your AD group and give them the required permissions and exclude everyone from the list that you don't want to give access to.

When a member of your AD group browses your site they should be prompted to enter their windows username and password which will give them access to your site.

Let me know how you get on,

Dr B
Mar 5 '08 #3

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

Similar topics

2
6768
by: Aprochko | last post by:
Attempting to access outlook from C# .NET ASP app. Have added reference to COM Microsoft Outlook 11 Object Library. Have included using System.Runtime.InteropServices; using System.Web.Mail; using Microsoft.Office; using Microsoft.Office.Interop; using Microsoft.Office.Interop.Outlook; using Microsoft.Office.Core;
2
18929
by: Brent Burkart | last post by:
I am trying to send an email using SMTP server through IIS. I am recieving the following error. Access is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.UnauthorizedAccessException: Access is denied.
4
4200
by: Brent Burkart | last post by:
I have an asp.net application written that works on every machine I have tried it on except for one. This one XP machine throws the following error. ASP.NET is not authorized to access the requested resource. Can anyone explain to me why only the one machine might throw that error? Thanks, Brent
3
1530
by: Dan | last post by:
hi ng, i'd like to add control elements on a page, but only for users that are authotized to access a certain location, defined in web.config. my question: is it possible to read the <allow users="" /> section of a <location> in web.config, or do i have to add these users as key-value elements that can be accessed by AppSetting... ? i didn't find another solution, but that way is very unconfortable in a environment with many users.
4
3379
by: Gaetan | last post by:
I just cannot read any more MSDN articles on IIS6 and ASP.Net authentication ... everything is blurry now, tanks to old eyes. Here is a topo of my environment: - W2K3 SP1 (IIS 6) - Web site is a virtual directory under Default Web Site - Web site is configured with "Integrated Windows Authentication" and the "Enable
1
2433
by: Arpan | last post by:
Suppose a web.config file (existing in C:\Inetpub\wwwroot\ASPX) has the following code: <configuration> <system.web> <authentication mode="Forms"> <forms name="AuthenticateUser" loginUrl="ValidateUser.aspx"> <credentials passwordFormat="Clear"> <user name="simon" password="nomis"/>
3
4310
by: ssg31415926 | last post by:
I'm getting the error: "Unable to open the Web 'http://blah/blahblah'. You are not authorized to perform the current operation". I have changed a few things recently but I can't change them back as I need them. I can't find anything about it using searches. Yesterday, I removed the "Enable anonymous access" option from my web (within the Default Web Site). The web has Integrated Windows authentication checked. The site must check AD...
9
2328
by: Jonathan Wood | last post by:
I've spent days trying to come up with a solution. I'd appreciate it if anyone can help. My site requires all users to log on. There are three different roles of users, and each user type will have access to a completely different set of pages. "Client" pages are in the root folder and "Admin" and "Trainer" pages each have their own subfolders. The problem is that when a user goes to the domain, I want to redirect "Admin" and...
0
2692
by: raylopez99 | last post by:
10 years ago, the below was written (see very end, after my signature RL). What, if anything, has changed? I have Access 2003 and soon Access 2007 on a Windows XP Professional or Windows Vista Ultimate machine, with SQL Server Express running on it, and I want somebody, with a password (which I will provide) to be able to log onto a A03 or A07 dB from the internet. Now that I type this I realize that unless I put the database onto a...
0
8403
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
8833
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...
1
8509
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
7345
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...
0
5636
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();...
0
4168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4327
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2735
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
1967
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.