<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Allan Too on Medium]]></title>
        <description><![CDATA[Stories by Allan Too on Medium]]></description>
        <link>https://medium.com/@allan.too05?source=rss-24f54536924b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*jxdxKkGdCOZ7qEev</url>
            <title>Stories by Allan Too on Medium</title>
            <link>https://medium.com/@allan.too05?source=rss-24f54536924b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 21:47:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@allan.too05/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[HOUSE EXPLORER PROJECT]]></title>
            <link>https://medium.com/@allan.too05/house-explorer-project-ed3cb40de419?source=rss-24f54536924b------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed3cb40de419</guid>
            <dc:creator><![CDATA[Allan Too]]></dc:creator>
            <pubDate>Wed, 14 Jun 2023 22:22:49 GMT</pubDate>
            <atom:updated>2023-06-14T22:22:49.015Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*K-0KTyubXslV85-k.png" /><figcaption>Home image</figcaption></figure><p>The purpose of our project is to help people find the perfect home. We want to make the process of buying or selling a home as easy and stress-free as possible. We believe that everyone deserves to have a home that they love, and we are here to help them find it.</p><p>Our project was created for people who are looking to rent or list a home. We believe that everyone deserves to have a home that they love, and we are here to help them find it. Our project is designed to be user-friendly and informative, and we offer a variety of features and tools to help users narrow down their search and make an informed decision about their next home.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed3cb40de419" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What happens when you type https://www.google.com in your web browser?]]></title>
            <link>https://medium.com/@allan.too05/what-happens-when-you-type-https-www-google-com-in-your-web-browser-872cd7c1b?source=rss-24f54536924b------2</link>
            <guid isPermaLink="false">https://medium.com/p/872cd7c1b</guid>
            <dc:creator><![CDATA[Allan Too]]></dc:creator>
            <pubDate>Sun, 16 Apr 2023 22:26:22 GMT</pubDate>
            <atom:updated>2023-04-16T22:26:22.161Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/284/0*p0UKyL1_wpKUJ6ja" /><figcaption>https://www.google.com</figcaption></figure><p>The URL “<a href="https://www.google.com/">https://www.google.com</a>&quot; is a Uniform Resource Locator (URL) that represents the web address of the Google website. “https://” indicates that the website uses the HTTPS protocol for secure communication over the internet. ”www” is a subdomain, which is a prefix added to the domain name “google.com.” It is commonly used to represent a domain&#39;s World Wide Web subdomain. In this case, “www” typically refers to the web server hosting the Google website. “google.com” is the domain name, which uniquely identifies the website on the internet. It is composed of two parts: “google,” which is the name chosen by the website owner, and “.com,” which is the top-level domain (TLD).</p><p>When you type https://google.com in your web browser, the browser needs to determine the IP address associated with the domain name. The DNS (Domain Name System) is used because humans cannot easily remember IP addresses, similar to the way a phone book works whereby names are matched to phone numbers because it is easier to remember names rather than phone numbers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*e1IpD_zDLn4N27tr" /><figcaption>DNS resolution. Image from varonis.com</figcaption></figure><p>The web browser will first check the computer’s cache memory and the hosts text file to see if there are any records of the domain name before sending a query to the DNS resolver. If any records are found in either of the two places they will be used and a DNS query will not be sent.</p><p>The browser sends a DNS query to the DNS resolver which can either be configured by the user or provided by the Internet Service Provider. The resolver first checks its local cache (resolver cache) to see if it has a record of the requested domain name and its associated IP address. If there is a record, the IP is returned to the client. If there is no record of the DNS in the cache, a recursive resolution process is initialized.</p><p>The resolver then queries a DNS root nameserver (.). It requests information about the top-level domain (TLD) associated with the domain name in the query (e.g.,.tech, .net, .com, .org, etc.), and in this case, the top-level domain related to .com. The root nameserver then responds to the resolver with a referral to the (TLD) DNS server responsible for the requested domain name. The DNS resolver then contacts the TLD DNS server and requests information about the authoritative DNS server for the specific domain name.</p><p>The authoritative DNS server is responsible for the domain name in question and holds the actual IP address associated with the domain name. The TLD DNS server responds to the resolver with the IP address of the authoritative DNS server. The DNS resolver receives the IP address of the authoritative DNS server from the TLD DNS server. The resolver then contacts the authoritative DNS server and requests the IP address associated with the example and in this case <a href="http://www.google.com./">www.google.com.</a></p><p>After the browser gets Google’s IP address from the resolution process, it initiates a TCP connection to the server by sending a TCP SYN (synchronize) packet, indicating its intention to establish a connection and upon receiving the SYN packet, the server responds with a TCP SYN-ACK (synchronize-acknowledge) packet, indicating its willingness to establish a connection and acknowledging the client’s SYN packet. The client responds with a TCP ACK (acknowledge) packet, confirming the receipt of the server’s SYN-ACK packet, thus establishing the TCP connection and both the client and server can start exchanging data packets.</p><p>The process explained above is referred to as the three-way TCP handshake. The TCP connection has not been made directly to Google servers but to a load balancer. A load balancer plays a critical role in managing incoming network traffic by distributing it across multiple servers or resources in a balanced manner. When it comes to handling HTTPS connections, a load balancer can act as a termination point for SSL/TLS encryption and decryption, relieving the backend servers from this overhead. This process, known as SSL termination, allows the load balancer to offload the processing-intensive task of SSL/TLS encryption and decryption, thus improving the performance and resource utilization of the backend servers. Load balancers can also act as reverse proxies, as an intermediate point between clients and backend servers.</p><p>The TLS handshake is the initial process that occurs between a client (such as a web browser) and a server to establish a secure connection after the TCP connection has been established. The client sends a “ClientHello” message to the server to initiate the SSL/TLS handshake process. The server responds to the client’s “ClientHello” message with a “ServerHello” message, which includes the SSL/TLS version, cipher suite, and other parameters for the encrypted communication. The server may send its digital certificate to the client, which contains the server’s public key and identity information. The client can then verify the authenticity of the server’s certificate if it has been issued by a trusted Certified Authority(CA).</p><p>The client generates a random pre-master secret, which is a shared secret used to derive the encryption keys for the session. The pre-master secret is encrypted with the server’s public key (obtained from the server’s digital certificate) and sent to the server in a “Client Key Exchange” message. The server receives the “Client Key Exchange” message, decrypts the pre-master secret with its private key, and obtains the shared secret. If the server has requested client authentication, it may send a “Certificate Request” message, specifying the type of client certificate it expects. If the server has requested client authentication and the client has a valid client certificate, it may send the client certificate in a “Certificate” message to provide proof of its identity. Both the client and server exchange “Change Cipher Spec” messages, indicating that they will start using the agreed-upon encryption settings for securing the subsequent data transmission.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FofvraL_xLul9Dox.png" /><figcaption>TCP/TLS handshake and encryption. image from <a href="https://blog.bytebytego.com/p/how-does-https-work-episode-6">https://blog.bytebytego.com</a></figcaption></figure><p>Both the client and server send “Finished” messages to confirm the completion of the handshake process. These messages are encrypted and include a hash of the handshake messages exchanged so far, providing mutual verification of the handshake’s integrity. Once the handshake is complete, the client and server start using the agreed-upon encryption settings to securely transmit data over the established TLS connection. The data is encrypted using the shared secret derived from the pre-master secret, and the integrity and authenticity of the data are ensured using the agreed-upon cipher suite and digital signatures.</p><p>SSL termination, also known as SSL offloading or SSL decryption, is a process in which an SSL/TLS connection is terminated or decrypted at a load balancer, reverse proxy, or another intermediate server before being forwarded to the backend web server or application server in plain HTTP. This happens at Google’s load balancer before requests are made to the backed servers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/0*wZUx9YNhnc92bP01.png" /><figcaption>load balancing concept. image from <a href="https://phoenixnap.com/">https://phoenixnap.com/</a></figcaption></figure><p>After the TLS handshake process is completed at the load balancer, HTTP requests are typically forwarded to the appropriate web server, application server, and database. The load balancer acts as an intermediary between the client and the backend servers, distributing incoming requests across multiple servers to ensure efficient load distribution and high availability. In addition to load balancing, the load balancer may also act as a firewall, performing security functions such as inspecting the request for potentially malicious content, filtering out known threats, and enforcing security policies, such as blocking certain IP addresses or ports.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/555/0*Jcl5tvka-FgYNNnD.png" /><figcaption>firewalls in action. image from <a href="https://enterprise.arcgis.com/">https://enterprise.arcgis.com/</a></figcaption></figure><p>This helps protect the web architecture from potential attacks or unauthorized access. Once the request is deemed safe, it is forwarded to the appropriate web server or application server for further processing. If the request requires data from the database, the web or application server may send a request to the database server to retrieve the required information. Once the response is generated, it is encrypted using TLS and sent back to the load balancer, which then forwards it to the client. This process ensures that the workload is distributed among the backend servers and that the web architecture is protected against security threats.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*RlY9deNeqITfi1id.jpg" /><figcaption>web server, application server and database in action.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=872cd7c1b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>