This is fun. Network Solutions, not known for their wonderful hosting setup, messed up WordPress configuration, file permissions and basically allowed people hosting on their servers to read everyone else’s authentication information. When it was discovered NetSol tried to spin it as a WordPress problem. WordPress are pissed. But what’s amusing, to me anyway, is their talk of crappy configuration – which they justify with the following

WordPress, like all other web applications, must store database connection info in clear text. Encrypting credentials doesn’t matter because the keys have to be stored where the web server can read them in order to decrypt the data. If a malicious user has access to the file system — like they appeared to have in this case — it is trivial to obtain the keys and decrypt the information. When you leave the keys to the door in the lock, does it help to lock the door?

Really? All other web applications? Funny - ASP.NET allows you to encrypt your web.config with keys that are only available to the hosting process and are not hosted on the file system, so it is non-trivial to retrieve them. Claiming all web applications have this problem is applying a PHP problem to other platforms and simply isn’t true.

You are encrypting your connection strings in your ASP.NET application, right? Heck there’s even a utility if you’re allergic to the command line, or I’m sure someone wrote a book detailing this sort of thing.

Technorati Tags: ,,