[Dspace-tech] Creating md5 sums for external links and lighttpd

2012-04-25 Thread Evelthon Prodromou
Goodmorning everyone, I am investigating the possibility of using lighttpd's secdownload module to use expiring links. I'd like to use those in metadata, so that a link will be valid if viewed within a dspace record, yet inaccessible if hard linked directly. Just to be clear, these files are not

Re: [Dspace-tech] Creating md5 sums for external links and lighttpd

2012-04-25 Thread helix84
On Wed, Apr 25, 2012 at 07:54, Evelthon Prodromou prodromou.evelt...@ucy.ac.cy wrote: If i was to use that, where should i add that piece of code and how should i call it to have the generated hash value in item-view.xsl ? Hi Evelthon, actually there already is an MD5 checksum calculated for

Re: [Dspace-tech] Creating md5 sums for external links and lighttpd

2012-04-25 Thread Evelthon Prodromou
Hi Helix, Thanks for the reply. I will look into it. I'm working with lighttpd to host large video files. It seems to be working but i still have to make some more checks. My problem is that the url pointing to the file is viewable in the source code leading to the possibility of a third party

Re: [Dspace-tech] Creating md5 sums for external links and lighttpd

2012-04-25 Thread helix84
On Wed, Apr 25, 2012 at 10:37, Evelthon Prodromou prodromou.evelt...@ucy.ac.cy wrote: I'm working with lighttpd to host large video files. It seems to be working but i still have to make some more checks. My problem is that the url pointing to the file is viewable in the source code leading to

Re: [Dspace-tech] Creating md5 sums for external links and lighttpd

2012-04-25 Thread Evelthon Prodromou
I don't think the generated bitstream checksum can be used in this case. The sum needed in lighttpd's case is the md5 sum of a concatenated string. The string is made up of a secret pass, the file name with a forward slash in front, and a time string that was previously converted to it's hex

Re: [Dspace-tech] Creating md5 sums for external links and lighttpd

2012-04-25 Thread helix84
On Wed, Apr 25, 2012 at 12:20, Evelthon Prodromou prodromou.evelt...@ucy.ac.cy wrote: I don't think the generated bitstream checksum can be used in this case.  The sum needed in lighttpd's case is the md5 sum of a concatenated string. The string is made up of a secret pass, the file name with