CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.security Tags:
Item Type: NewsGroup Date Entered: 12/8/2004 1:38:26 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 17 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
austenchen
Asp.Net User
form authentication12/8/2004 1:38:26 AM

0/0

I am developing a Web app with form authentication. Basically, I have Login page, Main page, Registration and Registration Complete page.

For now, I have developed two solutions for testing purpose. Solution one contains Registration page, Registration Complete page. In this solutions, the start page is Registration page. When user fills in information and click on submit, it will go to Registration Complete page. After user clicks on continue, it will go to solution two.

In solution two, I have form authentication set up. Thus, user will see Login Page first. If user enters the right user name and password, it will go to the Start page(Main Page). I want to put these two solution together. But, I am not sure how.

For now, I have Main page as Start page. In Web.Config, I have "loginUrl=Login". I import Regitration and Registration Complete pages into soluction two and I tried to change to "loginUrl=Registration", but, it doesn't work. It will stay in Registration page.

Any help will be thankful.

Austen
rsmoke21
Asp.Net User
Re: form authentication12/8/2004 3:24:11 AM

0/0

When you combine the solutions you need to mark some of the pages (login, registration, etc) as public and the others (Main) as private, requiring login. Then, set the Forms Auth. to redirect to the login page for unauthenticated access. On the login page create a link for users who are not registered to get to the registration page, which is publicly accessable.
jaikirdatt
Asp.Net User
Re: form authentication12/8/2004 3:34:15 AM

0/0

why are you using two solutions again, just wondering the purpose...

jai
you are not that powerful anniken. Well I should be someday I will be the most powerful Jedi in the world.
austenchen
Asp.Net User
Re: form authentication12/9/2004 2:50:32 AM

0/0

Thanks for the help. I am new with form authentication. I am still not sure how your advice is going to help with my problem.

How do I mark pages to public and private?
Do I still set loginUrl=Login page
Do I still set Start Page=Main page

On the login page, I create a link for user to go to registration page. Since, I still set LoginUrl=Login pags, when user clicks on the link without enterring user name, password and click on submit, the page won't go to Registration page. Help

Austen

rsmoke21
Asp.Net User
Re: form authentication12/9/2004 3:28:16 AM

0/0

Do some research concerning the "Authorization" tag in the web.config file. This tag can be used to restrict access (marking pages as public or private) to a page or pages. You can have a web.config in each directory of your project and define different "Authorization" tags within each web.config. You also could use the "Location" tag in one web.config to specify the same Authorizations in one web.config.
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Programming ASP.NET: Building Web Applications and Services with ASP.NET 2.0 Authors: Jesse Liberty, Dan Hurwitz, Pages: 930, Published: 2005
Programming .NET Security Authors: Adam Freeman, Allen Jones, Pages: 693, Published: -1
Java Servlet Programming Authors: Jason Hunter, William Crawford, Pages: 753, Published: 2001
Microsoft Sharepoint: Building Office 2007 Solutions in VB 2005 Authors: Scot P. Hillier, Pages: 519, Published: 2007
Php 5 Fast & Easy Web Development: Fast & Easy Web Development Authors: Julie C. Meloni, Pages: 545, Published: 2004
Java Enterprise in a Nutshell: [a practical guide] Authors: Jim Farley, William Crawford, Prakash Malani, Safari Tech Books Online, Pages: 892, Published: 2005
Pro ASP.NET 3.5 in C# 2008 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1498, Published: 2007
JavaServer Pages Authors: Hans Bergsten, Pages: 740, Published: 2003
Tomcat: The Definitive Guide Authors: Jason Brittain, Ian F. Darwin, Pages: 303, Published: 2003

Web:
Explained: Forms Authentication in ASP.NET 2.0 This module explains how forms authentication works in ASP.NET version 2.0. It explains how IIS and ASP.NET authentication work together, and it explains ...
How to: Implement Simple Forms Authentication NET forms authentication. It is intended to illustrate the fundamentals of how to use ... A convenient way to work with forms authentication is to use ASP. ...
15 Seconds : Using Forms Authentication in ASP.NET - Part 1 Creating custom authentication schemes just became easier. Jeff Gonzalez shows us how to use Forms Authentication in ASP.NET.
Forms Authentication Tutorial Forms Authentication - This is a cookie based authentication system where the username and passport is stored in a text file or a database. ...
ASP.NET Forms Authentication - Part 1 | O'Reilly Media ASP.NET allows Web applications to authenticate users to allow them access to different parts of a site based on their credentials, using Forms ...
ASP.NET Forms Authentication - CAS Clients - JA-SIG Wiki The other approach is called Forms Authentication. Microsoft expects an application using this technique to code a page that presents a Form with a textbox ...
Simple Form Authentication in 1.2.x.x (Articles) | The Bakery ... There has been a lot of questions about user authentication lately so I thought it was appropriate to create a tutorial that covered the very basics ...
4GuysFromRolla.com - Using Forms Authentication in ASP.NET Many Web sites today behave more like distributed applications than mere content providers. We're all likely familiar with some sort of Web site that has ...
Using Forms Authentication with Active Directory Explains how to implement form authentication using Active Directory warehouse credentials.
Configuring Forms Authentication in SharePoint 2007 In this article, I'll cover some of the quirks to Forms Authentication that you will doubtless encounter when trying to set it up in SharePoint. ...

Videos:
Basic forms authentication using VS.NET In my CIS 407 class at DeVry University we needed to learn to authenticate users using forms authentication.
PHP Tutorial #2 - Login form This PHP tutorial shall cover a BASIC authentication script enabling authorised users access to a specific website. A more advanced and recommended s...
Chris Kinsman from Redmond, USA presenting Forms Authentication with Enterprise Chris Kinsman from Redmond, USA presenting Forms Authentication with Enterprise Library.
PHP Tutorial #4 - Login form (updated) This PHP tutorial elaborates on my second PHP tutorial which covers authentication. This PHP tutorial covers a more advanced PHP script which allow/d...
Forms authentication and adding users to the database Forms authentication again and we also get into adding users to the database. For CIS 407 at DeVry University
Forms authentication using Visual Studio.NET More authentication using VS.NET and forms authentication. A simple walk through.
Re: PHP Tutorial #2 - Login form Video Cam Direct Upload
How to Configure Forms-Based Authentication for Outlook Web http://www.3Demo.com/video/tutorials/owafba/index.php Step1: Enabling Forms Based Authentication
MOSS 2007 Forms Based Authentication MOSS 2007 Office Integration with Forms Based Authentication
PHP Tutorial #2 - Login form This PHP tutorial shall cover a BASIC authentication script enabling authorised users access to a specific website. A more advanced and recommended s...




Search This Site:










prevent caching but still use viewstate on page? possible?

asp:menu control is mission impossible 4

crystal report 10 an visual web developer

capturing the mails in my inbox

adding a module with the wrong folder address

compilation error

url rewriting - hiding the dnn path

some membership basics

send a usercontrol through email

code needed for querying db

our free skin is now on snowcovered

problem getting webcontrols into gac

createuserwizard - how to change the image for create user button

moving a dotnetnuke site

datagrid problem with master pages

after successful database connection

trying to use css styling with validation controls throws off my forms

can i print a report from asp.net

insert an image icon in a gridview cell

why after upload can't work?

registration page

save/load general preferences/properties

why is the content in left bar not in english?

smtp from pws not working on godaddy

2-d array

postback from one webform to another webform in asp.net 2.0

banners in skins

logging errors to a file

usercontrol and checkbox

a first chance exception of type 'system.unauthorizedaccessexception' occurred in mscorlib.dll

 
All Times Are GMT