Category Archives: Security

Computer security related posts

Two Factor Authentication in ASP.NET MVC

All
Two Factor Authentication devices

It’s becoming more and more common for websites to provide the capability of having two factor authentication as part of you login process. Google, GitHub, Hotmail and Dropbox just to name a few of the organisations that have embraced two factor authentication and provided it as an optional security measure. In this article I will… Continue Reading

ASP.NET MVC4 AuthorizeAttribute throughout app

All
Control access to your webpages with the AuthorizeAttribute

If you’re developing a website where there should only be a couple of publicly accessible pages in ASP.NET MVC, then at first you may try to go through all your controllers decorating them with the AuthorizeAttribute. Although you will still want to allow anonymous users access to the login page otherwise anonymous users can never… Continue Reading

VPN on your Android

All
Secure Android

When this is posted I shall be travelling around Europe (I’ve set up delayed publish), while I’m away I will be getting my fix of the Internet through public wireless networks and networks in hostels. As any security conscious person will know public wireless networks are dangerous territory where unless your connections are secured it… Continue Reading

Password storage, how to do it right.

I’ve spoken before in some of my other blog posts (some of which haven’t been finished/published yet) about password storage strategies and how it is important to make sure that you choose the right storage strategy. One of my friends pointed out that while it should be a no brainer not to store passwords plain… Continue Reading

Strong password storage strategies on websites

We are regularly asked when registering for a website to make sure that we use a secure password, over a certain number of characters, different character sets etc. but once we have submitted our password how do we know that their password storage strategy is adequate? Yesterday I realised that I had forgotten my password… Continue Reading

Retrieving your forgotten wireless password

I recently set up a wireless network in my new flat with a super duper awesomely strong password, set up my laptop to connect to the wireless and then promptly forgot to actually write down what the wireless password was. Thankfully some genius had already experienced this problem and had created an application to retrieve… Continue Reading

Calculate SHA512 hash of string or file

This class implements the IHasher interface that you can find here. ”’ ”’ SHA512 hash class from Satal Keto’s library ”’ https://www.satalketo.com ”’ Version 1.0.0.1 ”’ Imports System.IO Imports System.Security.Cryptography Namespace Security.Hash     Public Class SHA512Hash         Implements IHasher         Public Function hashOfFile(ByVal fileToHash As String) As String Implements IHasher.hashOfFile             Dim rdr As FileStream… Continue Reading

Calculate SHA384 hash of string or file

This class implements the IHasher interface that you can find here. ”’ ”’ SHA384 hash class from Satal Keto’s library ”’ https://www.satalketo.com ”’ Version 1.0.0.1 ”’ Imports System.IO Imports System.Security.Cryptography Namespace Security.Hash     Public Class SHA384Hash         Implements IHasher         Public Function hashOfFile(ByVal fileToHash As String) As String Implements IHasher.hashOfFile             Dim rdr As FileStream… Continue Reading

Calculate SHA256 hash of string or file

This class implements the IHasher interface that you can find here. ”’ ”’ SHA256 hash class from Satal Keto’s library ”’ https://www.satalketo.com ”’ Version 1.0.0.1 ”’ Imports System.IO Imports System.Security.Cryptography Namespace Security.Hash     Public Class SHA256Hash         Implements IHasher         Public Function hashOfFile(ByVal fileToHash As String) As String Implements IHasher.hashOfFile             Dim rdr As FileStream… Continue Reading

Calculate SHA1 hash of string or file

This class implements the IHasher interface that you can find here. ”’ ”’ SHA1 hash class from Satal Keto’s library ”’ https://www.satalketo.com ”’ Version 1.0.0.1 ”’ Imports System.IO Imports System.Security.Cryptography Namespace Security.Hash     Public Class SHA1Hash         Implements IHasher         Public Function hashOfFile(ByVal fileToHash As String) As String Implements IHasher.hashOfFile             Dim rdr As FileStream… Continue Reading

1 2