CONFIGURING WINDOWS SERVER MIS 424 Professor Sandvig.

Slides:



Advertisements
Similar presentations
Eric J. Oszakiewski MCTS: SharePoint Application Development SharePoint Configuration.
Advertisements

Forms Authentication, Users, Roles, Membership Ventsislav Popov Crossroad Ltd.
Presentation Heading – font Arial
Copyright ®xSpring Pte Ltd, All rights reserved Versions AuthorDateDescription 1.0NBL2012/05First version. Modified from Enterprise edition.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
Copyright ®xSpring Pte Ltd, All rights reserved Versions AuthorDateDescription 1.0NBL2012/05First version. Modified from Enterprise edition.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
ASP.NET Security MacDonald Ch. 18 MIS 424 MIS 424 Professor Sandvig Professor Sandvig.
Microsoft Windows in Amazon Cloud Ishwor Thapa January 20, 2011.
ASP.NET 2.0 Chapter 6 Securing the ASP.NET Application.
Virtual Machine A virtual machine in Windows Azure is a server in the cloud that one can control and manage. After a virtual machine is created in Windows.
Virtual Private Network (VPN) © N. Ganesan, Ph.D..
SQL Server 2008 Basmah AlQadheeb-213 MIS What is a Database ? A database is a collection of Data that is organized so that it can easily be accessed,
Amazon EC2 Quick Start adapted from EC2_GetStarted.html.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
Mozilla Thunderbird Roderick Bautista Cheryl Knott Gyeong Lee Lee Raynes Kelly Santos.
Sql Server Advanced Features MIS 424 Professor Sandvig.
Ch 8-3 Working with domains and Active Directory.
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
Eucalyptus Virtual Machines Running Maven, Tomcat, and Mysql.
Chapter 9 Using the SqlDataSource Control. References aspx.
Chapter 7: Using Windows Servers to Share Information.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
Microsoft Azure Introduction ISYS 512. Microsoft Azure Microsoft Azure is a cloud.
Forms Authentication, Users, Roles, Membership Svetlin Nakov Telerik Corporation
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.
Web Based Inventory Site Building Room Asset Number Category Type Description Serial Number Manufacturer Model Vendor Name Acquired Date P O Number Budget.
1/28/2010 Network Plus Windows Networking Network Identification Identifies name and type of network. Installed adapters –Performed during Windows installation.
Copyright 2000 eMation SECURITY - Controlling Data Access with
Geo CE-XM ch 4 Edited 10/14/05 1 The XM is the newest of the rovers, and unlike other units, it comes with software installed on the unit as well as using.
Course ILT Internet/intranet support Unit objectives Use the Internet Information Services snap-in to manage IIS, Web sites, virtual directories, and WebDAV.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
1 Installation When this module is complete, you will be able to:  Set a static IP address for your laptop  Install the snom ONE software  Navigate.
1 Working with MS SQL Server Textbook Chapter 14.
EHR Deployment Network Share Setup Updater Service Deployment
DataSource controls in.NET How to access databases.
ASP.NET The Clock Project. The ASP.NET Clock Project The ASP.NET Clock Project is the topic of Chapter 23. By completing the clock project, you will learn.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 13 FTP and Telnet.
Slide 1 ASP Authentication There are basically three authentication modes Windows Passport Forms There are others through WCF You choose an authentication.
BIT 285: ( Web) Application Programming Lecture 15: Tuesday, February 24, 2015 Microsoft Azure Instructor: Craig Duckett.
2. SQL Security Objectives –Learn SQL Server 2000 components Contents –Understanding the Authentication Process –Understanding the Authorization Process.
Purpose Intended Audience and Presenter Contents Proposed Presentation Length Intended audience is all distributor partners and VARs This would be presented.
Web Access. Overview  Purpose  Prerequisites  Install Components  Enable Virtual Directories  IIS Configuration & Security  Troubleshooting.
Creating an Access Project* If you came to this presentation via a web browser, right-click and choose “Full Screen” before proceeding. Click mouse or.
Microsoft FrontPage 2003 Illustrated Complete Integrating a Database with a Web Site.
BSG Group - Dau Anh Trong1 Introduction about MS SQL Server 2005.
1 Chapter Overview Creating Web Sites and FTP Sites Creating Virtual Directories Managing Site Security Troubleshooting IIS.
FTP COMMANDS OBJECTIVES. General overview. Introduction to FTP server. Types of FTP users. FTP commands examples. FTP commands in action (example of use).
Configuring and Deploying Web Applications Lesson 7.
1 CS 3870/CS 5870: Note 14. Prog5 Due 10 PM Wednesday, Oct 21 Authentication and Authorization 2.
…the basics…. Wildland Fire Information and Technology Server Requirements ● Windows 7 Professional or Windows 2003/2008 Server ● Windows 8/10 (discussion)
Working with ASP.NET Controls What is ASP.NET Using server controls in your pages Allowing users to create their own accounts Creating a login page Letting.
Integrity Check As You Well Know, It Is A Violation Of Academic Integrity To Fake The Results On Any.
NX Documentation Using Windows IIS (Internet Information Services) as a http server for NX documentation.
AZURE AD Haishi DX, Agenda Basic concepts Exercise 1: Creating a new Azure AD tenant and a new user Exercise 2: Enable web app Azure AD authentication.
Upgrade on Windows 7. DownloadSoftware Download Software from link provided in Webliography: e/
COM621: Advanced Interactive Web Development Lecture 10 PHP and MySQL.
Installing RMS 3.0 Contractor Mode
Unit 7 Learning Objectives
Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek
NFX Q-Port on-boarding guide
Configuring Internet-related services
Getting Started: Amazon AWS Account Creation
Configuration Of A Pull Network.
Lecture 16B: Instructions on how to use Hadoop on Amazon Web Services
Ch 1 .Installing and configuring SQL Server 2005
Security - Forms Authentication
How to install and manage exchange server 2010 OP Saklani.
Presentation transcript:

