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). 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).
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).
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). This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
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...
|
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...
|
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...
|
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,...
| |
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...
|
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,...
|
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...
|
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...
|
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: 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...
| |
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...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |