473,372 Members | 989 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,372 software developers and data experts.

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 954
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
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
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
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
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...
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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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.