Creating a Login Process Creating a users table and a login form that denies access to unauthorized users.

Slides:



Advertisements
Similar presentations
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Advertisements

Document Properties: adding information to your Microsoft Office documents Step 1: Add information to Document Properties What are Document Properties.
Copyright 2002, Paradigm Publishing Inc. CHAPTER 23 BACKNEXTEND 23-1 LINKS TO OBJECTIVES Form Concepts Creating the Form Template Creating the Form Template.
Microsoft Office 2007 Microsoft Excel Collaboration Feature Using SharePoint and Excel Services.
Access Lesson 2 Creating a Database
Chapter 3 Tables and Page Layout
Searching a Database Creating a Form for Users to Search a Database.
Creating a Users Table The users table contains a list of your site’s authorized users, logins, and passwords.
Access Tutorial 1 Creating a Database
Creating a Site Defining the Local site Setting up the Remote Site Identifying the Testing Server.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 11 1 Microsoft Office Excel 2003 Tutorial 11 – Importing Data Into Excel.
Creating a Blank Database 1. Open up Microsoft Access 2. Click on Blank document button 3. On the right panel, Specify the location for saving your database.
Master Detail Page Set Enabling Users to See More Detailed Data.
Microsoft Access 2007 Microsoft Access 2007 Introduction to Database Programs.
Connecting to Secure Wi-Fi in QSB Boardroom Locations 01 September 2013.
Tutorial 1 Creating a Database. Objectives Learn basic database concepts and terms Learn basic database concepts and terms Explore the Microsoft Access.
1 ADVANCED MICROSOFT WORD Lesson 15 – Creating Forms and Working with Web Documents Microsoft Office 2003: Advanced.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
Advanced Tables Lesson 9. Objectives Creating a Custom Table When a table template doesn’t suit your needs, you can create a custom table in Design view.
Using Dreamweaver. Slide 1 Dreamweaver has 2 screens that do different things The Document window where you create your WebPages The Site window where.
Tutorial 10 Adding Spry Elements and Database Functionality Dreamweaver CS3 Tutorial 101.
Connecting to USF Network for Web Site SSH Secure Shell is the FTP program you will use to download your http files onto the USF server. To get the SSH.
Creating a Survey Using Dreamweaver’s Record Insertion Form Wizard.
Another Method to Open WebSpace as a Web Folder Alternative Method for Creating Web Folder in WebSpace, Slide 1Copyright © 2004, Jim Schwab, University.
Creating a Web Site to Gather Data and Conduct Research.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
Dreamweaver CS4 Concepts and Techniques Chapter 4 Forms.
MAIL MERGING IN MICROSOFT PUBLISHER CREATING LABELS AND DOCUMENTS FOR MULTIPLE PEOPLE AT ONCE.
Uploading Your Page to the Internet Configuring FTP on Dreamweaver.
CREATING A TEST IN WORD 2007 Also creating and using equations in Word 2007 Jeff Klamm Tec 539.
Dreamweaver MX. 2 Overview of Templates n Templates represent a web page design or _______ that will be common to multiple pages. n There are two situations.
Access Manual 2 By Dhawala Kovuri Elham S.Khorasani Ismail Guneydas.
Dreamweaver MX. 2 Overview of Templates n Forms enable you to collect data from ______. n A form contains ________ such as text fields, radio buttons,
Microsoft Access 2010 Chapter 10 Administering a Database System.
® Microsoft Office 2013 Access Creating a Database.
COMPREHENSIVE Access Tutorial 12 Managing and Securing a Database.
® Microsoft Access 2010 Tutorial 12 Managing and Securing a Database.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 7 – Creating and Using Templates in a Web.
Tour Overview Introduction Collage Basics Collage Basics (Templates and Tools) Computer Configuration Bookmark Collage Getting Started Tour Collage Terminology.
Paging Through a Data Table Creating a Navigation Bar Using the Recordset Navigation Bar Server Behavior.
) Main Menu: You can access all aspects of the database from this screen 2) Contacts: You can access the “contact database management” side of.
Slide 1 (of 16) 1) Launch Dreamweaver 8. 2)Under Site, choose New Site. Stanford Continuing Studies CS 22 · Enhanced Web Site Design Week Two DREAMWEAVER.
Fall 2003Sylnovie Merchant, Ph.D. ACCESS Tutorial Note: The purpose of this tutorial is to provide an introduction to some of the functions of ACCESS in.
Introduction to FrontPage and Web Page Design. Topics Logging in to your site Creating a webpage Text formatting Page backgrounds Linking webpages Links.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
January 2006Colby College ITS Setting Up Course Pages.
Double –Click on the Netscape Icon on your desktop The following are a series of steps to help you get started with Netscape Composer.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
How To Make A WebQuest! By: Corianne Langford!.
FIRST COURSE PowerPoint Tutorial 4 Integrating PowerPoint with Other Programs and Collaborating with Workgroups.
Web Page-Chapter 6 Forms. Inserting a Form  Display the Insert bar  Click the arrow to the right of the display category on the Insert bar and then.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
COMPREHENSIVE Access Tutorial 1 Creating a Database.
This is the software we will use to load our html page up to the server. You can download a copy for home if you want to.
FrontPage & Web Page Design. Starting FrontPage Click on the FrontPage icon in the task bar at the bottom of the screen or Locate it from the programs.
Weebly Elements, Continued
Access Tutorial 1 Creating a Database
HOW TO PUT PASSWORD IN WORD, SPREAD SHEET AND DATABASE
Displaying a Data Table
Access Creating a Database
Access Creating a Database
Unit I: Collecting Data with Forms
Access Tutorial 1 Creating a Database
How To Make A WebQuest! By: Corianne Langford!.
Microsoft Excel 2007 – Level 2
Defining the Fields in a Table
Access Tutorial 1 Creating a Database
Access Tutorial 1 Creating a Database
Tutorial 12 Managing and Securing a Database
Presentation transcript:

