Posts Tagged information

I know I have said it before, but I’ll say it again…

I know, I know… Previously I said we were really close to releasing a preview of SnowCMS v2, but this time, we are really really close.

What do I have left to do?

  • Some tweaks to the theme control panel, such as making the theme files checked against the security database (to see that they are safe), and to check for and apply updates to a theme.
  • Remove AJAX from the plugin updater.
  • Leverage the simple notification system: currently there is a way for plugins to display simple notifications in the control panel sidebar, but SnowCMS itself does not take advantage of this feature. I will make it so when there is a system update, plugin update, or theme update, you will see a notification that there is some sort of update available.

Hopefully we really are close this time, as I am really looking forward to getting SnowCMS out to the web to demonstrate what it is capable of!

, , , , ,

No Comments

Keeping your credentials secure

One big goal of SnowCMS is providing a secure system, but of course, who wouldn’t want that? In order to keep that system secure, user credentials also need to be kept secure, because if someone gets a hold of that information, especially of a member who has powers, your site would likely become compromised.

So how do we keep your password secure? For starters, the password kept in the members database is salted with your username and then encrypted using SHA1. By salting your password, it helps prevent the use of rainbow tables (You know, those sites that have databases with plain text strings and their encrypted counterpart). Then there is logging in, when you submit your credentials through the log in form, your password gets salted with your supplied username, hashed using SHA1, then salted with a randomly generated string which is done by the server. Your plain text password is deleted before the form is sent to the server. Now, this only will occur if you have JavaScript enabled, of course. Once the hashed password is sent to the server, it takes out your members row, and salts (The last salt generated) the hashed password in the database and hashes it, then compares it to the one received from you. If they match, that means your password is correct.

Securing your password before being sent to the server might seem a bit overkill, but it can be very useful. As you never know, someone could be logging POST data, which would contain your log in credentials. All they would get would be your encrypted password which is salted with a randomly generated string. The only way they could ever use that password to log in to your account would be if the server were to generate the same random string, which is highly unlikely.

There are two ways that SnowCMS keeps your password from ever being seen by human eyes, but there is still one more. Cookies! No, not those kind, the Internet kind. With every page load, your browser sends the cookies to the server, where they can then be used to identify whether or not you are logged in. Instead of sending your password just with your username salting the password, there is also a randomly generated hash in the database that salts your password in the cookie… Just in case ;-)

Not all people have access to SSL, which would stop such possible attacks, which is why we at SnowCMS have decided to use such tactics to protect not only the system itself from security issues, but also the people who use our system as well.

Just a reminder, the SnowCMS Dev Forum is now open to the public, if you are interested in having part in the development, or just like to see what is happening, you should come and join us.

Till next time, cya!

, , ,

No Comments