Preview

Visual Studio 2010 - Working with User Logins

Good Essays
Open Document
Open Document
509 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Visual Studio 2010 - Working with User Logins
This tutorial will focus on creating login functionality to allow for only authenticated users to access our web application as well as provide users with the ability to register to the application.

Working with User Logins
Open a New Project

Create a New ASP.NET Web Application

When your project opens, you would need to make adjustments to your Web.config file. This is an XML file that controls most of the project settings.

You will need to insert or modify the authentication code to reflect the following:

This allows for this website becomes a website that is controlled by an internal database. From here we would need to create a Login page.

Right Click on your project and Select Add New Item and name your Web Form Login.aspx and click Add. Also add another Web Form named RegisterUser.aspx to your project, this will be used to allow new users to register to the application.

With the Login.aspx page open, drag and drop the Login Control from Login group in the Toolbox on to the page.

The next task would be to configure the Login element to allow authenticated users to login to the application.

Registering Users and directing them to Content
Customizing the Login Control
The Login Control Properties would be seen on the Properties Panel shown in the screen below, a number of properties would need to be customised for the control to work properly.

Properties that would require some customization • CreateUserText – This property will display text instructing users to register • CreateUserURL – This property directs users to the page with the CreateUserWizard element • DestinationPageURL – This property directs successful logins to a resource, in this case the Default.aspx page.

Register a New User
Open RegisterUser.aspx and Drag and Drop the CreateUserWizard Control to allow new users to register. Ensure that the FinalDestinationPageURL, which directs the user who completes the registration process to the desired page in

You May Also Find These Documents Helpful

  • Powerful Essays

    SCR Case Study 1

    • 821 Words
    • 5 Pages

    It appears that any one can access the intranet from the website. This is a security issue, as it would allow anyone to access the company’s intranet. The link should lead to a login page were only authorized people can access it.…

    • 821 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    Nt1330 Unit 2 Study Guide

    • 362 Words
    • 2 Pages

    - Users will fill up a form in order for them to be a member of the site.…

    • 362 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    In this fundamental the client will have the responsibility of providing the local login and the server will house the data that will be accessed after a login has been provided.…

    • 775 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Nt1330 Unit 5 Study Guide

    • 603 Words
    • 3 Pages

    Login as Mikexxx with his assigned password (you need to know how to login as a new user).…

    • 603 Words
    • 3 Pages
    Powerful Essays
  • Satisfactory Essays

    And also I have learned how to create ASP.NET controls. There are different controls of ASP.NET. They are: ASP. Textbox, ASP. Gridview, ASP. Detailsview, ASP. Rotator:…

    • 485 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    IS3340-Unit 2-Assignment 2

    • 1549 Words
    • 6 Pages

    iv. Users or workforce members must not allow another user or workforce member to use their unique user identification or password.…

    • 1549 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Cobalamin (vitamin B12) cannot be obtained from foods of plant origin, so the patient will be…

    • 3421 Words
    • 17 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Question 1: What URL would you use in your computer's browser to test the functionality of the intranet Web site you just created?…

    • 560 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    An access control system is fundamental in reducing security issues as well as controlling the personnel allowed to access a given place. Its main objective is to ensure limited persons are granted the rights of access. This access can be granted by checking on criteria such as workplace, home or any other specified locations. The access control system may consist of diverse components that collaborate to ensure the main objective is achieved. An effective control system would ensure privileges for the different users vary according to their access rights or levels; the system under research can monitor and record all activities of access, lock and unlock the doors, cancel privileges when a pass card is lost as well as detect usage of canceled cards (Benantar, 2006).…

    • 1220 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    accounts and security groups, and applied the new user accounts to the security groups, just as…

    • 518 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 2 Assesment

    • 271 Words
    • 3 Pages

    In this lab, you used the Microsoft® Active Directory Users and Computers utility to create and manage…

    • 271 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Nut Task2

    • 1026 Words
    • 5 Pages

    Each user having personal log in names and passwords that are unique to them will maintain security. There will also be different user…

    • 1026 Words
    • 5 Pages
    Good Essays
  • Good Essays

    The Center for Writing Excellence and Element K Tutorials section (Figure 6-3) contains four main links. These links include access to My Papers; plagiarism and grammar review tools; Grammar and Writing Guides; and a link to the Element K Tutorials Web site.…

    • 1848 Words
    • 8 Pages
    Good Essays
  • Better Essays

    Access control methods are a process that determines what services or company resources an employee has access to. These methods will be used to determine what an employee can and cannot access, as well as ways to make sure that all employees are being granted the correct access levels. Authentication is a process of determining whether someone or something is who or what they say they are. Authentication can be a form of determining whether an employee is actually the person that they say they are. Employees can be authenticated by being able to answer personal questions that only they would know or by providing a username and password that only the employee knows.…

    • 3217 Words
    • 13 Pages
    Better Essays
  • Satisfactory Essays

    “Words. I’m surrounded by thousands of words. Maybe millions. Cathedral. Mayonnaise. Pomegranate. Mississippi. Neapolitan. Hippopotamus. Silky Terrifying. Iridescent. Tickle. Sneeze. Wish. Worry.” (1) To me Melody is different then a lot of 5th graders. But it is in a good way. She is very selfless, a lot of kids her age are selfish they are very greedy and don’t appreciate what they have. Melody had to. For a long time, she was not able to talk so she just went with whatever happened and as long as it served the propose she was happy.…

    • 468 Words
    • 2 Pages
    Satisfactory Essays