ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP Development

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 ASP Free Forums Sponsor:
  #1  
Old November 4th, 2009, 05:54 PM
mandomad mandomad is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2009
Posts: 2 mandomad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 14 sec
Reputation Power: 0
How can I stop download of individual file?

Hello

I have a web site that I am going to add user security to (using an SQL database to hold validated user information). While I can easily control access to the site with this I need to know how to stop access to an individual file as shown below:
Code:
http://www.mysite.com/downloads/my.pdf


Regards
James

Reply With Quote
  #2  
Old November 4th, 2009, 08:29 PM
bigmike1212's Avatar
bigmike1212 bigmike1212 is offline
Option Explicit, baby.
ASP Free Novice (500 - 999 posts)
 
Join Date: Jan 2009
Location: Neighborhood of Make-Believe
Posts: 554 bigmike1212 User rank is First Lieutenant (10000 - 20000 Reputation Level)bigmike1212 User rank is First Lieutenant (10000 - 20000 Reputation Level)bigmike1212 User rank is First Lieutenant (10000 - 20000 Reputation Level)bigmike1212 User rank is First Lieutenant (10000 - 20000 Reputation Level)bigmike1212 User rank is First Lieutenant (10000 - 20000 Reputation Level)bigmike1212 User rank is First Lieutenant (10000 - 20000 Reputation Level)bigmike1212 User rank is First Lieutenant (10000 - 20000 Reputation Level)bigmike1212 User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 17 h 46 m 54 sec
Reputation Power: 146
Hey Nilpo! Please give the "file outside the Web root" tutorial that I don't understand.

LOL.
__________________
Fremen United! Folding@Home team ID 169647. All Fremen welcome.

Reply With Quote
  #3  
Old November 6th, 2009, 05:28 PM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
ASP Free God 48th Plane (28500 - 28999 posts)
 
Join Date: Sep 2004
Location: Israel
Posts: 28,838 Shadow Wizard User rank is General 21st Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 21st Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 21st Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 21st Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 21st Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 21st Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 21st Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 21st Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 21st Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 21st Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 21st Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 21st Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 21st Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 21st Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 21st Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 21st Grade (Above 100000 Reputation Level)  Folding Points: 549372 Folding Title: Super Ultimate Folder - Level 2Folding Points: 549372 Folding Title: Super Ultimate Folder - Level 2Folding Points: 549372 Folding Title: Super Ultimate Folder - Level 2Folding Points: 549372 Folding Title: Super Ultimate Folder - Level 2Folding Points: 549372 Folding Title: Super Ultimate Folder - Level 2Folding Points: 549372 Folding Title: Super Ultimate Folder - Level 2Folding Points: 549372 Folding Title: Super Ultimate Folder - Level 2
Time spent in forums: 3 Months 2 Weeks 1 Day 14 h 30 m 10 sec
Reputation Power: 2389
this is one way to do that:
http://forums.aspfree.com/code-bank...-asp-65239.html
just put your files outside the website folder then instead of direct link
to the files, use "proxy" ASP file that get file name as input and sends
the file to the browser after it verify the user is authenticated.

Reply With Quote
  #4  
Old November 6th, 2009, 09:18 PM
mandomad mandomad is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2009
Posts: 2 mandomad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 14 sec
Reputation Power: 0
Thanks

That seems to solve the problem!

Regards
James

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > How can I stop download of individual file?


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





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

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





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek