If you're using Slash 2.2, it's fairly easy. The heart of "download.pl" (or whatever) will be a call to isAnon() and a check of $user->{karma}. You can be obscure and redirect to the appropriate weekly location, or subtle, storing the files where the webserver cannot normally get to them, reading and printing them within the Perl program.
I'm working on a plugin and an article concurrently, so I'll have some example authorization code for you in a couple of weeks. It's really simple.
I've got Slash::Gallery, a picture gallery plugin, almost done. One of its features will be that you can only view pictures if that picture is assigned to a group that you are a member of. I'll make it publically available sometime in the next few weeks, probably.
Which Version? (Score:1)
I'm working on a plugin and an article concurrently, so I'll have some example authorization code for you in a couple of weeks. It's really simple.
Re:Which Version? (Score:2)
--
It's either on the beat or off the beat, it's that easy.
Re:Which Version? (Score:2)
Now, how does one get a perl script to read and send out files that aren't accessible normally to Apache?
--
It's either on the beat or off the beat, it's that easy.
Re:Which Version? (Score:0)
hope this helps,
orteling@hotmail.com
Re:Which Version? (Score:2)