473,383 Members | 1,880 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

download file protect

js
Hi,
how to do this:
the page is to be able to allow a user to enter a password so as to download
documents. It does not meant for any users to download. It is for some
specific users. What I want is to send them a password through email,
but I want to know who's has downloaded.
Please adivce. thanks...

Jul 22 '05 #1
6 1615
store the file outside the WWW path and stream it to the client after you
validate them.
See http://www.darkfalz.com/1098 for streaming starter

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"js" <js@so*****@hotmail.com> wrote in message
news:eK**************@TK2MSFTNGP09.phx.gbl...
Hi,
how to do this:
the page is to be able to allow a user to enter a password so as to
download
documents. It does not meant for any users to download. It is for some
specific users. What I want is to send them a password through email,
but I want to know who's has downloaded.
Please adivce. thanks...

Jul 22 '05 #2
js
Thanks Curt,

"Curt_C [MVP]" wrote in message
news:uh**************@TK2MSFTNGP10.phx.gbl...
store the file outside the WWW path and stream it to the client after you
validate them.
See http://www.darkfalz.com/1098 for streaming starter


what will be the usual way to validate them? Can I use a client script
instead? Thanks.
Jul 22 '05 #3
no, you will have to store the user/pass in a db/file/etc, or use windows
auth.
There are a bunch of sample on that out there. It will have to be SERVER
side though, otherwise the people could just doa VIEW-SOURCE and see the
credentials

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"js" <js@so*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Thanks Curt,

"Curt_C [MVP]" wrote in message
news:uh**************@TK2MSFTNGP10.phx.gbl...
store the file outside the WWW path and stream it to the client after you
validate them.
See http://www.darkfalz.com/1098 for streaming starter


what will be the usual way to validate them? Can I use a client script
instead? Thanks.

Jul 22 '05 #4
js
Thanks...

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:uq**************@TK2MSFTNGP12.phx.gbl...
no, you will have to store the user/pass in a db/file/etc, or use windows
auth.
There are a bunch of sample on that out there. It will have to be SERVER
side though, otherwise the people could just doa VIEW-SOURCE and see the
credentials

Jul 22 '05 #5
Here are some links to articles regarding the streaming process.

http://www.aspin.com/func/content-se...d=5357510&qry= download+file

http://www.asp101.com/articles/jason...oadlist/defaul t.asp

http://www.planet-source-code.com/vb...howCode.asp?ln
gWId=4&txtCodeId=7351

http://www.developerfusion.com/show/233/

http://www.4guysfromrolla.com/webtech/081199-1.shtml

http://www.aspalliance.com/chrisg/de...asp?article=49

Here is a ASP application that handles everything for you.

http://www.aspprotect.com/more_info_full_v7.asp



"js" <js@so*****@hotmail.com> wrote in message
news:up**************@TK2MSFTNGP12.phx.gbl...
Thanks...

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:uq**************@TK2MSFTNGP12.phx.gbl...
no, you will have to store the user/pass in a db/file/etc, or use windows
auth.
There are a bunch of sample on that out there. It will have to be SERVER
side though, otherwise the people could just doa VIEW-SOURCE and see the
credentials


Jul 22 '05 #6
js
Great source to share...
Thanks James.

"James Van" <jv***@hotmail.com> wrote in message
news:u%****************@TK2MSFTNGP12.phx.gbl...
Here are some links to articles regarding the streaming process.

http://www.aspin.com/func/content-se...d=5357510&qry= download+file

http://www.asp101.com/articles/jason...oadlist/defaul t.asp

http://www.planet-source-code.com/vb...howCode.asp?ln
gWId=4&txtCodeId=7351

http://www.developerfusion.com/show/233/

http://www.4guysfromrolla.com/webtech/081199-1.shtml

http://www.aspalliance.com/chrisg/de...asp?article=49

Here is a ASP application that handles everything for you.

http://www.aspprotect.com/more_info_full_v7.asp



"js" <js@so*****@hotmail.com> wrote in message
news:up**************@TK2MSFTNGP12.phx.gbl...
Thanks...

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:uq**************@TK2MSFTNGP12.phx.gbl...
no, you will have to store the user/pass in a db/file/etc, or use
windows auth.
There are a bunch of sample on that out there. It will have to be SERVER
side though, otherwise the people could just doa VIEW-SOURCE and see the
credentials



Jul 22 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Brent Billups | last post by:
I am trying to download files from one website to another for purposes of caching. In trying to do this, I created a VB dll component (using VB6), that used URLDownloadToFile, to allow me to...
6
by: chon | last post by:
I have an ASP page that is sent a file location as a parameter. It opens this file, loads the ADODB.Stream object and does a binary write to the page forcing the download dialog to appear. This...
14
by: Aaron | last post by:
On my website I have a dynamic link(aspx) to this file 0AX120S.jpg(privacy protection). When a visitor clicks on the link I want them to see my_vacation_pic.jpg (fetch realname from database) is...
6
by: fgarciarico | last post by:
I´m developping an application that needs to show some videos, but in a protected envinroment. Any user must be authenticated to see the videos. But for example, if anyone know the path of the...
10
by: The Clansman | last post by:
Hi, I am developing a site for a company and this site will have files available for the customers to download, but only the customers loged in will be able to download these files and the files...
1
by: Al | last post by:
Hi! I try to use custom download page (download.aspx) wich writes file (about 700Mb) to response. But I can download only one file from one IP at the same time. I think that this is IIS or...
7
by: mistral | last post by:
I use htaccess to protect directory and granting access to download file only for the authorized users. Just want implement simple PHP file download counter for single file. I need track the number...
7
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi. I have an ASP.NET 2.0 web application which contains an Images directory with all website images. How can I prevent other websites from creating img tags with the source as my images? I want...
2
by: someusernamehere | last post by:
Hey, I need to implement this with PHP, i.e. I have some files in www.myserver.com/files what I need is when an user log into the account a temporary URL is created for download a file in /files,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.