<?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 Janine L on Medium]]></title>
        <description><![CDATA[Stories by Janine L on Medium]]></description>
        <link>https://medium.com/@janine-codes?source=rss-180c04c3bbc2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Rl1GH7w7EoHTiG917Z6cpg.png</url>
            <title>Stories by Janine L on Medium</title>
            <link>https://medium.com/@janine-codes?source=rss-180c04c3bbc2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 11:09:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@janine-codes/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[How to Pass the GCP Professional Cloud Architect Exam]]></title>
            <link>https://janine-codes.medium.com/how-to-pass-the-gcp-professional-cloud-architect-exam-000b13aff96e?source=rss-180c04c3bbc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/000b13aff96e</guid>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[cloud-architecture]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <dc:creator><![CDATA[Janine L]]></dc:creator>
            <pubDate>Thu, 15 Aug 2024 14:38:43 GMT</pubDate>
            <atom:updated>2024-08-15T14:38:43.945Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to Pass the GCP Professional Cloud Architect Exam: My Complete Study Guide and Resources</h3><h3>Introduction</h3><p>For the past 6 weeks, I’ve been studying for the GCP Professional Cloud Architect Exam and I’m pleased to share that I’m officially a GCP Certified Cloud Architect! ☁️👩🏻‍💻🎉</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SEX5JfetABx8O-RfNY4FZQ.jpeg" /></figure><p>Given the demands of my role as a Senior Solutions Engineer in the Enterprise Blockchain/Distributed Ledger Technology industry, I recognized the importance of mastering cloud technology to securely and efficiently scale dApps (Distributed Applications) in a globally distributed environment. That’s why I set my sights on the GCP Professional Cloud Architect Certification — a challenge I knew would push my skills to the next level.</p><p>For those who aren’t familiar with what GCP Professional Cloud Architects do - this is Google’s overview:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zHcxG56sXNBp-Y20U0o5hg.png" /><figcaption><em>(Source: </em><a href="https://cloud.google.com/learn/certification/cloud-architect"><em>https://cloud.google.com/learn/certification/cloud-architect</em></a><em>)</em></figcaption></figure><p>In this blog post, we will explore my preparation strategy, resources used, as well as tips for those who are looking to pass the exam.</p><h3>Why I Chose the GCP PCA Certification</h3><p>Google Cloud Platform offers an array of different cloud certifications — ranging from <strong>Foundational, Associate, </strong>and<strong> Professional.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o-0od7aaaUK5ZrArzOEWpA.png" /><figcaption>(Source: <a href="https://cloud.google.com/learn/certification?hl=en#why-get-google-cloud-certified">https://cloud.google.com/learn/certification?hl=en#why-get-google-cloud-certified</a>)</figcaption></figure><p>After taking a look at what the recommended experience is and considering the type of skills I wanted to acquire, I decided to pursue the GCP PCA Certification. In addition to it being useful in my current role, here are my 3 main reasons:</p><ol><li>For Career Growth 🪜</li><li>For Personal Growth 💡</li><li>To Stay Relevant in the Ever-Changing Tech World 🌍</li></ol><p>The GCP Professional Cloud Architect Certification holds significant value in the tech industry, especially for software engineers. It demonstrates a deep understanding of cloud architecture, enabling us to design robust, scalable, and secure solutions on Google Cloud.</p><h3>Understanding the GCP PCA Exam</h3><p>According to the <a href="https://cloud.google.com/learn/certification/guides/professional-cloud-architect">GCP PCA Exam Guide</a>, the following areas are tested:</p><p><strong>Section 1: Designing and planning a cloud solution architecture </strong><em>(~24% of the exam)</em> <strong><br>Section 2: Managing and provisioning a solution infrastructure </strong><em>(~15% of the exam)</em> <strong><br>Section 3: Designing for security and compliance</strong> <em>(~18% of the exam)</em> <strong><br>Section 4: Analyzing and optimizing technical and business processes </strong><em>(~18% of the exam)</em> <strong><br>Section 5: Managing implementation<em> </em></strong><em>(~11% of the exam)</em> <strong><br>Section 6: Ensuring solution and operations reliability </strong><em>(~14% of the exam)</em></p><p>Some of the questions may also refer to the following 4 case studies <em>(as of Aug 2024 — please check the official GCP PCA website for the most up-to-date case studies):</em></p><ul><li><a href="https://services.google.com/fh/files/blogs/master_case_study_ehr_healthcare.pdf">EHR Healthcare</a></li><li><a href="https://services.google.com/fh/files/blogs/master_case_study_helicopter_racing_league.pdf">Helicopter Racing League</a></li><li><a href="https://services.google.com/fh/files/blogs/master_case_study_mountkirk_games.pdf">Mountkirk Games</a></li><li><a href="https://services.google.com/fh/files/blogs/master_case_study_terramearth.pdf">TerramEarth</a></li></ul><p>You can opt to do the exam in person or remotely — I chose the remote proctored option. The exam duration is 2 hours and there are 50–60 multiple-choice questions to answer.</p><h3>Preparation Strategy</h3><p>According to the <a href="https://sphero.com/blogs/news/learning-styles-for-kids">VARK (Visual, Auditory, Reading &amp; Writing, Kinesthetic) learning model</a>, I am primarily visual.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4VB91_GVcqTtZ56K.jpg" /><figcaption>(Source: <a href="https://whatfix.com/blog/multimodal-learning/">https://whatfix.com/blog/multimodal-learning/</a>)</figcaption></figure><p>Please keep in mind that the strategy I share below is merely my experience. There are numerous methods when it comes to understanding and retaining information efficiently, and the following describes what worked best for me.</p><p>I did a bit of initial browsing to estimate how much time it would require to prepare for the GCP PCA on average. From the get-go, it was obvious that the duration of time varies massively and is highly dependent on the level of experience, time available, and velocity of learning.</p><p>Once I had a better idea of what preparing for the GCP PCA would involve, I decided on a target exam date and figured out how much time there was. I also had a browse to see what resources were available to me. <em>(For more information on what resources I used, please see the </em><strong>Resources</strong><em> section below.)</em></p><p>Based on the deadline, the resources I had access to, and the topics I needed to cover, I created a 6-week study plan. <em>(I highly recommend using the </em><strong><em>Project Timeline</em></strong><em> template from </em><strong><em>Google Sheets</em></strong><em> to create this study plan.)</em></p><p>Within this study plan, I made sure to cover all of the sections mentioned in the GCP PCA Exam Guide, scheduled some time to go through the 4 case studies in depth, and included plenty of time toward the end of the plan to drill practice tests.</p><p>I started by exploring the overarching topics in a general sense and once I had a better grasp of how the different services work with one another, I dug deeper into the details.</p><p>I used AI tools such as ChatGPT and Claude.AI to get swift answers/ example use cases for certain tools and services, as well as to generate questions for particular topics to test my knowledge. If you would like me to share the prompts that I used, please leave a comment below!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZcE72A4mrOa5vqPb.png" /><figcaption>(Source: <a href="https://www.tomsguide.com/ai/chatgpt-4o-vs-claude-35-sonnet-which-ai-platform-wins">https://www.tomsguide.com/ai/chatgpt-4o-vs-claude-35-sonnet-which-ai-platform-wins</a>)</figcaption></figure><p>Over time, I realized that some sections required more time than others. As a result, I adjusted my study plan along the way.</p><p>As I’m a visual learner, I found diagrams, illustrations, and video content a lot more engaging. When it comes to retaining information, I also prefer to make color-coordinated notes in a notebook instead of typing them on my MacBook.</p><p>A few days before the exam, I also regularly looked through the <a href="https://github.com/priyankavergadia/google-cloud-4-words/blob/master/DarkPoster-medres.png">Google Cloud 4 Words</a> cheat sheet created by <a href="https://www.amazon.co.uk/Priyanka-Vergadia/e/B0B5XGS2G2/ref=dp_byline_cont_book_1">Priyanka Vergadia</a> to help retain keywords in my mind.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*b_ePg-nmmbX8SuXC" /><figcaption>(Source: <a href="https://github.com/priyankavergadia/google-cloud-4-words/blob/master/DarkPoster-medres.png">https://github.com/priyankavergadia/google-cloud-4-words/blob/master/DarkPoster-medres.png</a>)</figcaption></figure><h3>Resources</h3><p>With my study plan in place, I turned to a variety of resources to help me prepare. As part of my work, I get a Learning &amp; Development budget which enabled me to access <a href="https://cloud.google.com/innovators/innovatorsplus?hl=en">Google’s Cloud Innovators Plus</a> subscription and <a href="https://business.udemy.com/">Udemy Business</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eFBkcb5xa8XAkcBgE_pVtQ.png" /><figcaption>(Source: <a href="https://cloud.google.com/innovators/innovatorsplus?hl=en">https://cloud.google.com/innovators/innovatorsplus</a>)</figcaption></figure><p>I also registered at my local library <em>(a very budget-friendly option)</em> and borrowed a few books focused on Cloud Computing and GCP.</p><p>The following list encompasses the resources I used:</p><h4>On-Demand Courses</h4><p><a href="https://www.udemy.com/course/google-cloud-professional-architect-get-certified/?couponCode=24T2MT81324">Google Cloud Professional Architect: Get Certified 2022</a> by <a href="https://www.udemy.com/course/google-cloud-professional-architect-get-certified/#instructor-1">Dan Sullivan</a></p><h4>Hands-on Learning</h4><p><a href="https://www.cloudskillsboost.google/">Google Cloud Skills Boost</a> <br><a href="https://www.cloudskillsboost.google/paths/12">Google Cloud Architect Learning Path</a></p><h4>Books</h4><p><a href="https://amzn.eu/d/8Xzy5ST">Visualizing Google Cloud: 101 Illustrated References for Cloud Engineers and Architects</a> by <a href="https://www.amazon.co.uk/Priyanka-Vergadia/e/B0B5XGS2G2/ref=dp_byline_cont_book_1">Priyanka Vergadia</a></p><h4>Blog Posts</h4><p><a href="https://cloud.google.com/blog/topics/developers-practitioners/your-google-cloud-database-options-explained">Your Google Cloud database options, explained</a> by <a href="https://www.amazon.co.uk/Priyanka-Vergadia/e/B0B5XGS2G2/ref=dp_byline_cont_book_1">Priyanka Vergadia</a></p><h4>Cheat Sheets</h4><p><a href="https://github.com/priyankavergadia/google-cloud-4-words/blob/master/DarkPoster-medres.png">Google Cloud 4 Words</a> by <a href="https://www.amazon.co.uk/Priyanka-Vergadia/e/B0B5XGS2G2/ref=dp_byline_cont_book_1">Priyanka Vergadia</a></p><h4>AI Tools</h4><p><a href="https://chat.openai.com/">ChatGPT</a> (GPT-4o)<br><a href="https://claude.ai/">Claude.AI</a> (Claude 3.5 Sonnet)</p><h4>Practice Tests</h4><p><a href="https://www.whizlabs.com/google-cloud-certified-professional-cloud-architect/">Whizlabs — Google Cloud Certified Professional Cloud Architect</a> (Practice Tests)</p><h3>Challenges Along The Way</h3><p>Needless to say, things don’t always go to plan. When the target exam date was imminent, I didn’t feel 100% prepared so I decided to push the exam date back by 1 week. This allowed me some buffer time to go through any areas I was less certain about and to reduce any gaps in my knowledge. <em>(Side note — I didn’t book my exam until the day before, so I didn’t have to reschedule anything officially.)</em></p><p>In my opinion, it’s better to take the exam feeling confident and well-equipped than nervous and underprepared. If you find yourself in the same situation as I was in, I’d highly recommend pushing back your exam date until you feel slightly more confident.</p><p><em>(With GCP Certifications, you have the opportunity to retake the exam if you didn’t pass — please refer to the official </em><a href="https://cloud.google.com/certification/terms"><em>Terms and Conditions</em></a><em> for more information.)</em></p><h3>Tips for Success</h3><h4>Focus Time</h4><p>When it comes to studying and booking your exam, make sure to schedule it at a time when you know you will have minimal distractions and can focus best. If you’re unsure of when this is or would like to read more about finding the best time for deep work, check out this article, “<a href="https://www.getclockwise.com/blog/best-time-for-deep-work">Find Your Best Time of Day for Deep Work</a>” from Clockwise by Judy Tsuei.</p><h4>Time Blocking</h4><p><a href="https://todoist.com/productivity-methods/time-blocking">Time blocking</a> has been a game-changer for my studying. By setting specific time frames for each section, I stay focused and avoid distractions. It helps me break down big topics, manage my time better, and ensure I take breaks to stay fresh. Overall, it keeps me disciplined and makes my study sessions way more efficient.</p><h4>The Pomodoro Technique</h4><p><a href="https://todoist.com/productivity-methods/pomodoro-technique">The Pomodoro Technique</a> has helped me stay focused while studying. I like to either do 25/5 or 50/10 intervals using <a href="https://pomofocus.io/">Pomofocus</a>. By working in short, timed intervals with breaks in between, I can keep my concentration sharp without burning out. It’s simple but effective — I get more done in less time and feel less overwhelmed by big tasks.</p><h4>Opal</h4><p><a href="https://www.opal.so/">Opal</a> helps me stay focused by blocking distracting apps and websites. I use it to set focus timers, schedule breaks, and track my screen time, which helps me reduce distractions and boost my productivity when studying.</p><h3>On the Day of the Exam</h3><p>With these strategies in place, I felt well-prepared as the exam day approached. To ensure I was in the best mindset and fully ready, here’s a list of non-negotiables for me when it comes to exam day:</p><ul><li>8 hours of good quality sleep 😴</li><li>An energizing workout to start the day off 💪🏻</li><li>Nourishing and nutritious food to fuel the mind 🍎</li></ul><p><em>(If you opted for the remote proctored exam) </em>Make sure to clear your exam area and make sure you adhere to <a href="https://support.google.com/cloud-certification/answer/9907852?hl=en">Testing requirements for proctored exams</a>.</p><h3>After the Exam</h3><p>Upon submitting your answers for the exam, you will see the preliminary result of either PASS or FAIL <em>(see below screenshot)</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9dL1869Tfs-la-v6VoDtcA.jpeg" /></figure><p>I can only speak for what happens when you see PASS — after a couple of days you will receive an official email from Credly to accept your GCP PCA badge.</p><p><em>(Google states it takes 7–10 days to confirm the results, but I received the Credly email in my inbox the next working day.)</em></p><h3>Conclusion</h3><p>There are many different cloud providers out there with <a href="https://aws.amazon.com/">Amazon Web Services</a>, <a href="https://azure.microsoft.com/en-gb">Microsoft Azure</a>, and <a href="https://console.cloud.google.com/">Google Cloud Platform</a> being the top 3 players in the market. With an abundance of cloud providers, comes a variety of cloud certifications to choose from.</p><p>Working towards the GCP Professional Cloud Architect Certification has been a rewarding experience that has significantly enhanced my skills and knowledge, and I’m excited to continue exploring the cloud and AI space.</p><h3>About the Author</h3><p>Janine is a Senior Solutions Engineer at R3 based in London, UK. She is a GCP Certified Professional Cloud Architect and a Full-Stack Engineer experienced in Java, Kotlin, Javascript (React/Redux), and TypeScript.</p><p>Originally from Hong Kong, she has lived abroad since the age of 11 in Northern Ireland, Canada, and France.</p><p>In her spare time, she takes on the role of Lead Interview Coach and Ambassador at Code First Girls, where she actively advocates for and mentors underrepresented individuals in STEM.</p><p>Coding, languages, music, dance, and golf are her main passions.</p><p>What’s your biggest challenge in preparing for the GCP PCA? <br>Let’s connect and discuss!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=000b13aff96e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[7 tips to encourage (fill in the blank) to code]]></title>
            <link>https://janine-codes.medium.com/7-ways-to-encourage-fill-in-the-blank-to-code-1fa21d2ec8e1?source=rss-180c04c3bbc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/1fa21d2ec8e1</guid>
            <category><![CDATA[women-who-code]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Janine L]]></dc:creator>
            <pubDate>Mon, 12 Jul 2021 17:48:44 GMT</pubDate>
            <atom:updated>2021-07-13T22:05:00.727Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever tried to convince *<em>someone*</em> to pick up programming and they just end up smiling politely but never actually taking action?</p><p>Here are a few tips which I found were extremely effective.</p><p>I’ll keep it short and sweet :)</p><h3>1. S.W.O.T analysis</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nMGILsAF9P5LKI2N.jpg" /><figcaption>Source: <a href="https://www.marriage-stanley.com/journal/why-you-need-to-conduct-a-personal-swot-analysis/">https://www.marriage-stanley.com/journal/why-you-need-to-conduct-a-personal-swot-analysis/</a></figcaption></figure><p>Guide the individual to conduct a brief S.W.O.T analysis. This will help to identify their personal strengths and weaknesses, as well as assess the current market environment. The main purpose is to help identify what might be interesting for them. This is especially advantageous for those who aren’t too sure where to start.</p><h3>2. Beginner-friendly Resource(s)</h3><p>The tech space can be extremely overwhelming given the agglomeration of different niches. Start with 1 or 2 that would be intriguing for the individual’s level of knowledge. Whether that be a Scratch code-along or an Intro to Python course, it’s always good to have a clear direction to start off with.</p><h3>3. Technical Guidance</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*41inHKnPhGb04HsO.gif" /><figcaption>Source: <a href="https://cdn-images-1.medium.com/max/720/0*41inHKnPhGb04HsO.gif">https://cdn-images-1.medium.com/max/720/0*41inHKnPhGb04HsO.gif</a></figcaption></figure><p>Create a safe space where the individual feels comfortable to come and ask you for technical assistance. From learning their first few git commands to elaborating more on why load-balancing is important, be sure to emphasize the fact that “there are no stupid questions”. If you’re not confident that you can provide the answer to their problems, try and seek help from those around you. No one knows everything, but everyone knows something.</p><h3>4. Emotional Support</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fembed%2FhrRJ41JB2zlgZiYcCw%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fgifs%2Fmemecandy-hrRJ41JB2zlgZiYcCw&amp;image=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fmedia3.giphy.com%2Fmedia%2FhrRJ41JB2zlgZiYcCw%2Fgiphy-downsized-large.gif%3Fcid%3D790b7611b90977c3b9f0a4d95c449d6bf0fc23709a4dc597%26rid%3Dgiphy-downsized-large.gif%26ct%3Dg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/b74152f078acf0664f0cb0ac9dc422e5/href">https://medium.com/media/b74152f078acf0664f0cb0ac9dc422e5/href</a></iframe><p>Not only does coding require a lot of brainpower, but it also needs a lot of reassurance and motivation. Drop-in a message on a regular basis to check in on them - even if it is not focused on coding progression. We all have other things going on in life, and so other areas of concern may be inhibiting them from progressing in their learning. Always try to share words of encouragement and let the individual know if they are progressing on the right track.</p><h3>5. Share Expertise and Experience (where appropriate)</h3><p>When we understand that other people have experienced the same barriers that we are currently facing, it helps a lot in building confidence to overcome these challenges. Though, I kindly ask you to please do not boast about your past achievements as this can potentially in turn have a negative effect. Be mindful of purely sharing facts in a humble manner rather than being arrogant.</p><h3>6. Accountability Buddy</h3><blockquote>Research studies have shown that publicly committing your goals to someone gives you at least a 65% <strong>chance</strong> of completing them. However, having a specific <strong>accountability partner increases</strong> your <strong>chance of success</strong> to 95%.</blockquote><p>(Source: <a href="https://medium.com/@benjaminhardy/accountability-partners-are-great-but-success-partners-will-change-your-life-8850ac0efa04#:~:text=Research%20studies%20have%20shown%20that,chance%20of%20success%20to%2095%25.">Accountability Partners Are Great. But “Success” Partners Will Change Your Life</a>)</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fembed%2FOjPT4hliNir6w%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fgifs%2Fpusheen-OjPT4hliNir6w&amp;image=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fmedia2.giphy.com%2Fmedia%2FOjPT4hliNir6w%2Fgiphy.gif%3Fcid%3D790b7611df82d2589627145fa9b8abd33382189d71861546%26rid%3Dgiphy.gif%26ct%3Dg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/0d84f6ac8b1beb5385d201a09718dc1a/href">https://medium.com/media/0d84f6ac8b1beb5385d201a09718dc1a/href</a></iframe><p>If you notice that their progress is starting to stagnate, give them a little nudge or a fun challenge to solve! The aim is to keep them interested in growing.</p><p>And that is all folks - hope you find these tips useful! Leave a comment below to let me know how you get on and if you have any feedback, please feel free to share!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1fa21d2ec8e1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[codebar Festival 2021]]></title>
            <link>https://medium.com/the-codelog/codebar-festival-2021-34e7ec279370?source=rss-180c04c3bbc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/34e7ec279370</guid>
            <category><![CDATA[community]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[wellness]]></category>
            <category><![CDATA[tech-events]]></category>
            <dc:creator><![CDATA[Janine L]]></dc:creator>
            <pubDate>Mon, 29 Mar 2021 14:38:17 GMT</pubDate>
            <atom:updated>2021-03-29T15:10:41.893Z</atom:updated>
            <content:encoded><![CDATA[<p>Picture this.</p><p>You’re currently experiencing a global pandemic — stuck at home and bored out of your mind. Time is slowly wasting away…</p><p>You want to learn something new, but your motivation levels are low.<br>You want to meet new people, but you can’t go out to social events.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*DQXvTCy4Zrw1AFlCX9RLDw.jpeg" /><figcaption>Source: <a href="https://unsplash.com/@priscilladupreez">https://unsplash.com/@priscilladupreez</a></figcaption></figure><p>After an entire year of being in a global pandemic, in-person tech events seem like such a distant memory. If only there was a virtual event that could bring everyone together…</p><p>This is where <a href="https://hopin.com/events/codebar-festival-2021">codebar Festival</a> comes to the rescue. A new 3-day virtual event where each day has a different focus: coding, career, and wellbeing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aMi9rAz0WzEA5e-zCpCqmA.jpeg" /><figcaption><a href="https://medium.com/u/a3b9c2e670e2">Kim Diep</a> and <a href="https://medium.com/u/f8827b48979">Shannon Farvolden</a> — Building Your First React App with Data From An API (Source: <a href="https://twitter.com/sfarvolden">@sfarvolden</a>)</figcaption></figure><p>From building your own React app, to career progression tips, to pizza-making and yoga — this festival covered an agglomeration of fun talks and workshops. There’s something for everyone. A few of my personal favourites from the festival include Arti Mathanda’s talk focused on Storybook with React, the career advancement panel, as well as Eddie Jaoude’s session on Open Source.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wODByFK-2jY5Uhac_7mofA.jpeg" /><figcaption><a href="https://medium.com/u/2bb22ee3edfa">Eddie Jaoude</a> — What is Open Source and Why You Should Care (Source: <a href="https://twitter.com/siddharth_hacks">@siddharth_hacks</a>)</figcaption></figure><p>As an attendee, not only could you tune in to the scheduled sessions, but you could also join the networking tab where you get paired up with someone completely random to chat with. This was such a refreshing functionality, as it really imitated real-life scenarios where you get to interact with someone new.</p><p>Personally, I found the event incredibly engaging and the diverse variety of topics discussed were all very intriguing. As this festival took place over the weekend, most people who work Mondays to Fridays were able to attend the majority of it, without disrupting their regular work schedule. Best of all — the event was free of charge for all attendees!</p><p>With over 650 people joining in from all around the globe, <a href="https://hopin.com/events/codebar-festival-2021">codebar Festival</a> truly brought the tech community together.</p><p>Given the high quality of talks and speakers, as well as how smoothly the platform operated, it’s no doubt one of the best virtual tech conferences I’ve attended. I’m really looking forward to codebar Festival 2.0 next year!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34e7ec279370" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-codelog/codebar-festival-2021-34e7ec279370">codebar Festival 2021</a> was originally published in <a href="https://medium.com/the-codelog">the codelog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hack Yourself First (Module 4 — Internal Implementation Disclosure)]]></title>
            <link>https://janine-codes.medium.com/hack-yourself-first-module-4-internal-implementation-disclosure-307c1689b9f2?source=rss-180c04c3bbc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/307c1689b9f2</guid>
            <category><![CDATA[reconnaissance]]></category>
            <category><![CDATA[web-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <dc:creator><![CDATA[Janine L]]></dc:creator>
            <pubDate>Fri, 01 Jan 2021 16:43:27 GMT</pubDate>
            <atom:updated>2021-01-01T16:45:11.174Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hack Yourself First (Module 4 — Internal Implementation Disclosure)</h3><p>Happy New Year! It’s officially 2021 🍾🥳🎉</p><p>I had a delightful(but cold) new year’s walk with my sister at St James Park this morning. We managed to see so many beautiful birds and chubby squirrels.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*nU2--GVAzIE9yO0epeq8Jg.jpeg" /><figcaption>St James Park Squirrel — Source: <a href="https://www.reddit.com/r/london/comments/79nl87/not_a_sunset_pic_but_a_squirrel_in_st_james_park/">Reddit</a></figcaption></figure><p>As the new year commences, I am determined and motivated to learn! Today’s module is focused on Internal Implementation Disclosure.</p><h3>Module 4: Internal Implementation Disclosure</h3><h4>How an attacker builds a website risk profile</h4><p>Almost like a bank robber trying to understand how to enter in a bank (reconnaissance)</p><ul><li>Points of untrusted data entry</li><li>Sanitisation practices implemented</li><li>Frameworks/libraries and version used (e.g using NIST (National Vulnerability Database) → CVE databases)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XB0tHf_-7tO3HlU5aFFhzg.png" /><figcaption>CVE search for wordpress vulnerabilities — Source: <a href="https://app.pluralsight.com/course-player?clipId=ca4152c3-9f12-4eb1-9471-c3d035e6b18b">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>Structure of the website</li><li>HTML source</li><li>Internal error messages bubbling up to browser?</li><li>Web server logs</li><li>Sufficient access controls on diagnostic data?</li></ul><h4>Server response header disclosure</h4><ul><li>Finding out more about the framework/libraries and version used</li><li>DevTools → Network Tab → inspect the response headers of a request</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/361/1*z0aQSbVlIFNqpKLvXp0R_g.png" /><figcaption>Response Headers revealing non-HTTP spec custom headers — Source: <a href="https://app.pluralsight.com/course-player?clipId=ca4152c3-9f12-4eb1-9471-c3d035e6b18b">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>We might want to hide this as it doesn’t add any real value to end-users to expose information that reveals the type of technology the web is running on</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*49fTc_Ca1NLLHDpUPM3Jlg.png" /><figcaption>The response reveals exactly what server the website is running on — Source: <a href="https://app.pluralsight.com/course-player?clipId=ca4152c3-9f12-4eb1-9471-c3d035e6b18b">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>Making the information more generic makes it more difficult for an attacker to find out what technology is being used</li></ul><h4>Locating at-risk websites</h4><ul><li>Search for the technology with the specific version number to find risks and vulnerabilities involved</li><li>Shodan → find websites that might be vulnerable to a certain risk due to version of the technology used</li></ul><h4>HTTP fingerprinting of servers</h4><ul><li>Even when the response headers are hidden, we can still use HTTP fingerprinting to try and identify particular attributes of a website to find out what might be running underneath</li><li>Less explicit but still possible to be done</li><li>Use Fiddler to look at response headers:<br>- Is the order of the Date + Server headers the same (comparing different sites)?<br>- Change HTTP version from HTTP/1.1 to HTTP/x.1 to see how the server responds → are the error messages same or different for a variety of websites?</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ie8r644VDMWPetSofKnr8w.png" /><figcaption>400 error shown on www.wsco.com — Source: <a href="https://app.pluralsight.com/course-player?clipId=ca4152c3-9f12-4eb1-9471-c3d035e6b18b">Pluralsight Hack Yourself First</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hFzn2sWsfc3rsHNzcTgNrA.png" /><figcaption>Same 400 error but displayed differently for hackyourselffirst.troyhunt.com — Source: <a href="https://app.pluralsight.com/course-player?clipId=ca4152c3-9f12-4eb1-9471-c3d035e6b18b">Pluralsight Hack Yourself First</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ry43_Fd8u6K9Dh7DkFXjAA.png" /><figcaption>Same 400 error but again, displayed differently for nginx server — Source: <a href="https://app.pluralsight.com/course-player?clipId=ca4152c3-9f12-4eb1-9471-c3d035e6b18b">Pluralsight Hack Yourself First</a></figcaption></figure><p><strong>Important to remember:</strong></p><ul><li>Turn off HTTP headers which disclose your internal frameworks</li><li>Make sure that server x powered and any non-HTTP spec custom headers (aka. Headers starting with “X-“) are turned off and not disclosing internal implementations</li><li>Fingerprinting can still allow the attacker to narrow down the server that the website is actually running on</li></ul><h4>Disclosure via robots.txt</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/963/1*NYUJk7aLil2Dt4Ct-Kqknw.png" /></figure><ul><li>Implements the robots exclusion standard → provides guidance to web crawlers about index-able content</li><li>The robots.txt allows the attacker to find out what the developer doesn’t want anyone to know about</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/455/1*xQGECFSzlyUiZ-K3F0RFag.png" /><figcaption>The robots.txt file reveals that the images, scripts, and secret/admin paths are set to disallow — Source: <a href="https://app.pluralsight.com/course-player?clipId=ca4152c3-9f12-4eb1-9471-c3d035e6b18b">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>Security through obscurity is bad</li></ul><p><strong>The risks in an HTML source:<br>- </strong>Viewing the page source of what’s in the robots.txt file<br>- Comments in HTML sources that leak sensitive information</p><p>- Missing access controls makes it even easier for attackers to access sensitive data<br>- JavaScript frameworks often have vulnerabilities that attackers can discover from viewing the HTML source</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4ABqXOUZRCBWeEyfxNomGQ.png" /><figcaption>Comments in HTML source code reveals sensitive information — Source: <a href="https://app.pluralsight.com/course-player?clipId=ca4152c3-9f12-4eb1-9471-c3d035e6b18b">Pluralsight Hack Yourself First</a></figcaption></figure><h4>Internal error message leakage</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GosQyWlY3fiMwU7CQbViZA.png" /><figcaption>Yellow screen of death — Source: <a href="https://app.pluralsight.com/course-player?clipId=ca4152c3-9f12-4eb1-9471-c3d035e6b18b">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>Unhandled exceptions in code can be goldmines for an attacker</li><li>The attacker might be able to see:<br>- Lines of code from the error message<br>- Where the source code is located<br>- Any SQL queries that can lead to SQL Injection attacks<br>- The sequence of how an error might have occurred and where it occurs<br>- Version information</li><li>Error handling is very important in order for sensitive information to not be leaked</li><li>If there is an error, the path should not change in order to hide the fact that an unhandled exception has occurred to keep that information away from an attacker</li></ul><h4>Lack of access controls on diagnostic data</h4><ul><li>For Microsoft frameworks, there is ELMAH (Error Log Modules And Handlers) → When an exception is raised and not properly handled, it will log that information so the developer can view this later on</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8LebQT7YnsVGn7YhWrkgUg.png" /><figcaption>Example of an ELMAH — Source: <a href="https://app.pluralsight.com/course-player?clipId=ca4152c3-9f12-4eb1-9471-c3d035e6b18b">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>Looking into the “Detail” part of an error log, allows us to see a lot of sensitive data</li><li>Searching for error logs is incredibly easy thanks to search engines</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4tCFD8Dd24VYne3ubpMwLg.png" /><figcaption>Source: <a href="https://app.pluralsight.com/course-player?clipId=ca4152c3-9f12-4eb1-9471-c3d035e6b18b">Pluralsight Hack Yourself First</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*apNXW3eQH4FsImOVFGpXVg.png" /><figcaption>A high amount of results for error logs — Source: <a href="https://app.pluralsight.com/course-player?clipId=ca4152c3-9f12-4eb1-9471-c3d035e6b18b">Pluralsight Hack Yourself First</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/1*hUQtzzv_KIPK4xCP-pK7ow.png" /><figcaption>A high amount of results for config files— Source: <a href="https://app.pluralsight.com/course-player?clipId=ca4152c3-9f12-4eb1-9471-c3d035e6b18b">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>Sufficient access controls for error logs and diagnostic information is crucial</li></ul><h4>Summary</h4><ul><li>Keep information on frameworks and server versions private</li><li>Don’t rely on obfuscation of frameworks and server headers</li><li>Be conscious of what you’re inadvertently disclosing</li><li>Internal exceptions should never bubble up to end-users</li><li>Internal logs must have proper access controls and their exposure can be absolutely catastrophic</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=307c1689b9f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hack Yourself First (Module 3 — Cookies )]]></title>
            <link>https://janine-codes.medium.com/hack-yourself-first-module-3-cookies-89fc4e519e5e?source=rss-180c04c3bbc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/89fc4e519e5e</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[web-security]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[cookies]]></category>
            <dc:creator><![CDATA[Janine L]]></dc:creator>
            <pubDate>Thu, 31 Dec 2020 12:01:57 GMT</pubDate>
            <atom:updated>2020-12-31T12:01:57.846Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hack Yourself First (Module 3 — Cookies 🍪)</h3><p>My fingers are absolutely freeeezing! ☃️❄️</p><p>I did a super fun workout this morning and it involved a lot of skipping outdoors, but my fingers are failing me… so typing this up is a challenge for me right now. 😅</p><p>But can you smell that? It’s the heavenly aroma of freshly baked cookies waiting for us to devour them - so here we go!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*u4jlv6S3Bc-C1yR0VUZYsw.png" /><figcaption>Source: <a href="https://blog.larapulse.com/web/protect-cookies">https://blog.larapulse.com/web/protect-cookies</a></figcaption></figure><h3>Module 3: Cookies</h3><h4>Cookies 101</h4><blockquote><strong>Cookie:</strong> Delicious treats that we indulge in. Also simple pieces of text stored in the browser.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*eFGfDIfyIirz8LD0GbQPVA.png" /><figcaption>Source: <a href="https://app.pluralsight.com/course-player?clipId=0a5a24c7-349d-4e1f-bdeb-160ea9bb23dd">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>The server may set a cookie via the HTTP response header or the cookie may be set/read via JavaScript directly in the DOM</li><li>Cookies are automatically passed back to the website in the header of each request</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9NS2q6cOwLEXJPgZKko-IQ.png" /><figcaption>Source: <a href="https://app.pluralsight.com/course-player?clipId=0a5a24c7-349d-4e1f-bdeb-160ea9bb23dd">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>Cookie Security: <br>- Cookies frequently contain sensitive data (e.g. auth cookies)<br>- Browser implements native defences to protect cookies but there are limits to this as it can still be explored by attacks such as XSS<br>- By modifying their attributes, we can further secure the cookies (attributes such as the domain, path, expiration, HttpOnly, Secure, etc)</li></ul><h4>Understanding HttpOnly cookies</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dXeJsl70rFqygpPDwOVqOw.png" /><figcaption>Evidence of HttpOnly not being set for the AuthCookie — Source: <a href="https://app.pluralsight.com/course-player?clipId=0a5a24c7-349d-4e1f-bdeb-160ea9bb23dd">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>If a cookie is not marked as HTTPOnly, it means that the cookie is accessible via client script → risk of a session hi-jack</li><li>When we add the HTTPOnly flag to the AuthCookie, it helps to mitigate against an XSS risk</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6l2n8B03-QiuT8orbZn94Q.png" /><figcaption>Observing the HttpOnly flag when inspecting the response headers — Source: <a href="https://app.pluralsight.com/course-player?clipId=0a5a24c7-349d-4e1f-bdeb-160ea9bb23dd">Pluralsight Hack Yourself First</a></figcaption></figure><h4>Understanding secure cookies</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ewMvOKynjf6LcNsc5tZdJw.png" /><figcaption>Evidence of HttpOnly and Secure attribute being set for the AuthCookie — Source: <a href="https://app.pluralsight.com/course-player?clipId=0a5a24c7-349d-4e1f-bdeb-160ea9bb23dd">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>Secure attribute → ensures that the cookie is only sent via HTTPS requests</li></ul><h4>Restricting cookie access by path</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/1*fDsX_sRbyQbHn_xTWeq6UA.png" /><figcaption>The path for all cookies are set to “/” — Source: <a href="https://app.pluralsight.com/course-player?clipId=0a5a24c7-349d-4e1f-bdeb-160ea9bb23dd">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>The path is set to “/“ by default → which means for every single request in any path of the website, these cookies are passed whether they’re required or not</li><li>When the user selects remember me, the email and password cookies are also sent alongside the AuthCookie</li><li><strong>Side-note: </strong>it’s bad practice to have the email and password passed as cookies - we will explore that later on in the course in the “Account Management” module</li><li>Limit the scope of the cookie, based on the path</li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fembed%2F8abAbOrQ9rvLG%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fgifs%2Fthe-lord-of-rings-chemistry-organic-8abAbOrQ9rvLG&amp;image=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fmedia0.giphy.com%2Fmedia%2F8abAbOrQ9rvLG%2F200.gif%3Fcid%3D790b7611e04b03c83a718a2c714e0734c6baa1f5758712b9%26rid%3D200.gif%26ct%3Dg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="210" frameborder="0" scrolling="no"><a href="https://medium.com/media/b21f172737f6213baeb8b4a8b1d2211e/href">https://medium.com/media/b21f172737f6213baeb8b4a8b1d2211e/href</a></iframe><h4>Reducing risk with cookie expiration</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fembed%2Fl2Jegpw00OmTdz32w%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fgifs%2Fseason-3-the-simpsons-3x8-l2Jegpw00OmTdz32w&amp;image=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fmedia0.giphy.com%2Fmedia%2Fl2Jegpw00OmTdz32w%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="333" frameborder="0" scrolling="no"><a href="https://medium.com/media/81893c67cd12ce4fc429f4bdb0230d04/href">https://medium.com/media/81893c67cd12ce4fc429f4bdb0230d04/href</a></iframe><ul><li>It’s essential for cookies to be available when users need it but it also poses a serious risk</li><li>Whilst that cookie is active, it means that attacks such as XSS, CSRF, click-jacking etc can take place</li><li>Usability VS Security</li><li>Expires/ Max-Age attribute → Is there really a valid use-case for the amount of time set</li><li>Minimise the window for potential session hi-jacking as much as possible without affecting usability too much</li><li>Social media sites vs banking sites → How high is the end-users’ tolerance for friction when logging in?</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*aJjkRYLn49yPj3CW9-QLQQ.jpeg" /><figcaption>Source: <a href="https://www.fintechfutures.com/2017/01/icici-bank-and-hdfc-bank-embrace-social-media/">https://www.fintechfutures.com/2017/01/icici-bank-and-hdfc-bank-embrace-social-media/</a></figcaption></figure><h4>Using session cookies to further reduce risk</h4><ul><li>Another common option for cookie expiration: <br><strong>Session cookie</strong> → when the browser closes, the cookie will be gone</li><li>Trade-off: what is someone just leaves there browser on and forget to close their session?</li><li>Important to consider the pros and cons with setting cookie expiration</li></ul><h4>Summary:</h4><ul><li>Cookies are relatively simple concept yet they are frequently configured in a sub-optimal way in terms of security</li><li>HttpOnly is crucial if the cookie isn’t required to be accessed via client script</li><li>Any cookie holding sensitive data should be marked as “secure”</li><li>Consider the path scope of a cookie</li><li>Try and expire cookies as quickly as possible without affect user experience too negatively</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89fc4e519e5e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hack Yourself First (Module 2 - XSS)]]></title>
            <link>https://janine-codes.medium.com/hack-yourself-first-module-2-xss-39142ca88c67?source=rss-180c04c3bbc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/39142ca88c67</guid>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[cross-site-scripting]]></category>
            <category><![CDATA[xss-attack]]></category>
            <dc:creator><![CDATA[Janine L]]></dc:creator>
            <pubDate>Wed, 30 Dec 2020 21:30:33 GMT</pubDate>
            <atom:updated>2020-12-30T21:38:52.711Z</atom:updated>
            <content:encoded><![CDATA[<p>This morning I started my day off with a lovely pilates session accompanied by a beautiful sunrise. Something about waking up when it’s pitch black and cold outside gives me a feeling of tranquillity.</p><p>As the sunlight seeps through the dark skies and the fog fades, I finished my Pilates practice, sat down on my desk with a delicious cup of matcha and got stuck into studying.</p><p><strong>Important side-note: </strong>Although I just found out that this course was published in 2013 and might be slightly out-dated, I really wanted to complete it. I think it still has a lot of value and will be a great add-on to complement future courses I’ll take. Along the way, I’ll try my best to take note and mention what parts might be obsolete/irrelevant. If I’ve missed anything out, please do feel free to leave a comment. Thank you and happy reading!</p><h3>Module 2: Cross-Site Scripting (XSS)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*wg1X6SNBhKT16q4dWNfxaA.jpeg" /><figcaption>Source: <a href="https://www.wpexplorer.com/cross-site-scripting-wordpress/">https://www.wpexplorer.com/cross-site-scripting-wordpress/</a></figcaption></figure><h4>Understanding untrusted data and sanitisation</h4><p>Untrusted data:</p><ol><li>The integrity is not verifiable</li><li>The intent may be malicious</li><li>The data may include payloads such as SQL Injection, XSS, binaries containing malware, etc</li></ol><p>Common sources of untrusted data:<br><strong>From User:<br>- </strong>In the URL via query string or route<br>- Form data in a post request</p><p><strong>From Browser:</strong><br>- In cookies or other parts of the request headers</p><p><strong>From other locations:</strong><br>- External services<br>- Your own database</p><h4>Input Sanitisation:</h4><ul><li>Characters that might need to be rejected: &lt;&gt;’/“\</li><li>Be explicit in what specific characters to reject → but it’s easy to forget or provide an incomplete list</li><li>Explicitly state what specific characters to accept → A lot more comprehensive and lower risk approach</li></ul><h4>Establishing input sanitisation practices</h4><p>There are sometimes gaps in the sanitisation process. Exploring the search function:<br>- Look at what characters the search function might filter out<br>- Using Regex can help with defining what characters to allow</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wtpc5GxJbQZdnEA4HVXTwg.png" /><figcaption>Source: <a href="https://app.pluralsight.com/course-player?clipId=28a895c3-492a-499e-a164-1294c8363779">Pluralsight Hack Yourself First</a></figcaption></figure><h4>Understanding XSS and output encoding</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QAU_U4dfA2KRma3LFBY4LA.png" /><figcaption>Source: <a href="https://app.pluralsight.com/course-player?clipId=28a895c3-492a-499e-a164-1294c8363779">Pluralsight Hack Yourself First</a></figcaption></figure><p>When we can actually pass untrusted data to the system, and change the behaviour of the page, we have a very serious risk<br>- In the example, the search term was never intended to be markup → it should only be intended for data<br>- XSS attacks are possible as the app allows XSS payload to break out of the data context and change the markup context<br> -To mitigate the risk, we need to ensure that the search term escapes certain characters so that it’s reflected exactly as it’s typed, onto the screen and not into the markup</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XO7X3VjyoUnMZ2NcHZIx2A.png" /><figcaption>Source: <a href="https://app.pluralsight.com/course-player?clipId=28a895c3-492a-499e-a164-1294c8363779">Pluralsight Hack Yourself First</a></figcaption></figure><p>For example: &lt;I&gt;Enzo&lt;/I&gt; should be written as &amp;lt;i&amp;gt;enzo&amp;lt;/I&amp;gt; in HTML</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*woXgujtKEFk9H_QeQUnrVQ.png" /><figcaption>Source: <a href="https://app.pluralsight.com/course-player?clipId=28a895c3-492a-499e-a164-1294c8363779">Pluralsight Hack Yourself First</a></figcaption></figure><p>The way data needs to be encoded changes depending on the context:</p><ul><li>Identifying the use of output encoding</li><li>Be wary of the page inspector when inspecting the elements tab in DevTools and refer to the HTML source instead, to see the escape characters</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/653/1*wFuXDlXCxBN_ERdVn9BfXQ.png" /><figcaption>Search term in elements tab — Source: <a href="https://app.pluralsight.com/course-player?clipId=28a895c3-492a-499e-a164-1294c8363779">Pluralsight Hack Yourself First</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*XtYsQqrpO7B0ERmIffszJQ.png" /><figcaption>Search term in HTML source Source: <a href="https://app.pluralsight.com/course-player?clipId=28a895c3-492a-499e-a164-1294c8363779">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>Even though in HTML the “/“ character is being encoded, the JavaScript, the search term isn’t being encoded</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pDZVtP7GKolI3MUW8hIcKw.png" /><figcaption>Search term in JavaScipt not being encoded properly — Source: <a href="https://app.pluralsight.com/course-player?clipId=28a895c3-492a-499e-a164-1294c8363779">Pluralsight Hack Yourself First</a></figcaption></figure><h4>Delivering a payload via reflected XSS</h4><ul><li>When untrusted data provided by the user to the system, wasn’t properly sanitised/ encoded and the untrusted data was able to reach the server as the victim submits the data with the malicious payload</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yu7npxLeLFcYPbLItxpSvQ.png" /><figcaption>The query string in a form can be written as a malicious payload — Source: <a href="https://app.pluralsight.com/course-player?clipId=28a895c3-492a-499e-a164-1294c8363779">Pluralsight Hack Yourself First</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7KTQIP5Gce62pz6qR-UmGA.png" /><figcaption>The attacker can then submit the malicious payload via the query string input — Source: <a href="https://app.pluralsight.com/course-player?clipId=28a895c3-492a-499e-a164-1294c8363779">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>Use a trusted library to help with JavaScript encoding to make things easier for us</li></ul><h4>Testing for the risk of persistent XSS</h4><ul><li>What already sits in the database coming from another way</li><li>The user can input markup via the comments form</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/1*ILFdB6P5Ezs80u7GLQ2-qg.png" /><figcaption>Comment form — Source: <a href="https://app.pluralsight.com/course-player?clipId=28a895c3-492a-499e-a164-1294c8363779">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>When we go back to the homepage, then visit the supercar website again, the server is pulling the data submitted by the user from the database</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/383/1*HZj3w8CiLCQ0AJoclvWs-g.png" /><figcaption>The text shown in the DOM is in Italics — Source: <a href="https://app.pluralsight.com/course-player?clipId=28a895c3-492a-499e-a164-1294c8363779">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>This means the data is not being encoded properly for the HTML output context before it loads it onto the page → risk of persistent XSS via the comments form</li></ul><p>Don’t just assume you can take anything from the database and push it to the screen → Extremely important to remember this for every single piece of data we pull from the database</p><ol><li>Check if we can go to any field in the system (firstly through the web interface) and inject XSS into the system</li><li>If we circumvent those controls and go directly to the database → if we put HTML markup into the database, do they render directly onto the screen, or do they actually cause the markup and structure of the page to change</li></ol><p>Most web frameworks these days provide very easy and streamlined ways of implementing output encoding (many even by default!)</p><h4>The X-XSS-Protection header</h4><ul><li>Reflective XSS adheres to a relatively predictable pattern</li><li>Browsers can protect users against potential XSS risks<br>E.g. if the browser sees a potentially malicious search term passed in the query string in a link from an external resource, and then reflect onto the page, the browser can assume that it’s a reflective XSS → the browser can then provide a layer of protection</li><li>As a developer, you can never rely on that → We must work on the assumption that the application itself in isolation needs to be secure</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7cxY7CaOb_w2tsGrCwBEuw.png" /><figcaption>Response Headers with X-XSS-Protection set to 0 — Source: <a href="https://app.pluralsight.com/course-player?clipId=28a895c3-492a-499e-a164-1294c8363779">Pluralsight Hack Yourself First</a></figcaption></figure><p>When a response header starts with an “X”, it’s a non-HTTP spec standard header (a.k.a non-standard headers implemented by web server providers or to target specific features of the browser)</p><p>Internet Explorer can disable X-XSS-Protection → Not that great from a security perspective</p><p>If you didn’t disable it, IE10 will let you know by showing a notification at the bottom → Getting rid of that error is really important. Instead of disabling this layer of security, maybe we can find another way to mitigate this XSS vulnerability</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*XDPZOJJmF-Q5o0KKq7KXmA.png" /><figcaption>Cross-Site Scripting notification — Source: <a href="https://app.pluralsight.com/course-player?clipId=28a895c3-492a-499e-a164-1294c8363779">Pluralsight Hack Yourself First</a></figcaption></figure><p><strong>Side-note from </strong><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection"><strong>MDN Web Docs</strong></a><strong>: <br>“</strong>The HTTP <strong>X-XSS-Protection</strong> response header is a feature of Internet Explorer, Chrome and Safari that stops pages from loading when they detect reflected cross-site scripting (<a href="https://developer.mozilla.org/en-US/docs/Glossary/XSS">XSS</a>) attacks. Although these protections are largely unnecessary in modern browsers when sites implement a strong <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy">Content-Security-Policy</a> that disables the use of inline JavaScript (&#39;unsafe-inline&#39;), they can still provide protections for users of older web browsers that don&#39;t yet support <a href="https://developer.mozilla.org/en-US/docs/Glossary/CSP">CSP</a>.</p><ul><li>Chrome has <a href="https://www.chromestatus.com/feature/5021976655560704">removed their XSS Auditor</a></li><li>Firefox has not, and <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=528661">will not implement </a><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=528661">X-XSS-Protection</a></li><li>Edge has <a href="https://blogs.windows.com/windowsexperience/2018/07/25/announcing-windows-10-insider-preview-build-17723-and-build-18204/">retired their XSS filter</a></li></ul><p>This means that if you do not need to support legacy browsers, it is recommended that you use <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy">Content-Security-Policy</a> without allowing unsafe-inline scripts instead.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VGVPJWZPVn96-MJ-6YysRg.png" /><figcaption>Source: <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection">MDN Web Docs</a></figcaption></figure><h4>Recap</h4><ul><li>Sanitisation is our first line of defence</li><li>Output encoding is absolutely critical</li><li>Don’t trust your own data (due to persistent XSS)</li><li>Native browser defences are great for additional protection</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39142ca88c67" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hack Yourself First (Module 1 - TLP)]]></title>
            <link>https://janine-codes.medium.com/hack-yourself-first-module-1-tlp-96a0d981e0fb?source=rss-180c04c3bbc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/96a0d981e0fb</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[web-security]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Janine L]]></dc:creator>
            <pubDate>Tue, 29 Dec 2020 18:16:34 GMT</pubDate>
            <atom:updated>2020-12-30T21:47:26.318Z</atom:updated>
            <content:encoded><![CDATA[<p>What do we do with ourselves during the time between Christmas and New Year’s? After a lovely relaxing few days of self-care and stuffing my face with lots of delicious food, I wanted to learn a little more about Web Security.</p><p>As you may already know, <a href="https://www.troyhunt.com/">Troy Hunt</a> - creator of “<a href="https://haveibeenpwned.com/">Have I Been Pwned</a>”, Microsoft Regional Director and MVP who travels the world speaking at events and training technology professionals, is one of the most well-known professionals in the Cybersecurity world. In hopes to explore more within the world of Cybersecurity, I decided to take some time to do his course on <a href="https://www.pluralsight.com/">Pluralsight</a>: <a href="https://app.pluralsight.com/courses/3ee0bdba-6adf-4e7b-a960-10d5b9fc1ac4/table-of-contents"><strong>Hack Yourself First: How to go on the Cyber-Offense</strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3Tz-7kN7DgGwivEd96pNsQ.jpeg" /><figcaption>Source: <a href="https://vimeo.com/ndcconferences">NDC Conferences</a></figcaption></figure><h3>Introduction</h3><p>This course aims to:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xB9VECC3DvmpYs8aAR00Bw.png" /><figcaption>Source: <a href="https://app.pluralsight.com/course-player?clipId=4da414f9-715f-4a19-a2a0-9f02103be5f9">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>Understand the relative cost of bug fixes</li><li>Learn how to use Fiddler</li><li>Explore Response/Requests</li><li>Decrypt HTTPS traffic with Fiddler</li><li>Modify raw requests and reconstructing them in order to mount text onto the target website</li><li>Use Intruder21 for fuzzing of web apps</li></ul><h3>Module 1: Transport Layer Protection (TLP)</h3><h4><strong>3 objectives of TLP</strong></h4><ol><li><strong>Authenticity</strong><br>Do we know who we’re connecting to?<br>How can we guarantee their identity?</li><li><strong>Integrity</strong><br>Can we trust that our requests aren’t being manipulated?<br>Confidence that responses are modified</li><li><strong>Confidentiality<br></strong> Keeping data private in transit<br> Responses sent to our browser is protected from “prying eyes”</li></ol><blockquote><strong>Man-in-the-middle attack: </strong>When an attacker can sit and observe or modify the content of a private conversation</blockquote><p>There are so many points where a man-in-the-middle attack can take place:</p><ul><li>Starts with a device (PC, tablet, mobile, IoT, etc)</li><li>In a typical request, that data is sent through as an HTTP request to a WAP (wireless access point) router</li><li>The router then sends that data out over external infrastructure</li><li>ISP → Internet service provider which facilitates internet connectivity</li><li>ISP then sends a request out to all over the world (as the destination server could literally be anywhere)</li><li>The request then lands on the destination server</li><li>Then response gets sent back via all these nodes before it reaches the user device</li></ul><p>If we have traffic where authenticity, integrity, or confidentiality is important, then we should always send that via an HTTPS connection. Anytime we send via an HTTP connection, we should automatically assume it can be observed by an attacker.</p><h4>Protecting sensitive data in transit</h4><ul><li>Open Fiddler to observe the traffic and requests made</li><li>Comparing the registration page on an insecure (HTTP) and a secure site (HTTPS)</li><li>HTTP shows all sensitive data and was able to inspect the POST request data, but HTTPS doesn’t allow Fiddler to intercept the POST request data</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ciPfFQklSyj32qbB9XHeKw.png" /><figcaption>Source: <a href="https://app.pluralsight.com/course-player?clipId=4da414f9-715f-4a19-a2a0-9f02103be5f9">Pluralsight Hack Yourself First</a></figcaption></figure><h4>Persisting authentication state via cookies</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/1*sfLKOAyK0bwy73j6VtX5kQ.png" /><figcaption>Source: <a href="https://app.pluralsight.com/course-player?clipId=4da414f9-715f-4a19-a2a0-9f02103be5f9">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>HTTPS is a stateless protocol → Uses unique auth cookies instead</li><li>Risk of sending cookies over insecure connections</li><li>Insecure website:<br>- Resources tab in the DevTools, then inspect cookies<br>- Name: AuthCookie<br>-Intercept using Fiddler to inspect AuthCookie<br>-Testing that the AuthCookie can be maliciously used even in Incognito mode to hijack the session</li><li>Secure website:<br>-It is crucial to pass the AuthCookies only via HTTPS<br>-If we check in Fiddler, only 2 requests can be intercepted by the man in the middle (HTTP requests)</li></ul><h4>Risk of loading login forms via HTTP</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WWGw7J-l8_ltXueV6PuuLg.png" /><figcaption>Source: <a href="https://app.pluralsight.com/course-player?clipId=4da414f9-715f-4a19-a2a0-9f02103be5f9">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>Attacker has access to login form</li><li>Inspect the Network tab in DevTools</li><li>Using Fiddler as a proxy to mount attacks</li><li>Modify the “OnBeforeResponse” → after the server has responded but before it makes its way back to the browser</li><li>Inject the JavaScript keylogger into the page by appending the script to the end of the body and also set the destination variable to the attacker website, and then save</li><li>Logout, then reload the page and inspect the source code (keylogger should be there)</li><li>As we type the username + password, the keylogger logs the data to the attacker’s site</li></ul><p>Secure website redirects insecure HTTP login page, to HTTPS login page<br> <br>Examples of security vulnerabilities:<br>1. <a href="http://www.socialsecurity.gov">www.socialsecurity.gov</a> → Click “Submit a form” on the homepage redirects link to HTTPS, but accessing the form via Google Search leads to it being insecure<br>2. The Tunisian Internet Agency was blamed for the presence of injected JS that captures usernames and passwords on login pages for Gmail, Yahoo and Facebook in 2011.</p><h4>Exploiting mixed-mode content</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1019/1*a3Sa-kM7WxwjFrLfg_EISA.png" /><figcaption>Source: <a href="https://app.pluralsight.com/course-player?clipId=4da414f9-715f-4a19-a2a0-9f02103be5f9">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>Shield icon → Load unauthenticated sources/unsafe script</li><li>As a security defence mechanism, some browsers will automatically not load the unsafe script, some will warn you with a shield, sometimes it’ll load it anyways</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h_kdtjrVs4_11mscjmOmXQ.png" /><figcaption>Source: <a href="https://app.pluralsight.com/course-player?clipId=4da414f9-715f-4a19-a2a0-9f02103be5f9">Pluralsight Hack Yourself First</a></figcaption></figure><ul><li>If the unsafe script loads, it opens up the user to be vulnerable to a man-in-the-middle attack</li><li>As a result, the “HTTPS” prefix in the URL will be crossed out in red as a warning sign:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e6eXwQ9mmwv0Rs_65bGU9A.png" /><figcaption>Source: <a href="https://app.pluralsight.com/course-player?clipId=4da414f9-715f-4a19-a2a0-9f02103be5f9">Pluralsight Hack Yourself First</a></figcaption></figure><p>What a malicious attacker might do with unsafe scripts on an insecure website:</p><ul><li>Fiddler to intercept request — OnBeforeResponse event</li><li>Overwriting the body and embed the keylogger script and also set the destination variable to the attacker website, and then save</li><li>Reload page to ensure that keylogger is injected.</li><li>As we type the username + password, the keylogger logs the data to the attacker’s site (similar to the previous one)</li></ul><p>On a secure website, it’s essential to embed the JavaScript prototype file via HTTPS. There are multiple ways of doing this:</p><ol><li>Reference the script via the HTTPS scheme and embed it as “<a href="https://xyz.com">https://xyz.com</a>”</li><li>Protocol Relative URL → starts with “//“ instead of explicitly stating “<a href="https://xyz.com">https://xyz.com</a>”. If the parent page is loaded over “HTTPS”, the protocol will use the same. Likewise for “HTTP”. It is giving the ability to make an “HTTP” request when it doesn’t need to be secure, but automatically switching to “HTTPS” when necessary.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*15j3WqDwzPyeL3Ke2Va5lQ.png" /><figcaption>Source: <a href="https://app.pluralsight.com/course-player?clipId=4da414f9-715f-4a19-a2a0-9f02103be5f9">Pluralsight Hack Yourself First</a></figcaption></figure><h4>HSTS (HTTP Strict Transport Security) Header</h4><p>Enforce requests from the browser to only be made over secure connections under certain conditions. It acts as a useful layer of defence.</p><p><strong>Problem: </strong><br>The attacker might be able to just load the CSS using HTTP by removing the “s” from the prefix if it doesn’t redirect to “HTTPS”. This means the attacker might be able to access the AuthCookie.</p><p><strong>Solution: </strong><br>Make a change to the Headers → add “Strict-Transport-Security” and set value to “max-age=1440” (1440 minutes = one day). This means that the browser can no longer issue HTTP requests to this website for the next 1440 minutes. If we attempt to do this, it will just convert it to an HTTPS request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RWtqrzsSf_SlNoYK2qIpLQ.png" /><figcaption>Source: <a href="https://app.pluralsight.com/course-player?clipId=4da414f9-715f-4a19-a2a0-9f02103be5f9">Pluralsight Hack Yourself First</a></figcaption></figure><p><strong>Issue mentioned:<br></strong>HSTS isn’t available on all browsers yet (only Chrome and Firefox). But as the course was published in 2013, there has been a lot of improvements since then and now more browsers do support HSTS:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eYaBh_aC6xG8phcDpECHOg.png" /><figcaption>Source: <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security">HSTS MDN Web Docs</a></figcaption></figure><p><strong>Update regarding HSTS: </strong>This course was published in 2013. Thanks to my friend <a href="http://medium.com/@paulo.iswanto">Paulo</a> for mentioning to me and <a href="https://stackoverflow.com/questions/28446314/why-use-protocol-relative-urls-at-all">to this Stack Overflow page</a> for providing the following info:</p><p>“As of December 2014, <a href="http://www.paulirish.com/2010/the-protocol-relative-url/">Paul Irish’s blog on protocol-relative URLs</a> says:</p><blockquote><em>2014.12.17: Now that SSL is encouraged for everyone and doesn’t have performance concerns, this technique is now an anti-pattern. If the asset you need is available on SSL, then </em><strong><em>always</em></strong><em> use the </em><em>https:// asset.</em></blockquote><p>Unless you have specific performance concerns (such as the slow mobile network) you should use https:// to protect your users.”</p><p>That’s all for Module 1: Transport Layer Protection! In the next module, we’ll be learning more about Cross-Site Scripting (XSS). Follow my blog for updates and please give a few claps if you found this blog post helpful.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96a0d981e0fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Harvard CS 50x — Final Week 10 (Ethics)]]></title>
            <link>https://janine-codes.medium.com/harvard-cs-50x-final-week-10-ethics-83261815bdf9?source=rss-180c04c3bbc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/83261815bdf9</guid>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[ethics]]></category>
            <category><![CDATA[cs50]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[harvard]]></category>
            <dc:creator><![CDATA[Janine L]]></dc:creator>
            <pubDate>Thu, 17 Dec 2020 17:06:54 GMT</pubDate>
            <atom:updated>2021-07-02T13:05:40.403Z</atom:updated>
            <content:encoded><![CDATA[<h3>Harvard CS 50x — Final Week 10 (Ethics)</h3><p>(This is a summary of week 10 from the Harvard CS 50x series. Visit <a href="https://medium.com/@ja9-look">this page</a> to see more from this series! )</p><p>Wow - can you believe that it’s already the final week of CS 50x?</p><p>Everyone at work is in the holiday mood and likewise, I’m really looking forward to having a break after such an insane year. Although I’m excited to complete this course, it also leaves me feeling a little sad as I don’t want it to end.</p><p>Guess this just means I’ll need to think of what to learn next… <br>(If you have any suggestions, feel free to comment them down below)</p><p>The final week was focus on summarising everything we learnt throughout the course, as well as a short talk focused on Ethics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pyuHtyrW2ixmGnzcthTKnw.jpeg" /></figure><h3>Summary</h3><ul><li>Looking back + recap</li><li>Important to remember to only compare yourself to when you began (and not with others)</li><li>Computational Thinking</li><li>Critical Thinking</li><li>Input → black box → Output (Problem-solving)</li><li>Quality of code = Correctness, design, style</li><li>Abstraction vs Precision</li><li>Ethics - Just because you can do something, it doesn’t necessarily mean you should</li><li>Examples of ethics gone wrong (perhaps unintentionally?) → Facemash</li><li>Embedded Ethics Programme:<br>- social media<br>- fake news (mention of 2016 presidential campaign)<br>- targeting specific users with curated news articles</li><li>Healthy Democracy - collective decision-making through equality: <br> 1. Rights<br> 2. Opportunity for Expression<br> 3. Access<br> 4. Diversity<br> 5. Communicative Power</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*J-cummKwoJu2f_m4C1u-xQ.jpeg" /></figure><ul><li>Looking forward:<br>- Asking questions<br>- Finding Answers<br>- Reading Documentation<br>- Teaching yourself new languages</li><li>Popular Tools to install</li></ul><h3>Thoughts</h3><ul><li>Final week was a lot shorter compared to usual lectures (1.5 hrs instead of 3hrs)</li><li>Really great to see a little more diversity when it comes to speakers</li><li>Love learning the human side of tech and how we have the power and responsibility when it comes to coding</li></ul><h3>Final Thoughts of CS50x</h3><p>This course was such a pleasant way to learn the fundamentals of Computer Science. Not only did I learn about the theoretical side of things, but it also allowed me to train my practical coding skills via C, Python, JavaScript, SQL and more. I’d highly recommend this course to anyone who’s looking for a fun and interactive way to learn more about Computer Science and has a couple of hours every week to study. That’s for from me for now, but I’ll definitely keep learning on the daily. Keep an eye out for more blog posts coming your way! Happy Holidays everyone ☃️❄️🎄</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fembed%2F6Jgoyu5xFB5yE%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fgiphy.com%2Fgifs%2Fdisney-animation-animated-gif-winnie-the-pooh-6Jgoyu5xFB5yE&amp;image=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fmedia4.giphy.com%2Fmedia%2F6Jgoyu5xFB5yE%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="339" frameborder="0" scrolling="no"><a href="https://medium.com/media/96fa79ebfd0415fa00e200d4bccdb5e6/href">https://medium.com/media/96fa79ebfd0415fa00e200d4bccdb5e6/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83261815bdf9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Harvard CS 50x — Week 9 (Flask)]]></title>
            <link>https://janine-codes.medium.com/harvard-cs-50x-week-9-flask-b89912bf63bf?source=rss-180c04c3bbc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/b89912bf63bf</guid>
            <category><![CDATA[flask]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[cs50]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Janine L]]></dc:creator>
            <pubDate>Fri, 11 Dec 2020 20:47:10 GMT</pubDate>
            <atom:updated>2021-07-02T13:08:25.481Z</atom:updated>
            <content:encoded><![CDATA[<h3>Harvard CS 50x — Week 9 (Flask)</h3><p>(This is a summary of week 9 from the Harvard CS 50x series. Visit <a href="https://medium.com/@ja9-look">this page</a> to see more from this series! )</p><p>It’s currently a Friday night in London, and I’m feeling a little exhausted. Really looking forward to the holidays now!</p><p>However, before I distract myself by dreaming too much of the upcoming holidays, I’m spending my Friday night catching up on the second last video of CS50x. This week’s focus was Flash.</p><h3>Summary</h3><ul><li>Flask → A web app framework mainly used for Python</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/dccb80a47f1a16436ed7de22aaba996a/href">https://medium.com/media/dccb80a47f1a16436ed7de22aaba996a/href</a></iframe><ul><li>Design Pattern (Ways that humans write code)</li><li>MVC (Model, View, Controller)</li><li>Flask has certain organisational recommendations</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/521/1*0_dx-GqBC5dm7yMugs-hvw.png" /><figcaption>Example of an organisational recommendation in Flask</figcaption></figure><ul><li>“flask run” → starts flask app</li><li>GET → request.args</li><li>POST → request.form</li><li>Reusability of code</li><li>Layouts + use of Jinja</li><li>Froshims</li><li>Error checking</li><li>flask_mail</li><li>Sessions</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jsYCfJHL0mHaXBD3h5c-VQ.png" /><figcaption>Example of sessions represented by a “stamp on the hand”</figcaption></figure><ul><li>Cookies</li><li>Logging in / out</li><li>JavaScript</li><li>“%” → wildcard for SQL commands</li><li>JSON(JavaScript Object Notation) → jsonify (takes a python list and returns it in a JSON format)</li><li>jQuery</li><li>AJAX</li></ul><h3>Thoughts</h3><p>This week was really straightforward for me as the principals covered have already been explained to my previously during my Bootcamp course with Flatiron School. Nonetheless, it was intriguing to see everything written in Python using Flask. Can’t believe I only have 1 week of CS50x left - then I’ll be done :)!</p><h3>Links to Assignments</h3><p>No assignment this week.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b89912bf63bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Harvard CS 50x — Week 8 (HTML, CSS, JavaScript)]]></title>
            <link>https://janine-codes.medium.com/harvard-cs-50x-week-8-html-css-javascript-f8c38befea58?source=rss-180c04c3bbc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8c38befea58</guid>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[harvard]]></category>
            <category><![CDATA[cs50]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Janine L]]></dc:creator>
            <pubDate>Sat, 21 Nov 2020 00:44:36 GMT</pubDate>
            <atom:updated>2021-07-02T13:08:15.211Z</atom:updated>
            <content:encoded><![CDATA[<h3>Harvard CS 50x — Week 8 (HTML, CSS, JavaScript)</h3><p>(This is a summary of week 8 from the Harvard CS 50x series. Visit <a href="https://medium.com/@ja9-look">this page</a> to see more from this series! )</p><p>This week’s topic was HTML, CSS, and JavaScript — one that I’m quite familiar with, as I use it on a daily basis for work. Every day I learn more about it and discover new things that we can use it for!</p><p><strong>Fun fact: </strong>I was born the same year as JavaScript!</p><p>One of the talks I watched this week during the <a href="https://onlinefestival.women-in-technology.com/">Women in Technology Online Festival 2020</a> was by <a href="https://medium.com/u/e70bdc47fe86">Tania Asimionesei</a> - “<strong>Javascript is here to stay: from ‘silly little brother’ to industry disruptor”</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kDLQ6gq_ZUE21tlw0DEjNQ.png" /><figcaption><a href="https://medium.com/u/e70bdc47fe86">Tania Asimionesei</a> giving her talk on JavaScript during the <a href="https://onlinefestival.women-in-technology.com/">Women in Technology Online Festival 2020</a></figcaption></figure><p>It definitely reminded me of all the cool things we can build with JavaScript and also how quickly it has developed over the past 2 (almost 3) decades. How inspiring!</p><p>Speaking of which, I want to say a big thank you to <a href="https://www.goldmansachs.com/">Goldman Sachs</a> for gifting me with the second prize of $100 <a href="https://aws.amazon.com/">AWS</a> Giftcard and 3-months access to <a href="https://app.pluralsight.com/library/free">Pluralsight</a> for completing their challenge and cracking the code! 👩🏻‍💻</p><p>I’m thinking something related to python/machine-learning to build on top of the skills that I’ve learnt from this CS50 course!</p><p>Do you have any ideas? Share them in the comments below!</p><h3>Summary</h3><ul><li>Web development</li><li>The internet → network of networks</li><li>Routers relay our data from us to servers and vice versa</li><li>There are many paths that data can take via routers</li><li>Protocols standardise what the message going back and forth are</li><li>Packets of information</li><li>Two of the most common protocols:<br> TCP/IP<br> TCP: Transmission Control Protocol → Allows a server to do several services, handles adaptive delivery of packets, the process of re-transmitting data if required<br> Even if we send several packets from the same computer to another, it might take different routes<br> IP: Internet Protocol → Standardises how computers address each other by using IP addresses<br> Two sets of conventions that computers use to get data from one point to another</li><li>Our computers generally know where the closest routers around us are, and these routers help our messages get to the right IP addresses</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*svUysQG1sxnw9ykdzUvoiA.png" /><figcaption>Example of routers in the US</figcaption></figure><ul><li>DNS: Domain Name System → Is a technology that converts certain domain names such as “<a href="http://www.google.com">www.google.com</a>” to numeric IP addresses</li><li>Port number → a number that represents certain services (e.g. 80 HTTP, 443 HTTPS)</li><li>Anytime a computer is trying to transmit a decent amount of data, for equity sake, it tends to be good for computers to chop up large packets into multiple smaller packets (Net neutrality)</li><li>Sequence number to packets → e.g. 1 of 2, 2 of 2 (just in case a packet gets lost/dropped)</li><li>HTTP: HyperText Transfer Protocol → Governs what is inside the packets of information for web servers + web browsers</li><li>HTTPS means the content of the packet is encrypted so that only the sender and recipient can understand it</li><li>HTTP request + responses</li><li>Status codes</li><li>DevTools</li><li>Cache</li><li>curl → command-line interface to send requests and it returns a response</li><li>URL parameters (e.g. ?q=cats)</li><li>HTML:<br> open and close tags<br> attributes<br> parent + children<br> lists (ordered + unordered)<br> table<br> image<br> links &lt;a href&gt;<br> — potential phishing threats<br> search<br> — forms</li><li>HTML builds a tree-like data structure and store it memory → DOM tree</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cXXfE5zRds0QEwES3Cj6-g.png" /><figcaption>Example DOM tree</figcaption></figure><ul><li>Servers allow us to host webpages</li><li>Ports</li><li>CSS properties</li><li>JavaScript:<br> querySelector<br> event listeners</li><li>IoT devices and how we can send requests to control them</li><li>JSON</li></ul><h3>Thoughts</h3><ul><li>I enjoyed the familiarity of learning about what I use at work, but I was already quite familiar with the basics of HTML, CSS and JavaScript</li><li>Nothing in particular that I wasn’t aware of - but it was quite nice to know this, as it was quite reassuring (oh the joys of having Imposter Syndrome… 😅)</li></ul><h3>Links to Assignments</h3><p>For this week’s assignment, we were asked to complete <a href="https://cs50.harvard.edu/x/2020/tracks/web/">Problem Set 8</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8c38befea58" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>