[icecast-dev] Access control for static file streaming
philkerr at elec.gla.ac.uk
Mon May 20 07:53:02 PDT 2002
I've had a play around with static.c and added access control (using
Postgres) for static file streaming.
The code is still v. rough as I wrote it whilst dying in bed with flu
last week so I'm a bit reluctant to release it until it's had a tidy-up.
Access is granted by appending a session id to the url which is stripped
and checked to see if the session id lives in the DB (below).
Directory browsing has been disabled otherwise you can just walk around
Next to change is the removing of the filename and replacing it with a
resource id which can be matched against a filename in the DB.
Are these useful features for others? Any suggestions for further
Phil Kerr Centre for Music Technology
Researcher Glasgow University
philkerr at elec.gla.ac.uk T (+44) 141 330 5740
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Icecast-dev