Date: 05/22/01
- Next message: Bob Bowker: "[phplib] OT: Need Auth Advice SOLVED"
- Previous message: Bob Bowker: "[phplib] OT: Need Auth Advice"
- In reply to: Arno A. Karner: "[phplib] protecting served files/images/mp3...."
- Next in thread: Arno A. Karner: "Re: [phplib] protecting served files/images/mp3...."
- Reply: Arno A. Karner: "Re: [phplib] protecting served files/images/mp3...."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I think you might be much better off just moving the files out of your
document root, and building a page that just pipes through the content of
the file after doing a "permission" check to see if it's allowed.
Agreed, a class that sens the right mime headers based on the filename of
best guess at its contents would be cool.
I'm doing essentially the same thing with gifs stored in a database, and it
works like a charm, and the html is simple:
<img src="foo.php">
_alex
-- alex black, ceo enigma <email protected>the turing studio, inc. http://www.turingstudio.com
vox+510.666.0074 fax+510.666.0093
--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>
- Next message: Bob Bowker: "[phplib] OT: Need Auth Advice SOLVED"
- Previous message: Bob Bowker: "[phplib] OT: Need Auth Advice"
- In reply to: Arno A. Karner: "[phplib] protecting served files/images/mp3...."
- Next in thread: Arno A. Karner: "Re: [phplib] protecting served files/images/mp3...."
- Reply: Arno A. Karner: "Re: [phplib] protecting served files/images/mp3...."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

