© 2003 By Default! A Free sample background from www.awesomebackgrounds.com Slide 1 Week 2  Free PHP Hosting Setup  PHP Backend  Backend Security 

Slides:



Advertisements
Similar presentations
MFA for Business Banking – Security Questions with 2nd Request Multifactor Authentication: Quick Tip Sheets Note to Financial Institutions: We are providing.
Advertisements

MFA for Business Banking – Security Code Multifactor Authentication: Quick Tip Sheets Note to Financial Institutions: We are providing these QT sheets.
WordPress Installation for Beginners Sheila Bergman
LIS651 lecture 3 taming PHP Thomas Krichel
Welcome to WebCRD.
Help File For User Creation Click the “Course” button for Creating/Add User.
Creating a Login Process Creating a users table and a login form that denies access to unauthorized users.
Web Filtering. ExchangeDefender Web Filtering provides policy-controlled protection from dangerous content on the web. Web Filtering is agent based, allowing.
PRACTICAL PHP AND MYSQL WALKTHROUGH USING SAMPLE CODES – MAX NG.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Edit the text with your own short phrases. The animation is already done for you; just copy and paste the slide into your existing presentation. RegisterLogin.
Document Management System
A detailed guide on how to set-up your printing storefront. Please Note: Storefronts are compatible with all browsers, however for optimal use of the admin.
Week 4  Using PHP with HTML forms  Form Validation  Create your own Contact form Please Visit:
Welcome to the Second Tutorial Welcome to the second part of this communication system website tutorial! This tutorial is for church planters. When you.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
Create an online booking system (login/registration)
CS105 Lab 1 – Introduction Section: ??? TA: ??? ??? Announcements CITES Accounts Compass Netfiles Other Administrative Information CS105 Fall
1 Tutorial 2 ABC Web site. Objective Learning web applications design Conducting assumed business logic online Connecting the Database with the web pages.
Tutorial 10 Adding Spry Elements and Database Functionality Dreamweaver CS3 Tutorial 101.
Beams Division Local Administrators Meeting 9/17/02 Brian Drendel.
WaveMaker Visual AJAX Studio 4.0 Training Authentication.
ENTERING ELIGIBLE ENERGY RESOURCE APPLICATIONS IN DELAFILE Version 2.0 August 25, 2015.
1 Working with MS SQL Server Textbook Chapter 14.
Go to your school’s web locker site school name.schoolweblockers.com) Your user name is the first letter of your first name, the first four.
Installing and Using MySQL and phpMyAdmin. Last Time... Installing Apache server Installing PHP Running basic PHP scripts on the server Not necessary.
MySQL Databases & PHP Integration Using PHP to write data to, and retrieve data from, a MySQL database.
NMED 3850 A Advanced Online Design January 12, 2010 V. Mahadevan.
Week seven CIT 354 Internet II. 2 Objectives Database_Driven User Authentication Using Cookies Session Basics Summary Homework and Project 2.
Hello We are looking for a coder to code the following We have a network that has different sites: we need an application that will scan the network and.
Go to your school’s web locker site school name.schoolweblockers.com) Your user name is the first letter of your first name, the first 4.
Request username and password if you don’t already have one.
Damian Tamayo Tutorial DTM Data Generator Fall 2008 CIS 764.
14. Uploading Files to MySQL Database. M. Udin Harun Al Rasyid, S.Kom, Ph.D Desain dan.
Creating a Web Site Using 000webhost.com The 000webhost.com Site You will be required to create an account in order to use their host computer 000webhost.com.
Go to your school’s web locker site Your user name is the first letter of your first name, the first four letters of.
Setting Up your Hosting Account and Installing WordPress and Omeka CCC America Advanced Omeka Training.
Creating A Database Driven Website 1.Setting Up Your Web Server 2.Creating a Database 3.Creating a Webpage to Display Information From a Database 4.Creating.
Creating a simple database This shows you how to set up a database using PHPMyAdmin (installed with WAMP)
Apache, MySQL and PHP Installation and Configuration Chapter 2 MySQL Installation and Configuration.
U:/msu/course/cse/103 Day 21, Slide 1 CSE 103 Makeups –If you didn’t take one over the weekend, take one TUESDAY or WEDNESDAY!
Training Guide Copy/Print. Log into Inside Augsburg.
Database Access Control IST2101. Why Implementing User Authentication? Remove a lot of redundancies in duplicate inputs of database information – Your.
Class 3Intro to Databases Class 4 Simple Example of a Database We’re going to build a simple example of a database, which will allow us to register users.
IS2803 Developing Multimedia Applications for Business (Part 2) Lecture 1: Introduction to IS2803 Rob Gleasure
MySQL MySQL and PHP – interacting with a database.
ASSIGNMENT 2 Salim Malakouti. Ticketing Website  User submits tickets  Admins answer tickets or take appropriate actions.
Sessions and cookies (part 2) MIS 3501, Fall 2015 Brad N Greenwood, PhD Department of MIS Fox School of Business Temple University 11/19/2015.
Advanced Website Design Professor: Jared Kozel Class Description: Are you already familiar with how to construct a basic Website? This class will teach.
© 2003 By Default! A Free sample background from Slide 1 Week 3  Backend Construction  Create your own CRM Please Visit:
© 2003 By Default! A Free sample background from Slide 1 Week 6  Flash Video  Flash Sites (Continued) Please Visit:
LOGIN FORMS.
1 E-Site - FTP Services Setup / install guide. 2 About FTP services can run on any desired port(s) Runs as a windows service Works for all sites installed.
H OW TO INSTALL W ORDPRESS MANUALLY Enukesoftware.com.
Accessing Your Documents from Your Personal Computer.
Intro to WordPress (Using XAMPP)
Logging Into Windows XP for first time (labs only!)
Setting and Upload Products
Using the Personal Image Photo Library
Web Design and Development
MYSQL and WAMP On LocalHost
Step by step instructions to Add an Admin User in WordPress utilizing FTP Guided By: - WPGLOBALSUPPORTWPGLOBALSUPPORT.
Part 2 Setting up a web server the easy way
Login & administration page
SEEM4570 Tutorial 07: Filezilla and PHP
Web File Sharing.
Welcome to WebCRD.
You will need to click the login button here
Technical Integration Guide
Using the Bartlett Diagnostic Sample Submission Program (Plants)
Presentation transcript:

