8 Oct

Weekly Update 122: More languages, more opportunities

This is a copy of our weekly newsletter for developers which you can subscribe to here.

Hello contributors,

Thank you for the great response to our request for Language Leaders last week. We're pleased to welcome the following DuckDuckHack language leaders!

Thanks to their help and enthusiasm, we've expanded the programming mission to the following languages: C, C#, C++, CSS, Haskell, HTML, Java, JavaScript, Objective-C, Perl, PHP, Python, R, Ruby, Scala, Swift.

Whether there's a language leader or not, everyone is invited to help improve the search experience for the languages above. If you'd like to help, you can:

And now, here are some specific issues we're currently looking for help with...

5-minute Fixes

More quick fix ideas here...

Weekend Warriors

More high priority fix ideas here...

Quick Tip

Following on from last week's NodeJS tip, here's another handy hint, this time to help keep your website or app secure.

If you're using the popular Express framework, there's middleware called Helmet that provides a good base layer of protection. Best of all, you can install and use it really easily:

npm install helmet --save

Once installed, you simply refer to it in your code (e.g. server.js or app.js) like so:

var helmet = require('helmet');
app.use(helmet());

This will provide various secure features such as:

  • Protection against cross-site scripting attacks (XSS)
  • Headers to prevent man-in-the-middle attacks (MITM) and enforce secure connections
  • Prevention of malicious MIME sniffing
  • Removal of X-Powered-By header to hide server information
  • Protection against clickjacking

When developing a new web app or site, security is sometimes an afterthought. Helmet makes it easy to add a good foundation upon which you can build the security you need right from the start. Whether you use Express or not, their website has a useful list of best practices for NodeJS security and details of what Helmet provides.

And with that, stay safe and enjoy your weekend!

- The DuckDuckGo Staff

3 Tweet

This blog has been archived

Thank you for reading and contributing lively discussion to our blog! Read more posts about online privacy on our new blog at spreadprivacy.com.

Thank you for the great response to our request for Language gautamkrishnar (PHP) uhf

posted by jazmin21 • 7 months and 12 days ago Link

Nice tips ! Thx !

posted by mickael03 • 7 months and 25 days ago Link

Looking forward for amazing experience.

posted by <hidden> • 8 months and 13 days ago Link