Geeks With Blogs
Jeroen Bourdeaud'hui web application developer security security
ASP.Net Web Application Administration Website showing error.aspx on startup
To add a new role into my aspnet database, I tried to use the Web Application Administration Website. But it was showing the following error message:An error was encountered. Please return to the previous page and try again. Strange, because I was sure, that my connectionstring was correct.After a while, after reading about the Web Application Administration Website, I found that it can't handle spaces or special character in the project path.My project was located in C:\Users\JEROEN\Documents\V... ......

Posted On Tuesday, December 13, 2011 11:06 PM

Trouble with WCF and X 509 certificates

I played a bit with WCF and security, but I had some trouble to create certificates between the server and the client.

This article helped me out:
9 simple steps to enable X.509 certificates on WCF

Posted On Tuesday, December 13, 2011 10:49 PM

How to prevent the user to post page twice, by using refresh
When a user post's data to the server, the page will be reloaded. When the user hits the F5/refresh button, a message appears, which tells us, that we´ve allready sended the data to the server. And asks us if we want to sent it again. If the user clicks "yes", we have to catch that, we don´t want this in our application - check that the user can only post something every 2 minutes. - save the posted data in viewstate and check if something changed - ... Or we can check if the user hit the refresh ......

Posted On Thursday, September 29, 2011 9:51 PM

How to Encrypt connection string in web.config
A couple of years ago, I used 'something' to encrypt the connectionstring on a production server. But I never wrote anything down about it. And in the other projects I did later, I never had deploy to the production server. Yesterday, I had to use it again but I couldn't find it. Why? Because I never wrote about it. This blogpost is copy of Chirag Darji post about the encryption of the connectionstring in web.config. All credits to him! The most sensitive information stored in web.config file can ......

Posted On Wednesday, June 8, 2011 2:07 PM

Hashing passwords using MD5/SHA1
If you want, to hash your passwords, for storing in the database. This post could be useful. You can hash your password using the FormsAuthentication.HashPas... method. This must be the longest method name in the .NET Framework. Ex. How to use this method FormsAuthentication.HashPas... passwordFormat) Dim hashMethod As String = "MD5" 'SHA1Dim hashedPassword As String = _ FormsAuthentication.HashPas... ......

Posted On Wednesday, April 15, 2009 8:37 PM

Copyright © Jeroen Bourdeaud'hui | Powered by: | Join free