Ask a Question related to ASP.NET Security, Design and Development.
-
bradwiseathome@hotmail.com #1
Protect Files in Web.Config?
I have a web.config section that only allows certain groups into a
subdirectory. Is it possible to specify that only some types of files
(example .htm) should be protected and the rest are unprotected?
Thanks.
bradwiseathome@hotmail.com Guest
-
Protect files
Hi, I need to distribute two projects, one on cd and one in a downloadable zip file. Everything is ready to go except for the fact that all... -
Protect .dir files
Hi! Is it possible to protect .dir files that are used for a miaw from opening? thanks in advance, ras -
Protect FLV files
Hi all, Anyboys knows what is best ways to protect FLV files (flash video files)? Thanks Behzad Peivasteh http://www.e-course.co.jp -
Newbie: How to protect the files?
LarryM wrote: Yes, only the document root and subdirs are accessible. No, as long as there are no security holes. There are sites where... -
Protect local data files from download?
Just make sure that the extension of the file is unkown to IIS. Give the file a name like data.xyz or something. Then IIS will never serve it up... -
Dominick Baier [DevelopMentor] #2
Re: Protect Files in Web.Config?
Hello [email]bradwiseathome@hotmail.com[/email],
you can't use wildcards on the <locaction files..../> section
but be careful - htm (or more generally speaking every extension that _isn't_
handled by asp.net) isn't affected by the authorization element in web.config
for these kind of files - IIS uses the IUSR_ account to retrieve them - you
can place NTFS ACLs on them, e.g.
---------------------------------------
Dominick Baier - DevelopMentor
[url]http://www.leastprivilege.com[/url]
> I have a web.config section that only allows certain groups into a
> subdirectory. Is it possible to specify that only some types of files
> (example .htm) should be protected and the rest are unprotected?
>
> Thanks.
>
Dominick Baier [DevelopMentor] Guest
-
Patrick Olurotimi Ige #3
Re: Protect Files in Web.Config?
Or try this trick here at:-
[url]http://aspnet.4guysfromrolla.com/articles/020404-1.aspx[/url]
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Patrick Olurotimi Ige Guest



Reply With Quote

