Ask a Question related to ASP.NET Security, Design and Development.
-
Chris #1
Lock Folder with ASP.NET
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: [url]www.myserver.com/somefolder/somefile.exe[/url]) 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
Chris Guest
-
Can I allow access to one file within a folder, but notthe whole folder
I want to allow access for users to edit only specific file within a folder. Can I do this Also, since I am just starting to use this on a new... -
Intercept the auto-refresh of a folder in HTML folder template
Can anyone please send me the code to intercept the auto-refresh of a web page or folder (controlled by HTML folder template), or tell me where can... -
Remove from $name (folder)/(folder)/[x]/ <-- if exists to just get [x].
Guys and girls, I'll be quite honest. I don't have the faintest idea how to do this, while I can do other php without a problem. Once I know how to... -
NO Lock
When I go in a secure site I can not see the lock in the task bar not sure when this stopped. The computer does tell me im going to a secure site... -
Mapping networked shared folder to local folder
Hello. I am setting-up a "cad server" (basically a shared folder located, \\cad\eoi\) for my draftspeople. The problem lies within the cad... -
Chris Jackson #2
Re: Lock Folder with ASP.NET
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: [url]www.myserver.com/somefolder/somefile.exe[/url]) 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
Chris Jackson Guest
-
Christian Binder #3
Re: Lock Folder with ASP.NET
Thx for the help! :-)
Greetz Chris
"Chris Jackson" <chrisj@mvps.org> schrieb im Newsbeitrag
news:%23ToTL9ITDHA.3796@tk2msftngp13.phx.gbl...You> NTFS permissions will do this, if you are using Windows Authentication.using> can also manipulate your web.config in the specified folder if you are> 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: [url]www.myserver.com/somefolder/somefile.exe[/url]) 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
>
Christian Binder Guest



Reply With Quote

