Tag Archives: passwords

Use a password protected Access database in C#

This example shows how you can open and use a password protected Access database in C#. It also shows how you can use the database’s password protection to provide a login form for your program. Note that the security used … Continue reading

Posted in database, Office | Tagged , , , , , , , , , | Leave a comment

Why Twitter recently wanted you to change your password

A few days ago, Twitter asked all of its users to change their passwords. The reason they did that was that they found a bug in their system that made an internal log file store passwords in an unencrypted form. … Continue reading

Posted in cryptography, internet, miscellany | Tagged , , , , , , , , , , , | Leave a comment

Make a password manager in C#

Before I discuss this example, let me make a disclaimer and say that I can’t guarantee this application’s performance. I think it is secure but for something as important as passwords you need to merely use this program as an … Continue reading

Posted in algorithms, cryptography, mathematics, registry, system | Tagged , , , , , , , , , , , , , , , , , , , | 4 Comments

Use cryptographic methods to generate random passwords in C#

Lately I’ve gotten more than a little tired of having to generate random passwords that obey all sorts of stupid rules for various web sites. Who cares if I use a strong password on a web site that just sends … Continue reading

Posted in algorithms, cryptography, mathematics, system | Tagged , , , , , , , , , , , , , , , , , , | 1 Comment

Protect a program from SQL injection attacks in C#

This example explains how you can protect a C# application from SQL injection attacks. The techniques can also protect other kinds of programs such as web applications. Recently Russian hackers stole more than 1.6 billion (yes, that’s 1,600,000,000) user names … Continue reading

Posted in database, SQL, system | Tagged , , , , , , , , , , , , | 7 Comments