Re: Lock Folder with ASP.NET

From: Chris Jackson (chrisj_at_mvps.org)
Date: 07/17/03


Date: Thu, 17 Jul 2003 14:14:40 -0400


NTFS permissions will do this, if you are using Windows Authentication. You
can also manipulate your web.config in the specified folder if you are using
forms authentication to control access.

-- 
Chris Jackson
Software Engineer
Microsoft MVP - Windows XP
Windows XP Associate Expert
-- 
"Chris" <christian.binder@direkt.at> wrote in message
news:094e01c34b7a$6dab9300$a301280a@phx.gbl...
> Hi all!
>
> Is it possible to lock a folder and its files with ASP.NET
> (-> VB.NET Code)?
>
> for example:
> if a user now trys to reach a specific file in a folder
> (for example: www.myserver.com/somefolder/somefile.exe) he
> should not be allowed to download it.
> i already blocked the user from directory browsing but he
> still can download the file if he knows the whole url.
> so, is it possible to block users (for example with
> ASP.NET) to download a certain file?
>
> THX
>
> Chris


Relevant Pages

  • Re: Home Page and cwshredder
    ... Download: CWShredder ... To rename: Right-click and select: Rename ... "Windows" and close RegLite. ... New> Folder ...
    (microsoft.public.windowsxp.general)
  • Re: the coolweb search file causding IE to revert to the about:blank page
    ... Download: CWShredder ... To rename: Right-click and select: Rename ... "Windows" and close RegLite. ... New> Folder ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Cannot download files in IE6
    ... NIS 2006 personal firewall was disabled permanently and switching windows ... able to download files again. ... have a suggestion as to the best and least problematic internet security ... > Make sure that you can see hidden files (Folder Options> View) Then ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: ie explorer hangs up on shut down
    ... Download, install and run HiJackThis in "Safe Mode:" ... DO NOT install in your Desktop folder. ... WINDOWS XP SHUTDOWN & RESTART TROUBLESHOOTING ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: CWS searchx strain wont go away
    ... Download: CWShredder ... To rename: Right-click and select: Rename ... "Windows" and close RegLite. ... New> Folder ...
    (microsoft.public.security)