Mukezh

Session WEB ARCHITECTURE AND COMPONENTS

Nov 23rd, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.36 KB | None | 0 0
  1. WEB ARCHITECTURE AND COMPONENTS
  2. ===============================
  3.  
  4. 1. Domain Name : Its tough for a user to remember the IP address of a website so these websites are assigned with a domain name such as google.com , facebook.com etc etc. So in order to open or access the website one has to visit the domain name.
  5.  
  6. Domain name Meaning
  7.  
  8. com---------------------->Commerical business
  9. edu---------------------->Education
  10. gov---------------------->Governement
  11. int---------------------->international entity
  12. mil---------------------->US miltary
  13. net --------------------->Network Organization
  14. org---------------------->Non profit Organization
  15.  
  16.  
  17. 2. Web Hosting Space :
  18. -->Web hosting is a service of providing online space for storage of web pages.
  19. -->These web pages are made available via World Wide Web. The companies which offer website hosting are known as Web hosts.
  20. -->The servers on which web site is hosted remain switched on 24 x7.
  21. -->These servers are run by web hosting companies. Each server has its own IP address Eg. GoDaddy, BigRock ICANN provide these hosting spaces to Godaddy etc.
  22.  
  23. Types of Hosting:
  24. ----------------
  25. 1.Shared Hosting:In shared hosting, the hosting company puts thousand of website on the same physical server. Each customer has their own allocation of physical web space and a set of bandwidth limit. As all websites share same physical memory.
  26. Drawbacks:
  27. ----------
  28. -->Shared servers are usually prone to hacking attacks.
  29. -->Any malicious activity that the server suffers affects the whole network of websites using the server.
  30. -->Your hosting plan may have lesser features compared to dedicated hosting plans.
  31.  
  32. 2.Dedicated Hosting:
  33. -------------------
  34. -->In this kind of hosting, single dedicated server is setup for just one customer. It is commonly used by the businesses that need the power, control and security that a dedicated server offers.
  35.  
  36. Advantages:
  37. ----------
  38. -->Users get better Security
  39. -->amount of bandwidth you will require
  40. --> provides flexibility, scalability, and better management of your own and your customers
  41. 3. Operating Systems : On which Operating System we want to build our website. Eg. Linux, Windows
  42.  
  43. 4. Server Type : Which type of server we are using to host our website. Request and Response of the application.
  44. Windows - IIS - Internet Information Services (IIS) is a flexible, general-purpose web server from Microsoft that runs on Windows systems to serve requested HTML pages or files
  45. Linux - Apache Tomcat Developed by the Apache foundation and it will run on almost any OS including Apple OSx,Unix,&on most Linux Operating Systems.
  46.  
  47. 5. Web Technology : The technology we use in buliding a website like the programming languages, the plugins, various scripting languages etc.
  48. To check what technology a site is using :
  49. Visit : builtwith.com
  50.  
  51. 1. Client Side Language : client-side programming is the name of the entire program that runs on the client.
  52. Example:HTML,CSS,JAVASCRIPT,VBSCRIPT etc.
  53.  
  54. 2. Server Side Language : we can say that server-side programming must deal with dynamic content. It runs on the server. Most web pages are not static since they deal with searching databases.
  55. Example:Java&JSP,ASP.Net,PHP etc.
  56.  
  57.  
  58. 6. Database : Database is that system which stores all the data of a web application we are hosting in a server. It is known as the backbone of the web application.This data could be anything like username ,password , messages , comments etc.
  59. It helps in storing all the files situated in a database.
  60. Windows - MSSQL
  61. Linux - MySQL
  62.  
  63. Web Security Misconceptions
  64. ===========================
  65. 1. If I am using a good firewall, then I am secure
  66. 2. If I am using a Good IDS and IPS, then I am secure
  67. 3. If my web application is using HTTPS, then I am secure
  68.  
  69. -------------------------------------------------------------------
  70.  
  71. Local Hosting
  72. =============
  73. Local Hosting is a technology in which we stores and hosts a Database in our "localhost" Computer. This website can be hosted and accessed in a LAN or a Intranet Network.
  74. Can be assessed from the hosted computer by three ways:
  75. 1. 127.0.0.1/WEBSITE_NAME
  76. 2. localhost/WEBSITE_NAME
  77. 3. <private ip>/WEBSITE_NAME
  78.  
  79. webpage:Web pages are what make up the World Wide Web. These documents are written in HTML (hypertext markup language) and are translated by ------- your Web browser.
  80. website:A Web site is a collection of pages. A Web page is an individual HTML document.
  81. --------
  82. webapplication
  83. ------------- :A web application is a software program that runs in an Internet browser, on or through a web page. Similar to a software program that runs on a computer desktop or desktop application, a web application allows for user interaction and can be designed for a variety of uses
  84. --------------
  85. LOCAL HOST SERVERS
  86. ==================
  87. So, they are Server applications which makes our normal operating system and make them act like a server.
  88.  
  89. WINDOWS - WAMPP
  90.  
  91. W - WINDOWS
  92. A - APACHE
  93. M - MSSQL
  94. P - PERL
  95. P - PYTHON
  96.  
  97. LINUX - LAMMP
  98.  
  99. L - LINUX
  100. A - APACHE
  101. M - MYSQL
  102. P - PERL
  103. P - PYTHON
  104.  
  105. XAMPP - Cross Platform Server
  106. X - Cross Platform
  107. A - APACHE
  108. M - MYSQL
  109. P - PERL
  110. P - PYTHON
  111.  
  112.  
  113.  
  114.  
  115. XAMMP installation and configuration demo...
  116.  
  117.  
  118. = Start apache
  119. = Start MySQL
  120.  
  121. There are 3 ways for opening a server hosted file
  122. c:\xampp\htdocs
  123. ------------------------------------------------------------------
  124.  
  125. WEB SECURITY MISCONCEPTIONS
  126. ===========================
  127.  
  128. HTTP / HTTPS - SSL Secured = Secure Socket Layer
  129. Encryption
  130. Tunneling
  131. Secure Socket
  132.  
  133. = If a Website is using https instead of http, its not secured either.
  134. = If I am using a Good Firewall than I am secured.
  135. = If I am using IDS and IPS the I am secured.
  136. IDS = Intrusion(any obstruction) Detection System
  137. IPS = Intrusion Prevention System
  138.  
  139.  
  140. ------------------------------------------------------------------
  141.  
  142.  
  143. SCRIPTING LANGUAGES
  144. ===================
  145.  
  146. Methods used in Scripting Languages
  147. ===================================
  148.  
  149. 1. GET = It shows Data which is being traveled from Server to Clients in the URL only. It is the unsecured method of data travelling between client and server.
  150.  
  151. 2. POST = It doesn't show anything in the URL that fromwhere that data is travelling.
  152.  
  153.  
  154.  
  155.  
  156. Client Side Scrippting
  157. ======================
  158. The scripting programming language we are gonna be using is HTML.
Advertisement
Add Comment
Please, Sign In to add comment