I am having some authentication issues. I download a sample app to test the
forms based authentication process of asp.net and it works on one of my
servers but not the other one. The one that it is not working on is my
production server and has OWA, CRM, Sharepoint, etc. Most everything is
configured to require windows authentication and use https but for this one
test folder, I changed it to not use https and to allow anonymous access.
However, when I click on the button that takes me to the page that should
require forms based authentication, it shows me the page without requiring
authentication. I know this is pretty vague but I was hoping someone could
point me in the right direction. There is a publicpage.aspx that just has a
button that redirects me to a page called privatepage.asp x that is in a
subfolder called secret. The web.config for the first folder looks like
this:
<configuratio n>
<system.web>
<authenticati on mode="Forms">
<forms loginUrl="Login Page.aspx">
<credentials passwordFormat= "Clear">
<user name="Jeff" password="imbat man" />
<user name="John" password="redro ver" />
<user name="Bob" password="mxyzp tlk" />
<user name="Alice" password="nomal ice" />
<user name="Mary" password="contr ary" />
</credentials>
</forms>
</authentication>
</system.web>
</configuration>
The one that is in the secret folder looks like this:
<configuratio n>
<system.web>
<authorizatio n>
<deny users="?" />
</authorization>
</system.web>
</configuration>
One one server, it redirects to the login page just fine but the other one
doesn't authenticate and just shows me the page. Thanks again for any help.
BTW, both servers are running Windows 2003 without SP1. 2 1540
Bruce is your Allow Anonymous Access checked at the same time with Integrate
Security?
And by the way where is you web.config located
Patrick
"Bruce Groen" <br****@integri logic.com> wrote in message
news:u8******** ******@TK2MSFTN GP15.phx.gbl... I am having some authentication issues. I download a sample app to test
the forms based authentication process of asp.net and it works on one of my servers but not the other one. The one that it is not working on is my production server and has OWA, CRM, Sharepoint, etc. Most everything is configured to require windows authentication and use https but for this
one test folder, I changed it to not use https and to allow anonymous access. However, when I click on the button that takes me to the page that should require forms based authentication, it shows me the page without requiring authentication. I know this is pretty vague but I was hoping someone
could point me in the right direction. There is a publicpage.aspx that just has
a button that redirects me to a page called privatepage.asp x that is in a subfolder called secret. The web.config for the first folder looks like this: <configuratio n> <system.web> <authenticati on mode="Forms"> <forms loginUrl="Login Page.aspx"> <credentials passwordFormat= "Clear"> <user name="Jeff" password="imbat man" /> <user name="John" password="redro ver" /> <user name="Bob" password="mxyzp tlk" /> <user name="Alice" password="nomal ice" /> <user name="Mary" password="contr ary" /> </credentials> </forms> </authentication> </system.web> </configuration>
The one that is in the secret folder looks like this: <configuratio n> <system.web> <authorizatio n> <deny users="?" /> </authorization> </system.web> </configuration>
One one server, it redirects to the login page just fine but the other one doesn't authenticate and just shows me the page. Thanks again for any
help. BTW, both servers are running Windows 2003 without SP1.
For the Default Web Site the Enable anonymouse access is not checked and the
Integrated Windows Authentication is checked.
But when I right click on the folder that I have stored the actual aspx
pages in, it has the Enable anonymouse access checked and Integrated Windows
Authentication is unchecked.
There is a webconfig in the wwwroot folder as well as in the appfolder where
the public aspx file resides and one in the secret subfolder which is where
the private.aspx resides. The two config files I posted were teh appfolder
and the secret subfolder respectively.
Let me know if you have more questions. Thanks for your help.
"Pat" <na********@hot mail.com> wrote in message
news:el******** ******@TK2MSFTN GP14.phx.gbl... Bruce is your Allow Anonymous Access checked at the same time with
Integrate Security? And by the way where is you web.config located Patrick
"Bruce Groen" <br****@integri logic.com> wrote in message news:u8******** ******@TK2MSFTN GP15.phx.gbl... I am having some authentication issues. I download a sample app to test the forms based authentication process of asp.net and it works on one of my servers but not the other one. The one that it is not working on is my production server and has OWA, CRM, Sharepoint, etc. Most everything is configured to require windows authentication and use https but for this one test folder, I changed it to not use https and to allow anonymous
access. However, when I click on the button that takes me to the page that
should require forms based authentication, it shows me the page without
requiring authentication. I know this is pretty vague but I was hoping someone could point me in the right direction. There is a publicpage.aspx that just
has a button that redirects me to a page called privatepage.asp x that is in a subfolder called secret. The web.config for the first folder looks like this: <configuratio n> <system.web> <authenticati on mode="Forms"> <forms loginUrl="Login Page.aspx"> <credentials passwordFormat= "Clear"> <user name="Jeff" password="imbat man" /> <user name="John" password="redro ver" /> <user name="Bob" password="mxyzp tlk" /> <user name="Alice" password="nomal ice" /> <user name="Mary" password="contr ary" /> </credentials> </forms> </authentication> </system.web> </configuration>
The one that is in the secret folder looks like this: <configuratio n> <system.web> <authorizatio n> <deny users="?" /> </authorization> </system.web> </configuration>
One one server, it redirects to the login page just fine but the other
one doesn't authenticate and just shows me the page. Thanks again for any help. BTW, both servers are running Windows 2003 without SP1.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bob Everland |
last post by:
I have an application that is ISAPI and the only way to
secure it is through NT permissions. I need to have a way
to login to windows authentication so that when I get to
the ISAPI application no boxes come up. I want an ASP page
to sit between the user and the ISAPI application. The
rest of my application is using authentication that is
database driven and wouldn't want the users to know the
userid and password. Is this possible? If so...
|
by: Billy Jacobs |
last post by:
I have a website which has both secure and non-secure
pages. I want to uses forms authentication. How do I
accomplish this?
Originally I had my web.config file in the root with Forms
Authentication set up and it worked just fine. Then I
realized that I needed to have some pages unsecure.
I then created 2 directories. One named Secure and the
other named Public. I placed my web.config file in my
|
by: David Moore |
last post by:
Hello
I am using the System.DirectoryServices namespace classes to access Active Directory. We connect using the LDAP://DOMAIN method.
The code works on local dev boxes, and in staging, but doesn't work on a particular box in our production environment. When we try to connect and do a search, we get a "The authentication mechanism is unknown" error. I have searched on Google, Microsoft Support Knowledge Base and Yahoo etc, and found this...
|
by: tcg_gilbert |
last post by:
I'm developing a web application for our local intranet that will allow users
to pull up a webpage and update or deleted or insert records into a database
as well as run reports etc...
Our DB server is on a Win2k3 OS using SQL Server 2000
Our Web server is on a separate Win2kr OS using IIS 6
Both the servers and the clients are part of the same domain.
We've turned anonymous access off on the web and are passing the integrated...
|
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. :)
| |
by: Stephanie Stowe |
last post by:
I am new to ASP.NET having come from ASP classic background. I need to
understand authentication. I have a server running IIS which contains an
ASP.NET app. On IIS the app has both anonymous and Windows Integrated
Authentication enabled. In the ASP.NET app, the web.config file contains
<authentication mode="Windows" />
The help on this element says of this setting
Specifies Windows authentication as the default authentication mode....
|
by: Ming Zhang |
last post by:
Hi guys,
I have couple of ASP.NET applications that only support digest windows
authentication, and credentials are managed in a central AD. When users
login to one app, they can easily navigate to other apps without reenter
UID/PWD. Everything works except it doesn't meet our security policy for new
created users. When creating a new user, it's required to have "user must
change password when first time login". In this case, the user will...
|
by: Hriday |
last post by:
Hi there, Please help me..It is urgent
This is Hriday, working on windows authentication with
Active Directory...
My requirment is when a user sends a request to my web
Applicatoin I want to Pop up windows Authentication box so
that user will give his userId, Password & domain name for
authenticaion. After that I want to take these three info
of user and make a search in Active Directory.
|
by: Rory Becker |
last post by:
Having now created a Custom MembershipProvider that seems to work correctly
with my Logon and ChangePassword controls, I am, as they say, a happy bunny.
The next stange is to move on to the creation of content which adjusts based
on the user.
I have several pages which require a user to be logged on and several which
do not. Prior to this point in time I have used 2 different master pages.
one with a control which checks a session...
|
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...
|
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,...
| |
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...
|
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,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
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();...
|
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...
| |
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
| |