Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Blocking access to files with external authentication



You know, I think that this is yet another job for the mighty combo of Perl
and cron jobs.

Because the qtaccess file is a well know format, I would write a Perl script
(use the Net::LDAP module) that performs a query against the ldap server to
pull all user accounts that match your criteria and then write out the results
to the appropriate .qtaccess file. Put that puppy up as a cron job that runs
every 5, 10, or 15 minutes and you'll have a reasonably real time set of user
accounts that is synched with ldap. 

It's a hack (actually, you could write it up to be pretty robust...), but you 
don't have to write your own mod_ldap implementation for QTSS.

Cheers,

Larry


On Wed, Jan 15, 2003 at 02:22:49PM -0800, Peter Phan wrote:
> Hi,
> 
> I'm trying to limit access to my .mov files by authenticating users against
> something more powerful than a qtuser file.
> 
> I have a linux server that has a movies directory and three subdirectories
> called public, intranet, and extranet. The public folder should be
> accessible to everyone. The other two folders should only be accessible if
> the user belongs to certain groups. I want to authenticate with ldap because
> many of my other applications already use the same pool of accounts from an
> ldap database.
> 
> Background:
> At first we thought we could use authentication with apache, but then we
> found out the user could type in the url into the player to get around it.
> Then I thought about using the qtaccess file, but that would require too
> much work if there thousands of users. I want to prevent someone from
> getting to the mov file directly by typing the url into their player.
> 
> Any ideas?
> 
> Thanks.
> 
> Peter
> _______________________________________________
> streaming-server-users mailing list | email@hidden
> Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/streaming-server-users
> Do not post admin requests to the list. They will be ignored.

-- 
Cheers,

Larry Underhill

"He filled his vacancy with his voluptuousness."
_______________________________________________
streaming-server-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/streaming-server-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Blocking access to files with external authentication (From: "Peter Phan" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.