473,385 Members | 1,582 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,385 software developers and data experts.

Authentication help

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.aspx that is in a
subfolder called secret. The web.config for the first folder looks like
this:
<configuration>
<system.web>
<authentication mode="Forms">
<forms loginUrl="LoginPage.aspx">
<credentials passwordFormat="Clear">
<user name="Jeff" password="imbatman" />
<user name="John" password="redrover" />
<user name="Bob" password="mxyzptlk" />
<user name="Alice" password="nomalice" />
<user name="Mary" password="contrary" />
</credentials>
</forms>
</authentication>
</system.web>
</configuration>

The one that is in the secret folder looks like this:
<configuration>
<system.web>
<authorization>
<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.
Nov 19 '05 #1
2 1516
Pat
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****@integrilogic.com> wrote in message
news:u8**************@TK2MSFTNGP15.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.aspx that is in a
subfolder called secret. The web.config for the first folder looks like
this:
<configuration>
<system.web>
<authentication mode="Forms">
<forms loginUrl="LoginPage.aspx">
<credentials passwordFormat="Clear">
<user name="Jeff" password="imbatman" />
<user name="John" password="redrover" />
<user name="Bob" password="mxyzptlk" />
<user name="Alice" password="nomalice" />
<user name="Mary" password="contrary" />
</credentials>
</forms>
</authentication>
</system.web>
</configuration>

The one that is in the secret folder looks like this:
<configuration>
<system.web>
<authorization>
<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.

Nov 19 '05 #2
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********@hotmail.com> wrote in message
news:el**************@TK2MSFTNGP14.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****@integrilogic.com> wrote in message
news:u8**************@TK2MSFTNGP15.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.aspx that is in a
subfolder called secret. The web.config for the first folder looks like
this:
<configuration>
<system.web>
<authentication mode="Forms">
<forms loginUrl="LoginPage.aspx">
<credentials passwordFormat="Clear">
<user name="Jeff" password="imbatman" />
<user name="John" password="redrover" />
<user name="Bob" password="mxyzptlk" />
<user name="Alice" password="nomalice" />
<user name="Mary" password="contrary" />
</credentials>
</forms>
</authentication>
</system.web>
</configuration>

The one that is in the secret folder looks like this:
<configuration>
<system.web>
<authorization>
<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.


Nov 19 '05 #3

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

Similar topics

8
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...
6
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...
4
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...
8
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...
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....
3
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...
6
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...
10
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...
5
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...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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...

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.