CONFIGURING WINDOWS SERVER MIS 424 Professor Sandvig

Overview In this exercise you will: 1. Log onto Windows Server 2. Create a new application pool 3. Create a new web application 4. Open Sql Server Management Studio 5. Create a new Sql Server database 6. Create a new Sql Server user 7. Assign the user to the database 8. Read your database from web page

Steps You will be provided with an instance of Windows Server 2008 hosted by on Amazon EC2 cloud The next two slides display how an instance is launched from Amazon’s console

Amazon Web Service Console

Select instance type

Instance Each instance is assigned a public IP address The following slide shows the instance management page

Instance Management

Next step is to get the instance password

Instance management

Password Amazon generates a private key for each account. The private key is used to decrypt the password (next slide)

Password

Ta-da!

Login Login to your instance using Remote Desktop Your IP address and password are on the next page

Login Passwords PersonIPusernamepassword Chris Administrator tZ)cKM=H4i Lindsey AdministratorLFwWYV;ibd Alastair Administrator;HszTDR==S$ Ryan AdministratorChivDyNrD3$ Hayley AdministratorF5ZcRU.Yq- Alicia AdministratorT5&*8v=cm6 Daniel AdministratorULxxtxDYF7 Taylor Administrator*sTMkgNcPH-

View IIS Default By default Windows hides file extensions Developers need to see file extensions. Navigate to the IIS root web folder Change folder options to show file extensions

Permissions While in the IIS root folder, check folder permissions. Which permissions are assigned to anonymous web users?

View default web page Open browser on your local machine and view IIS default web page Address is IP address of your instance

Modify default web page Use Notepad to edit the default web page

Create ASP.NET Application You will now use IIS to create a new ASP.NET application.

Create a ASP.NET Application Create a new folder named mis424Application

Create ASP.NET Application Search for IIS using Windows search Open IIS 7.0 Manager

Create a new application pool Your application is important so provide it with its own application pool

New Application pool Give the application pool the same name as the application folder Change framework to 4.0

Create new Application Right click on your new folder and convert it to an application Select your new application pool

Test your application Use Notepad to create a file default.aspx with the following code: void page_load() { lblMessage.Text = ".NET Version: " + System.Environment.Version.ToString() + " Application Pool: " + Request.ServerVariables["APP_POOL_ID"] ; } ASP.NET Test

View new File

Database You have now configured an ASP.NET application The next step is to create a new SQL server database and link to it from your web application.

Create a new database Open Sql Server Management Studio on the remote server

Connect to Sql Server Management Studio will automatically select your database server Click “Connect”

Create new database Name your new database “customers”

Create a new table (as shown)

Create new table You will be connecting an.aspx page to your database so make sure that all the names match the sample Sql Server is case sensitive custID is an identity field custID is the primary key Table name is tblCustomers

Add some data

Permissions Permissions are needed to access the database You will create a new user named Webguest For security reasons Webguest has only limited permissions In the following steps you will: 1. Configure Sql Server to allow Sql server authentication 2. create a new Sql Server user 3. Assign user permissions to your database

Allow Sql Server Authentication Using Sql Server Management Studio right-click on the database server (top folder) and and select Properties Click on Security Change authentication mode

Restart Database In Management Studio right- click on server and select restart

Add new Sql Server user

Add Sql user Username: Webguest Password: guest22 Turn off “enforce password policy”

Assign user to customers database Open Customers database Open Security Right-click “Users” Select “New User

Assign Roles on Database Username and Login name is “Webguest” Assign limited roles: datareader and datawriter

Test login Create a second connection to database in SSMS. Login to server using Sql Server Authentication You now have two connections to database. One as an admin, one as Webguest

Test permissions Try to view, add, update, and delete data Try to add a new table

Connect Web to Database Create a new file crud.aspx using this code Replace data source with your database name from Sql Server Studio Read Sql Server table {margin:10px auto; background-color:#fff;} td {padding:5px;} body {background-color:#ccc;} Read Sql Server <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="custID" DataSourceID="SqlDataSource1"> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="Data Source=win-vuc09id4k05;Initial Catalog=customers;User ID=Webguest;Password=guest22" DeleteCommand="DELETE FROM [tblCustomers] WHERE [custID] InsertCommand="INSERT INTO [tblCustomers] ([name]) VALUES ProviderName="System.Data.SqlClient" SelectCommand="SELECT [custID], [name] FROM [tblCustomers]" UpdateCommand="UPDATE [tblCustomers] SET [name] WHERE [custID]

Test CRUD

links your Amazon cloud links to Professor Sandvig: 1. default.aspx 2. Crud.aspx

Summary Today you have: 1. Logged onto Windows Server 2. Created a new application pool 3. Created a new web application 4. Used Sql Server Management Studio to: a. Create a new database b. Create a new user c. Assign the user to the database d. Log in as the new user 5. Read your database from an.aspx application

Other things you could do: Create your own Amazon EC2 instance (free but requires a credit card) Copy your MIS 324 / MIS 424 assignments to Amazon Setup a CMS Download Microsoft Web Platform Installer Select a CMS (see next page)

Web Platform Installer

Finished