© 2003 By Default! A Free sample background from Slide 1 Week 2  Free PHP Hosting Setup  PHP Backend  Backend Security  Login / Logout Please Visit: to download all the PowerPoint Slides for the different weeks

© 2003 By Default! A Free sample background from Slide 2 Free PHP Hosting Setup First we must setup a hosting account so we can successfully test our PHP code, without a Linux hosted account – our PHP code will not render properly First we must setup a hosting account so we can successfully test our PHP code, without a Linux hosted account – our PHP code will not render properly Lets go to: Lets go to: Please Follow these steps if you do not have a hosting account to upload your PHP files to Please Follow these steps if you do not have a hosting account to upload your PHP files to –Create an account with Zymic –Fill out your login information and the Captcha and Submit your registration –Login in to your account –Click the “Create New Web Host Account” button –Fill out your desired hosting account information for the sub domain for the Website (for example, mine is jrod336.vndv.com) –You can now go to the File Manager and Upload your files!

© 2003 By Default! A Free sample background from Slide 3 PHP Backend Creating a PHP Backend Creating a PHP Backend –File Structure index.phpindex.php –Main File that processes all commands functions.phpfunctions.php –Contains all functions that will be used for backend uservariables.phpuservariables.php –Will grab all of the information for a user logging into the database and store it definitions.phpdefinitions.php –All Definitions pertaining to the backend variables and files and other information can be housed here

© 2003 By Default! A Free sample background from Slide 4 Backend Security & Rules To Create a Backend, one of the most important features to keep in mind is Security. To Create a Backend, one of the most important features to keep in mind is Security. –User Security  Do not allow users to login who do not supply the appropriate credentials requested by the client –Administrators  If there are different types of logins, restrict access to certain parts of the backend to non-Administrators HINT: Define a variable in your ‘users’ table called ‘admin’ and set it to 1 if that person is an administrator, otherwise set it to a default of 0HINT: Define a variable in your ‘users’ table called ‘admin’ and set it to 1 if that person is an administrator, otherwise set it to a default of 0 –Compartmentalization  Do not make database queries (specifically connect strings) easily accesible to users. Usually, change the permissions of the functions.php, definitions.php, and uservariables.php to Read Only. Learn more about changing file access here. here Here are a few general rules to keep in mind when creating your own PHP backend: Here are a few general rules to keep in mind when creating your own PHP backend: –$_SESSION Variables  If you are looking to allow information to saved and stored (you don’t want your user to be prompted to login every page reload) then you will need to store some of these. Make sure to use start_session(); as the first line of your code every time when using $_SESSION VariablesMake sure to use start_session(); as the first line of your code every time when using $_SESSION Variables –Logging  If something is changed or added, make sure to make some sort of documentation of this either in a text log file or in the database –Passing PHP Tokens  You can pass variables information from page to page with PHP by using this naming system after the PHP filename ?var1=value1&var2=value2?var1=value1&var2=value2 You can then retrieve the variables by using $_REQUEST[‘var1']You can then retrieve the variables by using $_REQUEST[‘var1']

© 2003 By Default! A Free sample background from Slide 5 Login / Logout Here is the Process for a User who would be logging into their backend of their site: Here is the Process for a User who would be logging into their backend of their site: 1.User would be prompted for credentials at the Login Page 2.If their Login was correct and successfully checked with the database records, then set their $login = 1, and also the users’ $_SESSION[‘login’] = 1 3.If not, you can let them know they can try again –If you want, you can lock them out from potentially logging in if they fail a certain amount of times

© 2003 By Default! A Free sample background from Slide 6 Your Turn! Create a new folder on your desktop and name it “lastname_firstname” so mine would be “kozel_jared” Create a new folder on your desktop and name it “lastname_firstname” so mine would be “kozel_jared” –Save all of your files associated with your PHP files here Download this zip file to start with here Download this zip file to start with herehere –Unzip all of the files into your folder you just created Open up Adobe Dreamweaver CS3 Open up Adobe Dreamweaver CS3 –You can now open each of the files in Dreamweaver –Start Making the Appropriate Changes to the files Challenges (Let me know if you have questions) Challenges (Let me know if you have questions) –Try to create a user table inside your MySQL database by creating a database through your Web Hosting Panel User Table Should Contain These FieldsUser Table Should Contain These Fields –id (INT 10 PRIMARY auto_increment) –username (VARCHAR 100) –password (VARCHAR 100) –name (VARCHAR 200) –admin (INT 1) –Try to Connect Successfully to your database by changing the function.php file –Create a user in your database for yourself –Login to your User Panel! –Create a Form for General Settings and add the ability to change your name (HINT: look at how the change password function works)