<?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>DEV Community: Paras Daryanani</title>
    <description>The latest articles on DEV Community by Paras Daryanani (@parasdaryanani).</description>
    <link>https://dev.to/parasdaryanani</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%2F200265%2Fc1708488-d3ca-423b-9fbe-33d1d77be6b4.jpg</url>
      <title>DEV Community: Paras Daryanani</title>
      <link>https://dev.to/parasdaryanani</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/parasdaryanani"/>
    <language>en</language>
    <item>
      <title>7 Tips to Protect your DNN Website from Ransomware</title>
      <dc:creator>Paras Daryanani</dc:creator>
      <pubDate>Tue, 17 Nov 2020 12:24:03 +0000</pubDate>
      <link>https://dev.to/parasdaryanani/7-tips-to-protect-your-dnn-website-from-ransomware-e7j</link>
      <guid>https://dev.to/parasdaryanani/7-tips-to-protect-your-dnn-website-from-ransomware-e7j</guid>
      <description>&lt;p&gt;Ransomware has been a critical security issue since 2018 and is constantly evolving, making it increasingly difficult to detect as malware. We have taken this opportunity to share our experience and help you protect your DNN websites from ransomware attacks in the future.&lt;/p&gt;

&lt;p&gt;Earlier this year, two of our DNN servers were facing a ransomware attack, resulting in 9 customer websites being offline. All of their data was encrypted, including on-site backups. Thankfully, we had offshore backups available which helped to get the websites back up and running in a matter of hours.&lt;/p&gt;

&lt;h1&gt;
  
  
  1. Keep your DNN version up-to-date
&lt;/h1&gt;

&lt;p&gt;While DNN is known for excellent built-in security, there are some old versions of DNN that contain vulnerabilities. These vulnerabilities enable hackers to remotely upload and execute the malware on your servers. Keeping your DNN version up-to-date is by far the best way to protect your DNN website from malware attacks. If you don’t already know, the DNN Community just published a &lt;a href="https://github.com/dnnsoftware/Dnn.Platform/releases/tag/v9.8.0"&gt;landmark DNN release, 9.8.0&lt;/a&gt;, which provides a large step up in DNN security, through the removal of outdated Telerik libraries. We would highly recommend upgrading your DNN website to &lt;a href="https://github.com/dnnsoftware/Dnn.Platform/releases/tag/v9.8.0"&gt;version 9.8.0&lt;/a&gt;.&lt;/p&gt;

&lt;h1&gt;
  
  
  2. Keep Windows up-to-date
&lt;/h1&gt;

&lt;p&gt;While updating DNN may sometimes be difficult due to module compatibility, updating Windows is a no-brainer. From my experience, Windows has some security holes now and then that lets malware through. Over the past few years, multiple vulnerabilities have been discovered in the Windows SMB service, and have subsequently been patched through Windows update. The easiest way to keep Windows up-to-date is to switch on automatic updates out of business hours. Check your Google Analytics reports to find the least busy time on your website and schedule your updates accordingly.&lt;/p&gt;

&lt;h1&gt;
  
  
  3. Use anti-virus / anti-malware software
&lt;/h1&gt;

&lt;p&gt;After restoring our 9 websites and making sure Windows is up-to-date, we installed MalwareBytes on our servers. This proved extremely effective in detecting malware and quarantining suspicious files immediately.&lt;/p&gt;

&lt;h1&gt;
  
  
  4. Version control your website root directory
&lt;/h1&gt;

&lt;p&gt;We use git version-control on all of our executable files in our website root directories. This may seem strange and unorthodox, but its extremely effective in detecting files that don't belong in your websites, such as web shells that hackers have somehow uploaded through undiscovered security vulnerabilities in either DNN or Windows. How do you detect files that don’t belong in your website root directory? Just open VS Code, click on Git and you’ll see modified and/or unversioned files. Of course, you could also do this on the command line by running git status or git diff.&lt;/p&gt;

&lt;p&gt;If you want to take this a step further, you could set up some sort of automation to send an email alert if any executable files are added or modified in your DNN website.&lt;/p&gt;

