Software Design
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreSoftware Design

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 26th, 2002, 12:30 PM
raenius raenius is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 1 raenius User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Managing File Downloads

i want to make some files available to certain people on my site. i don't want someone to be able to just type in the address to the file and be able to download it. I have seen this done in some form on many web pages and i have looked for some info on this but i guess i'm just not looking in the right places. So i was wondering what is the best and most secure way of achieving this would be. Any direction as to how to achieve this would be appreciated.
Comments on this post
JimmyGosling agrees!

Last edited by raenius : March 26th, 2002 at 12:37 PM.

Reply With Quote
  #2  
Old March 27th, 2002, 04:08 AM
WoR WoR is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Posts: 20 WoR User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
zip the files with a password
Comments on this post
JimmyGosling agrees!

Reply With Quote
  #3  
Old March 29th, 2002, 11:08 AM
darkangel darkangel is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Location: USA
Posts: 12 darkangel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Lightbulb chk out this link

www.sitewizard.com
They have some good resources for web development.

DA


Comments on this post
JimmyGosling agrees!

Reply With Quote
  #4  
Old April 9th, 2002, 06:45 AM
chronoton chronoton is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Kenju
Posts: 26 chronoton User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
If your´re planning to do it with php, just try hotscripts.com, they have tons of ressources / code / ready made download tools including dB support and file logging for this purpose

Reply With Quote
  #5  
Old April 20th, 2002, 08:46 AM
Bigfoot Bigfoot is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 2 Bigfoot User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Perhaps you can do something with .htaccess, if you're running Apache. Make a password file and authentication method.

Reply With Quote
  #6  
Old April 26th, 2002, 03:14 AM
Thrasher Thrasher is offline
Canta como rafaé
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: Barcelona
Posts: 74 Thrasher User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
Send a message via ICQ to Thrasher
Put the files to download outside of the DocumentRoot and then make a script or CGI which takes the referenced file and dumps the content back to the user, setting the appropiate mime type in the headers.
__________________
Thrasher



'Y se ahogaron los dooos
No eran duros pa pagar, cuñaaoo !!'
El vagamundo - El risitas y su cuñao

Reply With Quote
  #7  
Old April 26th, 2002, 07:40 PM
The Ostrich The Ostrich is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: Oxford, UK
Posts: 28 The Ostrich User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Don't zip the files with a password... At least, the old PKZIP stream cipher was broken ages ago, and I guess they might well use the same cipher in modern zip files for compat... In any case, I wouldn't trust it any further than I could heft it.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreSoftware Design > Managing File Downloads

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap