1 / 31

INT422

Windows Vista Business, available from ACS. INT422. Week 1. INT422. 4. Windows O/S continued ... Windows Vista Business - IIS. Select desired features and click OK, ...

Kelvin_Ajay
Download Presentation

INT422

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


    Slide 1:INT422 – Internet III – Web Programming on Windows

    Additional Detail – The Windows platform for web applications

    Slide 2:Windows Operating System

    Week 1 INT422 3

    Slide 3:Windows operating system

    The following is a quick review of internet programming related features and capabilities in the Windows operating system Versions… Windows Server 2003 Developers and small sites can also use Windows XP Professional Windows Vista Business, available from ACS

    Week 1 INT422 4

    Slide 4:Windows O/S continued

    IIS is required IIS is the Windows web / ftp / smtp server IIS is included with the Windows O/S More info will be provided on later slides The file system is very important – use NTFS

    Week 1 INT422 5

    Slide 5:Windows O/S continued

    Security considerations… You will learn lots about the security features of the Windows operating system

    Week 1 INT422 6

    Slide 6:Review

    In this course, you are stepping up to the “big league” of Internet programming > 50% of Internet servers run on Windows > 65% of secure (commerce-related) Internet servers run on Windows 9 of the top 10 Internet retailers run on Windows Best performance and feature set available Why? Serious developers love this platform Warning – there’s a fairly steep learning curve Scalable, secure, reliable, feature-filled, etc.

    Week 1 INT422 7

    Slide 7:Review

    We’ll build on Internet programming concepts and knowledge that you have learned in previous semesters HTML, XHTML, DHTML, JavaScript Server-side programming concepts To prepare for the “big league”, we’ll have to review some knowledge about Windows, and learn many new things, especially about security and IIS

    Slide 8:IIS: Internet Information Services

    Week 1 INT422 9

    Slide 9:IIS – Internet Information Services

    IIS – what is it? Web server FTP server Mail server It’s also a platform that runs Internet applications – this is its best feature! Internet applications run on a server Clients use these applications through a browser UI New – Web Services – application with no UI

    Week 1 INT422 10

    Slide 10:IIS – FTP server

    A few quick things about the IIS FTP server Standards-compliant Public content (“anonymous” user) is read-only, and is stored in c:\inetpub\ftproot folder Can have private content Done using the FTP Virtual Folder feature If you create an FTP Virtual Folder that matches your login name, points to your home directory, and assign read-write permissions, then you get automatic / easy private access to your home directory This feature has not been configured on warp

    Week 1 INT422 11

    Slide 11:IIS – Mail server

    A few quick things about the SMTP mail server Standards-compliant Provides mail handling for incoming and outgoing messages Allows you to write applications that send mail Does not – repeat – does not – implement a post office with mailboxes (POP, IMAP, etc.) You have to add software to implement a post office

    Week 1 INT422 12

    Slide 12:IIS – Web server

    Standards-compliant Has other great features too… WebDAV – Web Folders Internet Printing Services Will run ASP pages The original – “legacy” – server-side scripting platform Will run the new ASP.NET pages The .NET Framework must be installed Scalable – can host many web sites

    Week 1 INT422 13

    Slide 13:IIS integrates with…

    The Windows security infrastructure Authentication Authorization File system permissions Server applications SQL Server database Any other…

    Week 1 INT422 14

    Slide 14:IIS installation

    If you have… Windows 2000 Server (all versions) Windows Server 2003 - Web Server Edition It’s already installed Otherwise… you’ll have to install it How? Brief overview is on the next few slides

    Week 1 INT422 15

    Slide 15:IIS installation

    If you have… Windows XP Professional Windows Server 2003 (other than Web Edition) You must be administrator Get the Windows operating system CD Control Panel > Add/Remove Programs > Add/Remove Windows Components Find it and install it

    Slide 16:Windows Vista Business - IIS

    Open Control Panel Click on “Turn Windows features on or off” Must be running as Administrator Week 1 INT422 16

    Slide 17:Windows Vista Business - IIS

    Select desired features and click OK, this process may take a few minutes Week 1 INT422 17

    Week 1 INT422 18

    Slide 18:IIS initial setup and configuration

    After “install”, it’s ready to use How do you know it’s running? Browse to… http://localhost

    Week 1 INT422 19

    Slide 19:IIS initial setup and configuration

    The default folder for web content is… c:\inetpub\wwwroot For the default web server instance, locate your web page content there What’s the name of the default home page for the web site? default.htm (or default.asp for an ASP page) Note – after the .NET Framework gets installed, the default home page name for an ASP.NET page is default.aspx)

    Week 1 INT422 20

    Slide 20:IIS initial setup and configuration

    How do you manage and configure IIS? Use the Computer Management application

    Week 1 INT422 21

    Slide 21:IIS initial setup and configuration

    Default access… Public browsers get read-only access to content Can execute server-side scripts created by the web page author Content is served in the security context of the “anonymous” internet user IUSR_computername This can be customized

    Week 1 INT422 22

    Slide 22:IIS initial setup and configuration

    How do you get content to the server? You must have a valid user account If you’re on the server… Work directly on the web content folder(s) Or, work in a “development” folder, and post to the “production” folder when you’re ready If you’re remote… FrontPage Extensions via Visual Studio .NET This is the preferred method Alternative – file share access to the content folder(s)

    Week 1 INT422 23

    Slide 23:IIS important concept

    How is your content organized on the IIS web server? Tip – this is crucially important information !!! An “application” is the organizational unit, and is stored in its own container The container is simply a folder (which includes files and other folders) Each application will have a name (or alias) You specify the name when you create a new application in Visual Studio .NET This is very importantThis is very important

    Week 1 INT422 24

    Slide 24:IIS important concept (continued)

    To access (start/open/run) your application, you must specify its name in the URL Example: Start the application in the home directory of “student” http://warp.senecac.on.ca/student

    Week 1 INT422 25

    Slide 25:IIS important concept

    FPSE – FrontPage Server Extensions Note – Visual Studio .NET also refers to this as “FPE – FrontPage Extensions” (without the “Server” word) A set of technologies that add functionality (content posting, administration) Automatically installed when IIS is installed Don’t mess with them!

    Slide 26:Concept Review: Windows Security

    Week 1 INT422 27

    Slide 27:Windows security

    SECURITY IS VERY IMPORTANT SECURITY IS VERY IMPORTANT SECURITY IS VERY IMPORTANT SECURITY IS VERY IMPORTANT SECURITY IS VERY IMPORTANT

    Week 1 INT422 28

    Slide 28:Windows security terminology

    Get familiar with these terms (homework!) File system permissions Network permissions IIS permissions Users, groups, and how to manage Authentication Credentials Authorization Impersonation Security context

    Week 1 INT422 29

    Slide 29:Windows security tools

    Get familiar with the tools to help you manage users, groups, permissions, authentication, etc. Explorer Computer Management IIS Manager (on your own computer) Demonstrate while talking about these. Also demonstrate: user and group management (create, assign, etc.) file system permissions and their effect create a virtual directory, access it over the Internet Demonstrate while talking about these. Also demonstrate: user and group management (create, assign, etc.) file system permissions and their effect create a virtual directory, access it over the Internet

    Slide 30:Getting Help

    Week 1 INT422 31

    Slide 31:Getting help

    Sometimes, it may appear that there is too much “help” available… however… Be prepared to spend LOTS of time reading, researching, analyzing, and applying Help resources include… Course materials Textbook Online resources (particularly MSDN) People – your professor, tutors, fellow students

More Related