&lt;h1&gt;
  
  
  5. Setup a solid backup workflow
&lt;/h1&gt;

&lt;p&gt;Ransomware is the worst! It’s usually impossible to decrypt your files and get everything back to normal. Hackers will try convincing you that they will undo the damage if you pay them the ransom amount, but be warned that you should not trust them. &lt;/p&gt;

&lt;p&gt;Instead, you should take a proactive approach in implementing a solid backup plan. There are many ways to automate backups both on-site and off-shore. We recommend having both in place. Other than that, we recommend encrypting your backups, such that hackers cannot steal your information and threaten to publish it on the web if you don’t pay the ransom. This also means you should encrypt your database storage.&lt;/p&gt;

&lt;h1&gt;
  
  
  6. Perform a monthly check / sweep
&lt;/h1&gt;

&lt;p&gt;We perform monthly checks on our DNN servers to make sure that everything is running smoothly. In that, we check the MalwareBytes quarantine logs and website root directories for added/ removed or modified files.&lt;/p&gt;

&lt;p&gt;We also do dig through the IIS access logs to see where traffic is coming from, followed by blocking certain URL patterns (e.g. /wp-login.php), IP addresses/ ranges etc.&lt;/p&gt;

&lt;h1&gt;
  
  
  7. Consider using a reverse proxy
&lt;/h1&gt;

&lt;p&gt;In most cases, Windows firewall will protect your server from unauthorised access. Unfortunately, it doesn’t always help with Windows vulnerabilities. To work around this, we route external traffic through an Nginx reverse proxy, through to our DNN sites. The proxy server runs on a Linux machine placed in the same internal network and helps to block common threats as it only forwards HTTP and HTTPS traffic to the windows server running DNN.&lt;/p&gt;

&lt;h1&gt;
  
  
  That’s all folks!
&lt;/h1&gt;

&lt;p&gt;We know it’s a long list of things to do to secure your DNN website, but it has worked well in our experience. If you need a hand with implementing any of these security measures, feel free to &lt;a href="https://celestify.com/contact"&gt;get in touch&lt;/a&gt; and we will happily assist you. Until next time, Happy DNN-ing!&lt;/p&gt;

</description>
      <category>dnncms</category>
      <category>dotnet</category>
      <category>security</category>
      <category>opensource</category>
    </item>
    <item>
      <title>8 Reasons to Build a Website with DNN Platform in 2020</title>
      <dc:creator>Paras Daryanani</dc:creator>
      <pubDate>Fri, 02 Oct 2020 10:35:48 +0000</pubDate>
      <link>https://dev.to/parasdaryanani/8-reasons-to-build-a-website-with-dnn-platform-in-2020-4pfk</link>
      <guid>https://dev.to/parasdaryanani/8-reasons-to-build-a-website-with-dnn-platform-in-2020-4pfk</guid>
      <description>&lt;p&gt;Are you evaluating a CMS to use for a new website in 2020? Here are 8 reasons why DNN Platform is a perfect choice.&lt;/p&gt;

&lt;h1&gt;
  
  
  1. 100% Free and Open Source
&lt;/h1&gt;

&lt;p&gt;Previously DNN Platform was the free and open-source offering of DNN Corp, as opposed to their premium CMS, Evoq. In 2018, DNN became part of the .NET Foundation which essentially means that any changes in DNN Corp will no longer affect the DNN Community. So you can rest assured that DNN Platform is and will always be free and open source.&lt;/p&gt;

&lt;h1&gt;
  
  
  2. Easy to Use
&lt;/h1&gt;

&lt;p&gt;One of the best features of DNN is that it's extremely easy to use. DNN allows you to quickly create web pages using its 100% frontend editing capability. If you've worked with other CMSs like WordPress, Joomla or Umbraco, you'll recall how you edit content in a backend dashboard, followed by clicking another button to view the modified page. DNN harmonizes content editing and viewing, making it easy for non-techies to easily put content on their website.&lt;/p&gt;

&lt;h1&gt;
  
  
  3. Great Developer Experience
&lt;/h1&gt;

