|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Protecting filesasp,htm,gif,jpg etc. files? I can protect my .aspx files using Forms Authentication and dropping the following in my specific folders. <configuration> <system.web> <authorization> <deny users="?" /> <deny users="tSmith" /> </authorization> </system.web> <location path="default.aspx"> <system.web> <authorization> <allow users="*" /> </authorization> </system.web> </location> <location path="addLogin.aspx"> <system.web> <authorization> <allow users="*" /> </authorization> </system.web> </location> But this only seems to work with aspx files Thanks, Tom "tshad" <tscheider***@ftsolutions.com> wrote in news:OLls0t$BGHA.1288 @TK2MSFTNGP09.phx.gbl:> How would I protect all my files from someone getting access to my In IIS, you need to map all document types to the ASP.NET ISAPI filter. I > asp,htm,gif,jpg etc. files? think by default only ASP* file types are mapped to it. -- Stan Kee (spamhoneypot@rogers.com)
Other interesting topics
named anchor
Embedding an image in the html? File security weirdness createing file. Server.Transfer Does Not Invoke IsPostBack in .NET Framework 1.1 Javascript to Set Focus to TextBox Modification by JavaScript function won't stay, why? Coordination of projects .aspx / .ascx in Visual Studio 2005 javascript for checking user Refresh page error |
|||||||||||||||||||||||