473,396 Members | 1,970 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,396 software developers and data experts.

How to limit access to files

Hello all!
I'm new to asp and this is what I want to do:
I want to have a simple login system on a website, where there is a private
area, where only registered users can enter. I can do this, using a session.
My problem is that I want to each user to have access to some files. So
user1 can access file1.zip (imagine) and user2 can access file2a.zip and
file2b.zip. Of course, if they don't login, they can't download the file. If
I just place the files on the server, with the url any person can download
it.
Of course there must be a way to do this.
Any tips on this?
Thanks in advance.
Best Regards

Goncalo Martins
Jul 19 '05 #1
2 1253
store them outside the WWW path and stream them to the client upon
verification of user/pass.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Gonçalo Martins" <gm******@netcabo.pt> wrote in message
news:40***********************@news.telepac.pt...
Hello all!
I'm new to asp and this is what I want to do:
I want to have a simple login system on a website, where there is a private area, where only registered users can enter. I can do this, using a session. My problem is that I want to each user to have access to some files. So
user1 can access file1.zip (imagine) and user2 can access file2a.zip and
file2b.zip. Of course, if they don't login, they can't download the file. If I just place the files on the server, with the url any person can download
it.
Of course there must be a way to do this.
Any tips on this?
Thanks in advance.
Best Regards

Goncalo Martins

Jul 19 '05 #2
On Thu, 11 Mar 2004 16:16:51 -0000, "Gonçalo Martins"
<gm******@netcabo.pt> wrote:
Hello all!
I'm new to asp and this is what I want to do:
I want to have a simple login system on a website, where there is a private
area, where only registered users can enter. I can do this, using a session.
My problem is that I want to each user to have access to some files. So
user1 can access file1.zip (imagine) and user2 can access file2a.zip and
file2b.zip. Of course, if they don't login, they can't download the file. If
I just place the files on the server, with the url any person can download
it.
Of course there must be a way to do this.
Any tips on this?


NTFS permissions. Start here:

http://www.iisfaq.com/default.aspx?View=P78&P=145

Jeff
Jul 19 '05 #3

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

Similar topics

4
by: MFA | last post by:
Hi All Is there any limit to include files (<!--#include file="xyz.asp"-->). I have developed an application where I am including different files on the base of diffirent conditions and values...
6
by: Hannu | last post by:
Hi. In the ldb file you can see the users of the mdb-file. If you open the mdb-file your machine and username will be written in the lbd- file. Allthough you close the mdb-file your name won't...
10
by: VM | last post by:
How can I limit the use of the PC's virtual memory? I'm running a process that basically takes a txt file and loads it to a datatable. The problem is that the file is over 400,000 lines long (77...
16
by: google | last post by:
Hello, I am working on an Acc2003 app for my company. In the interest of reducing chances of corruption due to unstable network connectivity, I would like to either prevent users from running it...
1
by: Jan | last post by:
Is there a 2GB size limit on Access2003/XP ? If so, is there an easy way to span across more than one MDB file?
5
by: Nosferatum | last post by:
I am in need of a solution on how to solve this problem: I need to limit access to six different folders. My users are validated in a system which check their prescence with a couple of...
5
by: Chuck | last post by:
If the max size of an Access DB is about 2gb, and the DB is split, does each item have its own 2 gb limit or does the combined size of linked tables add to the size of the FE to get to the limit?...
3
by: Mathieu Prevot | last post by:
Hi, I have a multithreaded script that mainly creates several wget processes to download files. I would like to check/see and eventually limit the bandwidth of the pool of processes. One way to...
7
Jezternz
by: Jezternz | last post by:
Ok I have a registration/permissions system setup, and I want to limit different user groups to only allow for an amount of downloads. (and non-logged in users to not have the ability to download...
1
by: CCHDGeek | last post by:
I am automating a process using Access 2003 (SP2) by importing csv files as tables. The amount of data was causing the database to reach the 2gb limit. Now I am deleting the tables after I am...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.