Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / General / archives / 2005 / 08 / index.html
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">
4 <head>
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>
11
12
13     <title>General: August 2005 Archives</title>
14
15
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" />
18
19 </head>
20 <body id="classic-blog" class="mt-archive-listing mt-datebased-monthly-archive layout-wtt">
21     <div id="container">
22         <div id="container-inner">
23
24
25             <div id="header">
26     <div id="header-inner">
27         <div id="header-content">
28
29
30             <div id="header-name"><a href="http://defaria.com/blogs/General/" accesskey="1">General</a></div>
31             <div id="header-description"></div>
32
33         </div>
34     </div>
35 </div>
36
37
38
39             <div id="content">
40                 <div id="content-inner">
41
42
43                     <div id="alpha">
44                         <div id="alpha-inner">
45
46
47                             <h1 id="page-title" class="archive-title">August 2005 Archives</h1>
48
49
50
51
52
53                             
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">
58             <span class="byline">
59     
60                 <abbr class="published" title="2005-08-23T08:58:50-08:00">August 23, 2005  8:58 AM</abbr>
61     
62             </span>
63
64             
65             
66
67         </div>
68     </div>
69     <div class="asset-content entry-content">
70
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>
73
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>
75
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>
77
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:
79
80 <p>bioart wrote:</p>
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>
83
84 <p>Open /lib/general.lib and add this code to the scrable functions: "return $string ;". First: Search for this part:</p>
85
86 <div class="code"><pre>
87 function jz_encode($string, $key = false) {
88   // Complex scheme.
89 </pre></div>
90
91 <p>change it in:</p>
92
93 <div class="code"><pre>
94 function jz_encode($string, $key = false) {
95   return $string ;
96   // Complex scheme.
97 </pre></div>
98
99 <p>Next : Search for this part:</p>
100
101 <div class="code"><pre>
102 function jz_decode($string, $key = false) {
103   // Complex scheme.
104 </pre></div>
105
106 <p>change it in:</p>
107
108 <div class="code"><pre>
109 function jz_decode($string, $key = false) {
110   return $string ;
111   // Complex scheme.
112 </pre></div>
113 </blockquote>
114
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>
116
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>
118
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>
120
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>
122
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>
124         </div>
125
126
127
128     </div>
129     <div class="asset-footer"></div>
130 </div>
131
132
133
134
135                             <div class="content-nav">
136                                 <a href="http://defaria.com/blogs/General/archives/2005/03/">&laquo; 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 &raquo;</a>
140                             </div>
141
142
143                         </div>
144                     </div>
145
146
147                     <div id="beta">
148     <div id="beta-inner">
149
150
151     
152     <div class="widget-archive widget-archive-category widget">
153     <h3 class="widget-header">Categories</h3>
154     <div class="widget-content">
155     
156     </div>
157 </div>
158
159
160
161
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">
165         <ul>
166         
167             <li><a href="http://defaria.com/blogs/General/archives/2017/07/">July 2017 (1)</a></li>
168         
169     
170         
171             <li><a href="http://defaria.com/blogs/General/archives/2017/04/">April 2017 (1)</a></li>
172         
173     
174         
175             <li><a href="http://defaria.com/blogs/General/archives/2016/11/">November 2016 (1)</a></li>
176         
177     
178         
179             <li><a href="http://defaria.com/blogs/General/archives/2016/05/">May 2016 (1)</a></li>
180         
181     
182         
183             <li><a href="http://defaria.com/blogs/General/archives/2016/03/">March 2016 (1)</a></li>
184         
185     
186         
187             <li><a href="http://defaria.com/blogs/General/archives/2015/10/">October 2015 (1)</a></li>
188         
189     
190         
191             <li><a href="http://defaria.com/blogs/General/archives/2015/01/">January 2015 (2)</a></li>
192         
193     
194         
195             <li><a href="http://defaria.com/blogs/General/archives/2014/11/">November 2014 (1)</a></li>
196         
197     
198         
199             <li><a href="http://defaria.com/blogs/General/archives/2014/02/">February 2014 (1)</a></li>
200         
201     
202         
203             <li><a href="http://defaria.com/blogs/General/archives/2014/01/">January 2014 (1)</a></li>
204         
205     
206         
207             <li><a href="http://defaria.com/blogs/General/archives/2011/03/">March 2011 (1)</a></li>
208         
209     
210         
211             <li><a href="http://defaria.com/blogs/General/archives/2010/11/">November 2010 (1)</a></li>
212         
213     
214         
215             <li><a href="http://defaria.com/blogs/General/archives/2010/10/">October 2010 (1)</a></li>
216         
217     
218         
219             <li><a href="http://defaria.com/blogs/General/archives/2010/06/">June 2010 (4)</a></li>
220         
221     
222         
223             <li><a href="http://defaria.com/blogs/General/archives/2010/04/">April 2010 (1)</a></li>
224         
225     
226         
227             <li><a href="http://defaria.com/blogs/General/archives/2010/03/">March 2010 (4)</a></li>
228         
229     
230         
231             <li><a href="http://defaria.com/blogs/General/archives/2010/02/">February 2010 (7)</a></li>
232         
233     
234         
235             <li><a href="http://defaria.com/blogs/General/archives/2009/05/">May 2009 (1)</a></li>
236         
237     
238         
239             <li><a href="http://defaria.com/blogs/General/archives/2009/04/">April 2009 (2)</a></li>
240         
241     
242         
243             <li><a href="http://defaria.com/blogs/General/archives/2009/01/">January 2009 (1)</a></li>
244         
245     
246         
247             <li><a href="http://defaria.com/blogs/General/archives/2007/04/">April 2007 (1)</a></li>
248         
249     
250         
251             <li><a href="http://defaria.com/blogs/General/archives/2006/11/">November 2006 (1)</a></li>
252         
253     
254         
255             <li><a href="http://defaria.com/blogs/General/archives/2006/09/">September 2006 (2)</a></li>
256         
257     
258         
259             <li><a href="http://defaria.com/blogs/General/archives/2005/12/">December 2005 (1)</a></li>
260         
261     
262         
263             <li><a href="http://defaria.com/blogs/General/archives/2005/10/">October 2005 (1)</a></li>
264         
265     
266         
267             <li><a href="http://defaria.com/blogs/General/archives/2005/09/">September 2005 (1)</a></li>
268         
269     
270         
271             <li><a href="http://defaria.com/blogs/General/archives/2005/08/">August 2005 (1)</a></li>
272         
273     
274         
275             <li><a href="http://defaria.com/blogs/General/archives/2005/03/">March 2005 (1)</a></li>
276         
277     
278         
279             <li><a href="http://defaria.com/blogs/General/archives/2004/02/">February 2004 (6)</a></li>
280         
281     
282         
283             <li><a href="http://defaria.com/blogs/General/archives/2004/01/">January 2004 (1)</a></li>
284         
285     
286         
287             <li><a href="http://defaria.com/blogs/General/archives/2003/11/">November 2003 (2)</a></li>
288         
289     
290         
291             <li><a href="http://defaria.com/blogs/General/archives/2003/10/">October 2003 (5)</a></li>
292         
293         </ul>
294     </div>
295 </div>
296         
297     
298
299
300
301 <div class="widget-pages widget">
302     <h3 class="widget-header">Pages</h3>
303     <div class="widget-content">
304         <ul>
305     
306     
307             <li class="folder folder-38"><strong>about</strong>
308         
309             </li>
310         
311     
312         </ul>
313     </div>
314 </div>
315
316 <div class="widget-syndication widget">
317     <div class="widget-content">
318         <ul>
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>
320
321         </ul>
322     </div>
323 </div>
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>
327     </div>
328 </div>
329
330
331
332     </div>
333 </div>
334
335
336
337     
338 <div id="gamma">
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="" />
345
346             <input type="hidden" name="IncludeBlogs" value="1" />
347
348             <input type="hidden" name="limit" value="20" />
349             <input type="submit" accesskey="4" value="Search" />
350         </form>
351     </div>
352 </div>
353
354 <div class="widget-about-this-page widget">
355     <h3 class="widget-header">
356
357     
358         About this Archive
359     
360
361
362     </h3>
363     <div class="widget-content">
364
365
366
367
368
369         <p class="first">This page is an archive of entries from <strong>August 2005</strong> listed from newest to oldest.</p>
370     
371         <p><a href="http://defaria.com/blogs/General/archives/2005/03/">March 2005</a> is the previous archive.</p>
372     
373     
374         <p><a href="http://defaria.com/blogs/General/archives/2005/09/">September 2005</a> is the next archive.</p>
375     
376
377
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>
379
380     </div>
381 </div>
382
383
384     </div>
385 </div>
386
387
388
389
390                 </div>
391             </div>
392
393
394             <div id="footer">
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>
400                 </div>
401             </div>
402
403         </div>
404     </div>
405 </div>
406
407
408
409         </div>
410     </div>
411 </body>
412 </html>