1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Movable Type 5.2.3" />
7 <link rel="stylesheet" href="http://defaria.com/blogs/General/styles.css" type="text/css" />
8 <link rel="start" href="http://defaria.com/blogs/General/" title="Home" />
9 <link rel="alternate" type="application/atom+xml" title="Recent Entries" href="http://defaria.com/blogs/General/atom.xml" />
10 <script type="text/javascript" src="http://defaria.com/blogs/General/mt.js"></script>
13 <title>General: August 2005 Archives</title>
16 <link rel="prev" href="http://defaria.com/blogs/General/archives/2005/03/" title="March 2005" />
17 <link rel="next" href="http://defaria.com/blogs/General/archives/2005/09/" title="September 2005" />
20 <body id="classic-blog" class="mt-archive-listing mt-datebased-monthly-archive layout-wtt">
22 <div id="container-inner">
26 <div id="header-inner">
27 <div id="header-content">
30 <div id="header-name"><a href="http://defaria.com/blogs/General/" accesskey="1">General</a></div>
31 <div id="header-description"></div>
40 <div id="content-inner">
44 <div id="alpha-inner">
47 <h1 id="page-title" class="archive-title">August 2005 Archives</h1>
54 <div id="entry-412" class="entry-asset asset hentry">
55 <div class="asset-header">
56 <h2 class="asset-name entry-title"><a href="http://defaria.com/blogs/General/archives/2005/08/jinzora.html" rel="bookmark">Jinzora</a></h2>
57 <div class="asset-meta">
60 <abbr class="published" title="2005-08-23T08:58:50-08:00">August 23, 2005 8:58 AM</abbr>
69 <div class="asset-content entry-content">
71 <div class="asset-body">
72 <p>Recently I disovered <a href="http://jinzora.com">Jinzora></a> which allows you to keep a media library on your web server and stream songs to anywhere on the Internet. It's really cool with it's "slick" interface displaying album art, artist art as well as descriptions of artists, albums and even lyrics! I've moved my <a href="/jinzora2">Media Collection</a> over to using Jinzora. It's a PHP application using a MySQL backend and it's open source. Problem is it's a big app and it uses a lot of resources on my tiny server. I need a bigger server for sure!</p>
74 <p>Jinzora has capabilities for <i>transcoding</i> songs to other bitrates <b>on the fly</b>. While nice in theory I cannot afford yet more server bandwidth - my server is crawling at times as it is!</p>
76 <p>Jinzora also allows people to register for user accounts and for the administrator to configure the level of access per user classes. It also has the ability to stream music to several Flash based players as well as allow the user to use an external media player such as Windows Media Player or WinAmp, etc. For example, on Linux I use xmms. This helps because you can configure Jinzora to use a Flash based player and you don't have to worry about whether or not your end user has properly configured say Windows Media Player or that they have a mess of Windows Media Player, WinAmp, MusicMatch and Real Player all competing for their media files and none really configured correctly, which is often the case.</p>
78 <p>One thing that bugs me is that Jinzora is that it encodes links with parameter information that is encoded in base64. This is probably for security purposes but it really makes links that you may email or paste to an IM window ugly!. The following will turn this off but there's a problem where when you implement this hack logging in of users then fails to work! The following was gotten from the <a href="http://www.jinzora.com/forums">Jinzora Forums</a> from <a href="http://www.jinzora.com/forums/viewtopic.php?t=1801&start=15">this</a posting:
81 <blockquote type="cite">
82 <p>Thanks for the offline comments... long story short, it appears like it was a minor incompatibility between the released J2 and Mandrake 10.1's php. I don't know how it will be fixed in the release, but the quick fix I got from Ben/Wim: (This fixes it, but it is not optimal, so only use it if you really need it).</p>
84 <p>Open /lib/general.lib and add this code to the scrable functions: "return $string ;". First: Search for this part:</p>
86 <div class="code"><pre>
87 function jz_encode($string, $key = false) {
93 <div class="code"><pre>
94 function jz_encode($string, $key = false) {
99 <p>Next : Search for this part:</p>
101 <div class="code"><pre>
102 function jz_decode($string, $key = false) {
108 <div class="code"><pre>
109 function jz_decode($string, $key = false) {
115 <p>Again, currently, implementing this does indeed turn off the base64 encoding of URL parms but it breaks logging in and logging out.</p>
117 <p>Finally, a note on security: When I get my Jinzora site up and streaming I noticed even slower than normal response from my server and even got knocked off the net a few times. Scanning the logs it appears as if there are people again hitting my server and attempting to directly download my mp3 files or download them through Jinzora in an automated fashion that just swamps my tiny server. For example, college kids find a site with mp3 files then swamp it to steal your mp3's.</p>
119 <p>Jinzora has it's own directory where the PHP files and other data is stored. It also has <i>media directories</i> where media is pulled from. My Jinzora directory is at /web/jinzora2. My media directory is at /web/Music (which is shared via Samba over to my XP boxes). As /web is my DocumentRoot, this exposes /web/Music to the INternet. Thus you could access http://defaria.com/Music/<proper path>/<song file>.mp3 and utilize something like wget(1) to effectively steal mp3 files.</p>
121 <p>IOW you don't need to go through the Jinzora interface, thus be subject to Jinzora's user/password login to get to my mp3 files. My first attempt to secure this was to put a .htaccess file in /web/jinzora2. This secures Jinzora by making the web server perform basic authentication. But basic authentication is a pain to manage and it defeats the username/password accounts in Jinzora.</p>
123 <p>So I got to thinking "I just need to secure /web/Music. Jinzora will still be able to access those media files without the need to authenticate through the web server because it's basically a PHP app running on my server and just reading files through a path" and I moved .htaccess to /web/Music. Viola, I'm now secure!</p>
129 <div class="asset-footer"></div>
135 <div class="content-nav">
136 <a href="http://defaria.com/blogs/General/archives/2005/03/">« March 2005</a> |
137 <a href="http://defaria.com/blogs/General/">Main Index</a> |
138 <a href="http://defaria.com/blogs/General/archives.html">Archives</a>
139 | <a href="http://defaria.com/blogs/General/archives/2005/09/">September 2005 »</a>
148 <div id="beta-inner">
152 <div class="widget-archive widget-archive-category widget">
153 <h3 class="widget-header">Categories</h3>
154 <div class="widget-content">
162 <div class="widget-archive-monthly widget-archive widget">
163 <h3 class="widget-header">Monthly <a href="http://defaria.com/blogs/General/archives.html">Archives</a></h3>
164 <div class="widget-content">
167 <li><a href="http://defaria.com/blogs/General/archives/2017/07/">July 2017 (1)</a></li>
171 <li><a href="http://defaria.com/blogs/General/archives/2017/04/">April 2017 (1)</a></li>
175 <li><a href="http://defaria.com/blogs/General/archives/2016/11/">November 2016 (1)</a></li>
179 <li><a href="http://defaria.com/blogs/General/archives/2016/05/">May 2016 (1)</a></li>
183 <li><a href="http://defaria.com/blogs/General/archives/2016/03/">March 2016 (1)</a></li>
187 <li><a href="http://defaria.com/blogs/General/archives/2015/10/">October 2015 (1)</a></li>
191 <li><a href="http://defaria.com/blogs/General/archives/2015/01/">January 2015 (2)</a></li>
195 <li><a href="http://defaria.com/blogs/General/archives/2014/11/">November 2014 (1)</a></li>
199 <li><a href="http://defaria.com/blogs/General/archives/2014/02/">February 2014 (1)</a></li>
203 <li><a href="http://defaria.com/blogs/General/archives/2014/01/">January 2014 (1)</a></li>
207 <li><a href="http://defaria.com/blogs/General/archives/2011/03/">March 2011 (1)</a></li>
211 <li><a href="http://defaria.com/blogs/General/archives/2010/11/">November 2010 (1)</a></li>
215 <li><a href="http://defaria.com/blogs/General/archives/2010/10/">October 2010 (1)</a></li>
219 <li><a href="http://defaria.com/blogs/General/archives/2010/06/">June 2010 (4)</a></li>
223 <li><a href="http://defaria.com/blogs/General/archives/2010/04/">April 2010 (1)</a></li>
227 <li><a href="http://defaria.com/blogs/General/archives/2010/03/">March 2010 (4)</a></li>
231 <li><a href="http://defaria.com/blogs/General/archives/2010/02/">February 2010 (7)</a></li>
235 <li><a href="http://defaria.com/blogs/General/archives/2009/05/">May 2009 (1)</a></li>
239 <li><a href="http://defaria.com/blogs/General/archives/2009/04/">April 2009 (2)</a></li>
243 <li><a href="http://defaria.com/blogs/General/archives/2009/01/">January 2009 (1)</a></li>
247 <li><a href="http://defaria.com/blogs/General/archives/2007/04/">April 2007 (1)</a></li>
251 <li><a href="http://defaria.com/blogs/General/archives/2006/11/">November 2006 (1)</a></li>
255 <li><a href="http://defaria.com/blogs/General/archives/2006/09/">September 2006 (2)</a></li>
259 <li><a href="http://defaria.com/blogs/General/archives/2005/12/">December 2005 (1)</a></li>
263 <li><a href="http://defaria.com/blogs/General/archives/2005/10/">October 2005 (1)</a></li>
267 <li><a href="http://defaria.com/blogs/General/archives/2005/09/">September 2005 (1)</a></li>
271 <li><a href="http://defaria.com/blogs/General/archives/2005/08/">August 2005 (1)</a></li>
275 <li><a href="http://defaria.com/blogs/General/archives/2005/03/">March 2005 (1)</a></li>
279 <li><a href="http://defaria.com/blogs/General/archives/2004/02/">February 2004 (6)</a></li>
283 <li><a href="http://defaria.com/blogs/General/archives/2004/01/">January 2004 (1)</a></li>
287 <li><a href="http://defaria.com/blogs/General/archives/2003/11/">November 2003 (2)</a></li>
291 <li><a href="http://defaria.com/blogs/General/archives/2003/10/">October 2003 (5)</a></li>
301 <div class="widget-pages widget">
302 <h3 class="widget-header">Pages</h3>
303 <div class="widget-content">
307 <li class="folder folder-38"><strong>about</strong>
316 <div class="widget-syndication widget">
317 <div class="widget-content">
319 <li><img src="http://defaria.com/mt/mt-static/images/status_icons/feed.gif" alt="Subscribe to feed" width="9" height="9" /> <a href="http://defaria.com/blogs/General/atom.xml">Subscribe to this blog's feed</a></li>
324 <div class="widget-powered widget">
325 <div class="widget-content">
326 <a href="http://www.movabletype.com/"><img src="http://defaria.com/mt/mt-static/images/bug-pbmt-white.png" alt="Powered by Movable Type 5.2.3" width="120" height="75" /></a>
339 <div id="gamma-inner">
340 <div class="widget-search widget">
341 <h3 class="widget-header">Search</h3>
342 <div class="widget-content">
343 <form method="get" action="http://defaria.com/mt/mt-search.cgi">
344 <input type="text" id="search" class="ti" name="search" value="" />
346 <input type="hidden" name="IncludeBlogs" value="1" />
348 <input type="hidden" name="limit" value="20" />
349 <input type="submit" accesskey="4" value="Search" />
354 <div class="widget-about-this-page widget">
355 <h3 class="widget-header">
363 <div class="widget-content">
369 <p class="first">This page is an archive of entries from <strong>August 2005</strong> listed from newest to oldest.</p>
371 <p><a href="http://defaria.com/blogs/General/archives/2005/03/">March 2005</a> is the previous archive.</p>
374 <p><a href="http://defaria.com/blogs/General/archives/2005/09/">September 2005</a> is the next archive.</p>
378 <p>Find recent content on the <a href="http://defaria.com/blogs/General/">main index</a> or look in the <a href="http://defaria.com/blogs/General/archives.html">archives</a> to find all content.</p>
395 <div id="footer-inner">
396 <div id="footer-content">
397 <div class="widget-powered widget">
398 <div class="widget-content">
399 Powered by <a href="http://www.movabletype.org/">Movable Type</a>