The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
change created and modification time if symbolic links avanigadhai Filesystems, Disks and Memory 1 02-28-2008 02:07 AM
find files by time rein SUN Solaris 3 02-13-2008 05:11 AM
download files from direct links tool? umen UNIX for Dummies Questions & Answers 2 07-04-2006 07:00 AM
removing 10 files at a time RianTan Shell Programming and Scripting 2 08-05-2005 11:26 AM
deleting files by type (symbolic links) kryan_toolboy UNIX for Dummies Questions & Answers 4 03-04-2005 09:54 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 01-08-2007
Registered User
 

Join Date: Jan 2007
Posts: 1
Question One-time use files/links

Im in the process of developing a content based website in which people will be able to upload movies(which are then converted to flv format and displayed in a flash based player.) In order to protect the submitted content I would like to setup an offsite folder for the videos and create symbolic/hard links to the files only when in use.

My question:
Is there a way to create a file, symbolic link, hard link... that destroys itself after it has been used?

(In other words I want the script to create this file then once the player initiates the download I want all further attempts to download the video to be rejected. In other words the file can only be accessed via the given video script.)

Site information that might be important:
PHP 4
MySQL
ffmpeg is used to convert the submitted video
Debian GNU/Linux
I do NOT have root access on the server(I was able to get ffmpeg to install to a local directory)
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:58 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0