Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Restrict access to a directory, for every user

Reply
Thread Tools

Restrict access to a directory, for every user

 
 
Brian Roisentul
Guest
Posts: n/a
 
      09-22-2008
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Explorer.exe error report every time access every type of video me =?Utf-8?B?SXJ3YW5zeWFo?= ASP .Net 4 10-30-2007 07:49 AM
restrict file access to only one particular user who enters correct password in web rajbala.3399@gmail.com Java 0 11-23-2006 09:38 AM
Restrict user if user directly types url of any page Jaydeep ASP .Net 3 06-30-2006 04:40 AM
Group policy setting to restrict user access to change registry Also None Computer Security 27 04-02-2006 12:36 PM
How to restrict direct access to JSP files, only allow access via servlet? Anan Java 8 12-08-2004 11:16 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57