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

Windows Authentication for a single ASPX page in a web site.

Gurus,

I have a situation, we have a web site running fine in ASP.Net, in that
I have a single WEBFORM (test/test.aspx), when a user clicks this I
want to have windows authentication for the same. I don't want windows
authentication for the whole web site, just for that single web form,
which is in folder "TEST", or let all the people in the current DOMAIN
access that page.

is that possible, if yes how is it achieved ?

thanks in advance,
shailendra

Nov 19 '05 #1
2 1412
Only for that directory, turn the "Integrated Security" on in IIS.

--
Manohar Kamath
Editor, .netBooks
www.dotnetbooks.com
"batham" <ba****@gmail.com> wrote in message
news:11*********************@g43g2000cwa.googlegro ups.com...
Gurus,

I have a situation, we have a web site running fine in ASP.Net, in that
I have a single WEBFORM (test/test.aspx), when a user clicks this I
want to have windows authentication for the same. I don't want windows
authentication for the whole web site, just for that single web form,
which is in folder "TEST", or let all the people in the current DOMAIN
access that page.

is that possible, if yes how is it achieved ?

thanks in advance,
shailendra

Nov 19 '05 #2
Create a 2nd Virtual directory and set the properties to Integrated Windows.
Be sure to uncheck Allow anonymous.

If you have
http://Server/YourApp/Default.aspx

then create
http://Server/YourApp/Test/Test.aspx

In IIS right click YourApp virtual directory and Create a new one under it
named Test.
--
Joe Fallon


"batham" <ba****@gmail.com> wrote in message
news:11*********************@g43g2000cwa.googlegro ups.com...
Gurus,

I have a situation, we have a web site running fine in ASP.Net, in that
I have a single WEBFORM (test/test.aspx), when a user clicks this I
want to have windows authentication for the same. I don't want windows
authentication for the whole web site, just for that single web form,
which is in folder "TEST", or let all the people in the current DOMAIN
access that page.

is that possible, if yes how is it achieved ?

thanks in advance,
shailendra

Nov 19 '05 #3

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

Similar topics

2
by: Joseph Geretz | last post by:
I'm having a credentialing problem in my web application. Actually, I don't think this is an IIS security issue, since I'm able to access the page I'm requesting. However, the executing page itself...
4
by: Andrew | last post by:
Hey all, I would like to preface my question by stating I am still learning ASP.net and while I am confident in the basics and foundation, the more advanced stuff is still a challenge. Ok....
4
by: Bennett Haselton | last post by:
If I add this to my web.config file: <authentication mode="Forms"> <forms name=".ASPXUSERDEMO" loginUrl="login.aspx" protection="All" timeout="60" /> </authentication> I can configure the...
5
by: Maziar Aflatoun | last post by:
Hi everyone, I have a login .aspx page that I like to forward my users to. However, can't do it using <authorization> ..... </authorization> because I need anonymous users to use it without...
2
by: UJ | last post by:
I have a web site up and going and on the main login screen there's a help menu option. If the person selects that before they have logged in, it attempts to redirect them to a page telling them...
7
by: Alice Wong | last post by:
I am setting up my Web ASP.net application to connect to Sql server using windows authentication. I set up IIS to have integrated windows authenication and sql to allow Windows authentication....
3
by: charles | last post by:
Hi, I am trying to port my ASP application to ASP.Net 2.0 My application is sold to large corporations that have many thousands of users. So I do not use Forms authentication. To make it more...
14
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...
3
by: kpg | last post by:
ASP.NET 2.0 I have an unusual situation dealing with forms authentication, not doubt brought on by how I have structured the application. The setup: Users enter the site from one of several...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.