Re: Lock Folder with ASP.NET
From: Chris Jackson (chrisj_at_mvps.org)
Date: 07/17/03
- Next message: Chris Jackson: "Re: ASP.Net Security and SQL Server access"
- Previous message: Naveen K Kohli: "Re: Delete File Asp.NET Error: File is used by another process"
- In reply to: Chris: "Lock Folder with ASP.NET"
- Next in thread: Christian Binder: "Re: Lock Folder with ASP.NET"
- Reply: Christian Binder: "Re: Lock Folder with ASP.NET"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Next message: Chris Jackson: "Re: ASP.Net Security and SQL Server access"
- Previous message: Naveen K Kohli: "Re: Delete File Asp.NET Error: File is used by another process"
- In reply to: Chris: "Lock Folder with ASP.NET"
- Next in thread: Christian Binder: "Re: Lock Folder with ASP.NET"
- Reply: Christian Binder: "Re: Lock Folder with ASP.NET"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|