310 likes | 564 Views
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, ...
E N D
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 3Slide 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 4Slide 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 5Slide 5:Windows O/S continued
Security considerations… You will learn lots about the security features of the Windows operating system
Week 1 INT422 6Slide 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 7Slide 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 9Slide 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 10Slide 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 11Slide 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 12Slide 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 13Slide 13:IIS integrates with…
The Windows security infrastructure Authentication Authorization File system permissions Server applications SQL Server database Any other…
Week 1 INT422 14Slide 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 15Slide 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 18Slide 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 19Slide 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 20Slide 20:IIS initial setup and configuration
How do you manage and configure IIS? Use the Computer Management application
Week 1 INT422 21Slide 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 22Slide 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 23Slide 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 24Slide 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 25Slide 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 27Slide 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 28Slide 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 29Slide 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 31Slide 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