Creating a Login Process Creating a users table and a login form that denies access to unauthorized users

Creating a Login Process Logging users in is an eight-step process: First, create a database containing a users table. Second, type into the users table the names and passwords of your authorized users. Third, create the login form. Fourth, create the page to which users will be sent if they log on successfully. Fifth, create the page to which users will be sent when they are denied access. Sixth, create a connection to the database containing the table of authorized users. Seventh, add a login server behavior to the login page. Finally, add a restrict access behavior to the other secret pages at your site.

Create the Database Start Microsoft Access, pull down its File menu, and choose the option to create a new blank database. When the File New Database dialog appears, name the database TopSecret.mdb, and save it in a folder that is not in Web space.

Create the Users Table Double-click the option to create a table in Design view. When the Table window opens, create the following four fields. After you type each Field Name, press the Tab key, and a pull-down menu appears in the Data Type column. Pull down that menu and make the field’s data type match the ones illustrated here:

Save the Users Table Pull down the File menu and choose Save; when the Save dialog appears, name the table Users. When Access asks if you want a primary key, say yes. Access will make UserID the primary key, because the autonumber data type makes each user have a unique UserID.

Populate the Users Table Close the table by clicking its close icon. Then double-click the name of the table to open it in data entry mode. Type the following records into the table:

Create the Login Page Use Dreamweaver to open the site in which you want to create the login form. Pull down the File menu and choose New to bring up the New Document dialog. Select the Dynamic Page category to make the Dynamic Page options appear. Select ASP JavaScript and click the Create button; the new page appears. Pull down the File menu, choose Save, and save the file in your site’s local root folder.

Create the Login Form Set the Insert toolbar’s menu to forms. Insert a form and create the following two text fields: username password Insert labels to identify the username and password fields. Insert a submit button and make its text be Login. Use Dreamweaver to format the form as you wish, then save the file.

Create the Success Page After the user logs in, there must be a page to which the user will be sent. This is normally the site’s default page. If this page does not exist, you must create it now.

Create the Rejection Page If the login attempt fails, the user will be sent to a rejection page. The rejection page often explains that access to the site requires an authorized username and password. You may include instructions on how to get a logon, and you may include a link to the login page. If the rejection page does not exist, you must create it now.

Make the Database Connection In the Databases panel (Window > Databases) create a database connection to the database containing the table of authorized users. Remember that the connection string has the form: "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\ webs.oet.udel.edu\fthstudents\databases\ yourLastName\TopSecret.mdb“

Add a Login Server Behavior Open the login page containing your login form. In the Server Behaviors panel (Window > Server Behaviors), click the Plus (+) button and select User Authentication > Log In User. When the Log In User dialog box appears, complete the settings to match your login requirements.

Log In User Dialog Settings

Publish and Test Publish the site and test it. Try logging on as a valid user. Do you get in OK? Enter bogus credentials in the login form. Does it reject you? Troubleshoot any problems until you get the login process working.

Secure Other Pages You can and should protect other pages at your site from access by unauthorized users. To protect a page, open it with Dreamweaver. In the Server Behaviors panel (Window > Server Behavior) click the Plus (+) button and select User Authentication > Restrict Access to Page. Note: Protected pages must be one of the dynamic page types, such as asp.

Restrict Access to Page Dialog