&lt;p&gt;For developers familiar with .NET development, DNN is quick to get started with. Out of the box it supports WebForms, Model-View-Controller (MVC) and Single Page Applications (SPA) modules. DNN exposes many convenient APIs for developers to use when building new functionality. The development stack is unopinionated, meaning that developers have full freedom to use any third-party vendors and libraries to achieve what they want to. &lt;/p&gt;

&lt;p&gt;For example, when building SPA modules, you can use React, Vue, Angular, Svelte or just about any other JS library, without having to worry about whether DNN "allows" it. The same way, you can import and use as many .NET libraries (NuGet packages) as needed. If you're looking to get started with DNN development, there are many starter module templates available on the &lt;a href="https://github.com/DNNCommunity"&gt;DNN Community GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;h1&gt;
  
  
  4. Easy for Designers
&lt;/h1&gt;

&lt;p&gt;Are you only familiar with basic HTML / CSS and some JavaScript? Not to worry, as designers and frontend developers can create themes for DNN with little effort and no visual limitations. This means you can 100% customise the look of your DNN website. This is great evidence of DNN's versatility, especially if you were to compare it to WordPress where 90% of all website themes look similar.&lt;/p&gt;

&lt;h1&gt;
  
  
  5. Versatile and Offers Unlimited Extensibility
&lt;/h1&gt;

&lt;p&gt;DNN Platform, appropriately named, is more than just a content management system. Over the past 10 years, I've built various applications using DNN, including job portals, real estate websites, intranet applications, asset management systems, mobile app backends and automotive sales websites, e-commerce websites and more. Whatever you’re building, you could probably build it with DNN.&lt;/p&gt;

&lt;h1&gt;
  
  
  6. Extremely Secure
&lt;/h1&gt;

&lt;p&gt;Security has always been a top priority for the DNN Community. DNN has a built-in security analyzer, which audits your site for vulnerabilities, incorrect configurations and permissions for both the filesystem and the database. Each item shows a PASS / ALERT / CHECK / FAIL result, making it easy to secure your DNN site. Note however that the best way to keep your DNN site secure is to always update your website to the latest version of DNN.&lt;/p&gt;

&lt;h1&gt;
  
  
  7. Getting Closer to .NET 5 (.NET Core)
&lt;/h1&gt;

&lt;p&gt;While it’s not quite there yet, the DNN Community is working hard to bring DNN Platform closer to .NET Core. Over the past few months, DNN Platform has added support for one of the most significant features of .NET Core, that is Dependency Injection (DI). This promotes software development best practices such as loosely coupled architecture, something that DNN was not particularly good at previously. &lt;/p&gt;

&lt;p&gt;Other than DI, the DNN community is working on adding Razor Pages support in DNN, to further modernise it. Trust me when I say DNN is by no means outdated.&lt;/p&gt;

&lt;h1&gt;
  
  
  8. The DNN Community
&lt;/h1&gt;

&lt;p&gt;With a &lt;a href="https://dnncommunity.org/"&gt;brand new website&lt;/a&gt; launched in late 2019, the DNN Community is more active than ever before. There are online meetups every few weeks that you can join to learn more about DNN or to stay up-to-date with the latest developments. You could also attend the yearly conferences, DNN Connect (Europe) / DNN Summit (USA), to meet with like-minded DNN fanatics. &lt;/p&gt;

&lt;p&gt;Most importantly, the DNN Community is always there to support you. If you have any questions or need any help with anything DNN related, you can use the &lt;a href="https://dnncommunity.org/forums"&gt;forums&lt;/a&gt; to get an answer. You can also read the docs at &lt;a href="https://dnndocs.com/"&gt;dnndocs.com&lt;/a&gt; to check out the tutorials and guides for yourself.&lt;/p&gt;

&lt;p&gt;Still not convinced of DNN? &lt;a href="https://celestify.com/contact"&gt;Contact Celestify&lt;/a&gt; today to book a free tour of DNN and find out what Celestify can do for you. No strings attached.&lt;/p&gt;

</description>
      <category>dotnetnuke</category>
      <category>dnncms</category>
      <category>dotnet</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
