Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM: Paid for file downloads / streaming

date posted 1st December 2003 15:52

nope, in the url window all they'll see is the .asp file - they'd have
to guess the directory to find the file. you could also add a couple of
honeypot directories to catch the IP addresses of anyone looking to
leech as well.

if you use the stream method, you can place the file outside of the
webroot, however it loads the file into memory so you need a beefy
machine if theres lots of large files.

and as i said earlier, if needs be you could always create a virtual
directory on the fly, that way theres no way of accessing the files over
the web unless they've logged in whereupon a virtual directory is
generated based on their session ID which points to the folder with the
video files.

and amanda owen has just mentioned the web.config file, i havent had
time to du much with .net, but that might be the trick?

Andy Macnaughton-Jones wrote:

>Does that not still mean that the user can actually see the file, the
>response.redirect would cause the browser to re-request. I suppose using
>server.transfer would be ok but again I want to make it so that it's not
>possible to link to the file because one of the reasons we're having to
>go down this route is people leaching the files.
>
>
>Andy
>IWD2 LLP
[EMAIL REMOVED]
>
>-----Original Message-----
>From: David Eckersall [EMAIL REMOVED]
>Sent: 01 December 2003 15:19
>To: Andy Macnaughton-Jones
>Subject: Re: FN-FORUM: Paid for file downloads / streaming
>
>
>yup, you supply it a valid URL, however using the response.redirect in
>the asp means its location is 'cloaked' and you can do any security
>testing before passing it over.
>
>its also something i use to replace frames where you need to keep doing
>a check (say for new webmail) for something, have javascript refresh an
>image tag with an asp URL, every time its called it checks for mail and
>supplies the appropriate image...
>
>Nick Grimshaw wrote:
>
>
>
>>David Eckersall:
>>
>>
>>
>>
>>>well you can do one of two things, have the download page be an asp or
>>>
>>>
>
>
>
>>>aspx page with the content-type set as the video format and just
>>>response.redirect to the video:
>>>(snip code)
>>>
>>>
>>>
>>>
>>Surely response.redirect would just send a 302 (or similar) to the
>>client, which means that the video would still need a valid URL?
>>
>>- Nick Grimshaw
>>{ if you're not part of the solution, you're part of the precipitate. }
>>
>>
>>
>>
>>
>>
>
>
>
>--
>* The Web Design Business Kit *
>Find out how to price your work, market your business, make pitches that
>get the client, write effective proposals and beat the competition into
>the ground. Download 4 free sample chapters.
>http://sitepoint.com/launch/b7c91e/
>
>To advertise here: http://www.freelancers.net/advertising.html
>
>
>
>




Messages by Day
December 31st 2003
December 30th 2003
December 29th 2003
December 28th 2003
December 27th 2003
December 26th 2003
December 25th 2003
December 24th 2003
December 23rd 2003
December 22nd 2003
December 21st 2003
December 20th 2003
December 19th 2003
December 18th 2003
December 17th 2003
December 16th 2003
December 15th 2003
December 14th 2003
December 13th 2003
December 12th 2003
December 11th 2003
December 10th 2003
December 9th 2003
December 8th 2003
December 7th 2003
December 6th 2003
December 5th 2003
December 4th 2003
December 3rd 2003
December 2nd 2003
December 1st 2003


Messages by Month
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000