473,491 Members | 2,179 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Strategy to offer files?

We offer files (self-made programs), the customer needs to be authorized to
be able to download them. We're offering currently over 20 files, each file
is in a certain group.. the customer can be in group 1, group 2, group 3...
and he can only download files, which are in the same group as him.

How to make that just with IIS? OK, forms auth., but you can only lock
certain folders, not files, and you can't do it programmaticaly, just with
web.config.

Any ideas? My initial idea was using sql server (storing the files binary
into sql server).
Nov 19 '05 #1
3 963
look at the location tag in web.config. It can be used to restrict access
to individual files from unauthorised access based on named users or groups.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"the friendly display name"
<th********************@discussions.microsoft.co m> wrote in message
news:DB**********************************@microsof t.com...
We offer files (self-made programs), the customer needs to be authorized
to
be able to download them. We're offering currently over 20 files, each
file
is in a certain group.. the customer can be in group 1, group 2, group
3...
and he can only download files, which are in the same group as him.

How to make that just with IIS? OK, forms auth., but you can only lock
certain folders, not files, and you can't do it programmaticaly, just with
web.config.

Any ideas? My initial idea was using sql server (storing the files binary
into sql server).

Nov 19 '05 #2
Didn't know that, thanks.

But anyway - isn't there a way to change web.config programmaticaly? From
the web application? Otherwise, for our purpose, it'll be useless.

"John Timney ( MVP )" wrote:
look at the location tag in web.config. It can be used to restrict access
to individual files from unauthorised access based on named users or groups.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"the friendly display name"
<th********************@discussions.microsoft.co m> wrote in message
news:DB**********************************@microsof t.com...
We offer files (self-made programs), the customer needs to be authorized
to
be able to download them. We're offering currently over 20 files, each
file
is in a certain group.. the customer can be in group 1, group 2, group
3...
and he can only download files, which are in the same group as him.

How to make that just with IIS? OK, forms auth., but you can only lock
certain folders, not files, and you can't do it programmaticaly, just with
web.config.

Any ideas? My initial idea was using sql server (storing the files binary
into sql server).


Nov 19 '05 #3
If at all you are able to do that, your application would be recycled. That
would mean that the session and applicaton information would be lost.

Regards,

Trevor Benedict R

"the friendly display name"
<th********************@discussions.microsoft.co m> wrote in message
news:B5**********************************@microsof t.com...
Didn't know that, thanks.

But anyway - isn't there a way to change web.config programmaticaly? From
the web application? Otherwise, for our purpose, it'll be useless.

"John Timney ( MVP )" wrote:
look at the location tag in web.config. It can be used to restrict
access
to individual files from unauthorised access based on named users or
groups.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"the friendly display name"
<th********************@discussions.microsoft.co m> wrote in message
news:DB**********************************@microsof t.com...
> We offer files (self-made programs), the customer needs to be
> authorized
> to
> be able to download them. We're offering currently over 20 files, each
> file
> is in a certain group.. the customer can be in group 1, group 2, group
> 3...
> and he can only download files, which are in the same group as him.
>
> How to make that just with IIS? OK, forms auth., but you can only lock
> certain folders, not files, and you can't do it programmaticaly, just
> with
> web.config.
>
> Any ideas? My initial idea was using sql server (storing the files
> binary
> into sql server).


Nov 19 '05 #4

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

Similar topics

0
1541
by: Tim Brooks | last post by:
All, I'm hoping one of you Xml or Data gurus can offer an opinion. I'm working on an app to basically compare two semi-structured data files (e.g. Excel / CSV) to one another. But I need to...
7
1572
by: Rick | last post by:
I'm sorry for posting this here, but other more relevant groups are a little too quiet. Has anyone out there come up with an effective strategy for using VSS with a development team? IME it is a...
3
1200
by: Jordan S. | last post by:
I would appreciate your thoughts and opinions on the following: I am looking to render documents into multiple document formats. At a minimum the documents will need to be rendered as HTML, and...
3
933
by: Jordan S. | last post by:
I would appreciate your thoughts and opinions on the following: I am looking to render documents into multiple document formats. At a minimum the documents will need to be rendered as HTML, and...
0
7115
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
6978
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
7154
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,...
1
6858
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
7360
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
5451
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,...
0
4578
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3086
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.