<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Vincent Dal Maso</title>
    <description>The latest articles on Forem by Vincent Dal Maso (@urriel).</description>
    <link>https://forem.com/urriel</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F150277%2Fff8283c0-449e-4c8d-9685-335b625861fd.jpeg</url>
      <title>Forem: Vincent Dal Maso</title>
      <link>https://forem.com/urriel</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/urriel"/>
    <language>en</language>
    <item>
      <title>Authentication in 2020</title>
      <dc:creator>Vincent Dal Maso</dc:creator>
      <pubDate>Mon, 30 Mar 2020 09:53:21 +0000</pubDate>
      <link>https://forem.com/urriel/authentication-in-2020-3joa</link>
      <guid>https://forem.com/urriel/authentication-in-2020-3joa</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--C5b3ROZg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.pixabay.com/photo/2017/02/19/23/10/finger-2081169_1280.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--C5b3ROZg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.pixabay.com/photo/2017/02/19/23/10/finger-2081169_1280.jpg" width="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Authentication in 2020
&lt;/h1&gt;

&lt;p&gt;First of all, in light of the different leaks of user profiles and passwords happening all over the world, it seems like authentication in the web is broken. And nothing is seriously done to prevent user accounts from being hacked. Historically, it is not new to get hacked and it is connected to our authentication method.&lt;/p&gt;

&lt;h2&gt;
  
  
  Authentication before 2015
&lt;/h2&gt;

&lt;p&gt;Since the avent of internet, users have always been required a username and password in order to get authenticated by a web application. With our lousy memory, we tend to use the same password several times or change only a letter to uppercase when needed by the password validation. In most cases, we use &lt;a href="https://thehackernews.com/2017/12/data-breach-password-list.html"&gt;extremely simple passwords&lt;/a&gt;, and it result on our account being hacked. It is even easier now that the past leaks have created a huge database of logins available to anyone.&lt;br&gt;
As a developer, passwords should be handle with uttermost care. Although, some careless developer still keep those passwords as plain text in their databases. Consequently providing easy data for future leaks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Authentication after 2015
&lt;/h2&gt;

&lt;p&gt;For the sake of security, around 2015 started a new trend in authentication, "Two Factor Authentication" or 2FA. This method of authentication is mainly based on a username and password in addition of a code sent one way or another to a user's owned device. It has been confirmed that 2FA could prevent &lt;a href="https://enterprise.verizon.com/resources/reports/dbir/"&gt;95%&lt;/a&gt; of attacks on a web application. Still, in 2020 it is not commonly used, Why ?&lt;br&gt;
Their is several causes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Users tend to get bothered by multi steps authentications.&lt;/li&gt;
&lt;li&gt;Security is not a first priority for Management or developers, even if it can damage the company's reputation.&lt;/li&gt;
&lt;li&gt;Including 2FA is time consuming.&lt;/li&gt;
&lt;li&gt;Entrusting another company with its users database is tough.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Authentication in 2020
&lt;/h2&gt;

&lt;p&gt;Nowadays "Multi Factor Authentication" or MFA is becoming a buzzword when we talk about authentication. But we are still years behind when it comes to securing user accounts. Nevertheless their is options to remedy to the situation.&lt;/p&gt;

&lt;h3&gt;
  
  
  Multi Factor Authentication
&lt;/h3&gt;

&lt;p&gt;MFA is a standard today, used by most of the tech giants and it should be democratized. It can be added to your software by open source libraries or third party services. Although it can be sensitive to entrust another company to handle your user database, even so, they put their reputation on the line by providing this sort of service.&lt;/p&gt;

&lt;h3&gt;
  
  
  Passwordless Authentication
&lt;/h3&gt;

&lt;p&gt;With the avent of MFA, a new trend is now emerging. Passwordless authentication. The goal is to replace the username/password step commonly used on the web, by a link sent to your e-mail address, only or combined with other authentication steps. This prevent the user from typing its password and thus remove the human issue from the equation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;It is a duty to secure our user accounts. If it is not for the company reputation, it should be for our self-esteem as a developer, architect or manager. Delivering a secure web application to our users should be a goal in 2020. So which decisions are you going to take to secure your users ?&lt;/p&gt;

&lt;p&gt;&lt;em&gt;MFA -&amp;gt; &lt;a href="https://en.wikipedia.org/wiki/Multi-factor_authentication"&gt;https://en.wikipedia.org/wiki/Multi-factor_authentication&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Microsoft Passwordless white paper -&amp;gt; &lt;a href="https://www.microsoft.com/en-us/security/business/identity/passwordless"&gt;https://www.microsoft.com/en-us/security/business/identity/passwordless&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;Initially posted on my &lt;a href="https://urriel.github.io/Urriel/authentication-2020/"&gt;blog&lt;/a&gt;&lt;/p&gt;

</description>
      <category>authentication</category>
      <category>security</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Rust in web applications</title>
      <dc:creator>Vincent Dal Maso</dc:creator>
      <pubDate>Fri, 07 Feb 2020 07:29:28 +0000</pubDate>
      <link>https://forem.com/urriel/rust-in-web-applications-3agk</link>
      <guid>https://forem.com/urriel/rust-in-web-applications-3agk</guid>
      <description>&lt;p&gt;Hello everyone,&lt;/p&gt;

&lt;p&gt;I have been thinking about using rust in web development for the past 2 months but in light of the recent events surrounding actix, I am wondering if is it worth it to commit a whole project to a single library.&lt;/p&gt;

&lt;p&gt;Since the standard library is focus on low level programming and all the library available on cargo seems to rely on a huge amount of other external library. How do you assess the potential threat to the security or longevity of your project ?&lt;/p&gt;

&lt;p&gt;For me, node modules or python libraries were already a pain to check against security and company policies. But in my perspective the problem is even worse for rust.&lt;/p&gt;

&lt;p&gt;I’m a huge fan of the language, and follow very changes, but I keep coming back to go when it comes to write a simple service, without over head.&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>rust</category>
    </item>
  </channel>
</rss>
