June 2004 - Posts - Raj Kaimal

June 2004 - Posts

Newsgroups and "I figured it out"

Jeff blogs about users that post questions without searching.

What drives me nuts is when somebody posts a question and then replies to their own post with only the following:

Never mind. I figured it out.

 

Could you share with the community HOW you resolved the problem? :-(

Posted by rajbk | 1 comment(s)
Filed under:

Generating cryptographically safe random numbers.

I saw the following article on CNN: Simple passwords no longer suffice (June 1, 2004) which reminded me of the RNGCryptoServiceProvider class.

Do you generate random numbers for cryptographic purposes?

If so, check that your code uses the System.Security.Cryptography.RNGCryptoServiceProvider class to generate random numbers, and not the Random class. The Random class does not generate truly random numbers that are not repeatable or predictable.

Quoted from: Improving Web Application Security: Threats and Countermeasures [Chapter 21 – Code Review]

Posted by rajbk | 4 comment(s)
Filed under:
More Posts