Flash player 9, 10 – security policy file

I encountered problems for last 6 months to upload music on my dj site – www.djnet.lv . I have flash CMS admin on djnet.lv but the songs are uploaded to other site of mine, where HDD space is not a problem. about half year ago I couldnt upload songs from some computers, now its from all computers. It just stops. I had suspicion it had something to do with new Flash Player versions 9 and 10. So today I fixed it just by uploading simple file to my file hosting server: crossdomain.xml.
Flash player always looks for domain.com/crossdomain.xml file when it accesses its contents or uploads something. The is what my security policy file contains:

How to: Disable new user registration in Drupal

How to: Disable new user registration in DrupalAfter a quick search I didn`t find how to simply switch off new user registration in Drupal. But it has even better feature – access roles. You can specify what usernames/emails/hostnames can access the members area or even register as user.
To disable new user registration, you have to add access rules for existing users. Go to yoursite.com/admin/user/rules/ and add a new rule. For example, first add an allow rule for user “admin“. Then for other existing users. After you have finished, add a deny rule and write “%” in the username field. This will allow to login only the allowed usernames and deny everything else. If the username is not defined it cannot be also registered.
You can even make private site and say to your friends add e.g. “-foo” to their usernames. So you make an allow rule with “%-foo” in username field.
The reason I need to block new user registration is spam. New users register everyday with random spam usernames.

E-mail protection when posting online

Email protection comes to your mind whenever you`re writing something on the net. There is always caution for posting your e-mail address online as spam robots cruise your site and other sites that you leave comments on. While analyzing Google Groups I noticed a nice implementation of securing emails. When you post a message containing an email address (e.g. “denied@recordings.ru”) the email address is changed replacing part of it with “…” (e.g. “den@recordings.ru”) where these dots are linked to “unlock” page where you enter letter/number code from distorted image. If it is correct, you are brought back to the previous page and see the email address normally. Pretty smart :)
(Sorry if this is old news :P)