Current location: Hot Scripts Forums » Programming Languages » Perl » Initiate file downloads without link paths?


Initiate file downloads without link paths?

Reply
  #1 (permalink)  
Old 03-14-05, 03:32 PM
RickW RickW is offline
New Member
 
Join Date: Mar 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Initiate file downloads without link paths?

I have a script I'm working with that presents to the user a page that requests a password before viewing a directory. Then they get the list of files within that directory (without opening the directory itself). The problem is that it's security-through-obscurity - after the first time they log in and click on a file link, then they know the file path and can access it (as well as others) again without logging in.

Is there any way for my cgi script to present to the logged in visitor the file, without any way to track back to the file? That way I can make the directory non-public.
Reply With Quote
  #2 (permalink)  
Old 03-15-05, 08:02 AM
Chas Chas is offline
Coding Addict
 
Join Date: Oct 2003
Location: California
Posts: 359
Thanks: 0
Thanked 0 Times in 0 Posts
I read an article[1] on this not too long ago. It was based on PHP but if you need it in Perl the logic is there. You just need to code it.

~Charlie

[1] http://www.onlamp.com/pub/a/php/2004...downloads.html
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Form to Text File Justin171985 PHP 14 02-09-11 11:55 AM
create a link to an exe file Sash HTML/XHTML/XML 4 09-07-04 07:51 PM
load a file within a webpage with a link digitalf PHP 8 06-25-04 10:49 PM
Upload file to table so ONLY files tied to primary key are displayed in record? grafixDummy PHP 4 12-20-03 04:28 PM
text file to link rush989 Script Requests 3 08-29-03 06:12 PM


All times are GMT -5. The time now is 04:03 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.