Restrict access to a directory, for every user

B

Brian Roisentul

Hi,

I've got a web application running and i want to avoid users from
downloading my pdf files by blocking them the access to that
directory.

The problem is i must to it programmatically because it will be part
of an automatic functionality in the near future.

I've already tried using:

<authorization>
<deny users="?">
</authorization>

within an overridden web.config located in that directory, but it
didn't work. The users are not windows', they're just users of the web
site.

Could anyone help me?

Thanks,

Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,734
Messages
2,569,441
Members
44,832
Latest member
GlennSmall

Latest Threads

Top