Aug
24
2006
Today, I have found a fantastic presentation about signs, which doesn’t help the reader. The main conclusion is, that you do not always need a sign to tell, what to do or not to do. It is more important, to be intuitive. If you will decide to use signs, use not broken ones! The sign has to make sense, even if you cannot read the text.
Also the presentation’s style is very interesting: You can always see a nice photo, which will be explained. And if there is a text, the font matches to the topic. A really good work, I think.
Aug
21
2006
Everytime, when there is a terror attack anywhere in the world, there are some politicians who want to do something. That’s ok, because a lot of people are afraid about possible attacks (no matter, how probably they are). Politicians have to do something.
Unfortunatelly, they say a lot, but often, they have no idea. One example is the request to censor the internet because you can read there how to build bombs or anything like this. Apparently , they cannot imagine, that there is alwas a way to get the informations you want. If you cannot find any information in the world wide web, use the Freenet Project.
That’s a project, which enables everybody to publish documents in a p2p-network, so that you cannot be punished. The data is shared to several computers and you cannot watch, which part you serve.
This idea is fantastic for countries like china or others, where you cannot say what you want. But it is also a paradise for people, who ignore, what is legal and what is not.
So, honey politicians, tell me: why would you censor the world wide web although you know, that you cannot control the flow of information? Perhaps, security cannot be achieved by harder rules. Perhaps, it can only be achieved by more freedom and tolerance. Think about it!
Aug
18
2006
Viele Benutzer möchten lieber ihre eigenen Passwörter verwenden, deshalb ist es unter Umständen sinnvoll, dem Benutzer anzuzeigen, wie sicher das von ihm gewählte Passwort ist. Ihm sollten dabei natürlich keine Vorschriften gemacht werden, jedoch sollte ihm deutlich gemacht werden, falls er ein zu unsicheres Passwort verwendet.
Zu diesem Zweck habe ich jetzt eine Funktion erstellt, welche das Passwort anhand mehrerer Kriterien analysiert und entsprechend bewertet. Hierzu wird geprüft, ob:
- Das Passwort in einem Lexikon steht (sofern pspell installiert)
- Das Passwort eine optimale Länge erreicht
- Das Passwort aus Groß-/Keinbuchstaben, Zahlen und Sonderzeichen besteht
- identische Zahlenfolgen enthält (mind.3)
- Tastatur-Sequenzen enthält (mind. 3) – Derzeit nur mit deutschem Layout.
- Zahlen-Sequenzen enthält (mind. 3)
- Alphabet-Elemente enthält (mind. 3)
Eine JavaScript-Lösung fällt leider aus, da hier eine Wortlisten-Prüfung nur umständlich möglich sein dürfte, dies aber wohl der wichtigste Test darstellt (absolutes Ausfallkriterium). Deshalb sollte bei Verwendung des Scriptes darauf geachtet werden, dass PHP über pspell-Unterstützung verfügt.
Da der Code jetzt etwas größer ist, habe ich ihn in einer extra-Datei als eigene Klasse erstellt. Hier gehts zum Script. Es darf unter den Bedingungen der GPL 2 frei verwendet werden.
[Update]
Es waren ein paar kleine Bugs im Script, die jetzt aber behoben sind (danke @Driver)