Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Protecting files

Reply
Thread Tools

Protecting files

 
 
tshad
Guest
Posts: n/a
 
      12-23-2005
How would I protect all my files from someone getting access to my
asp,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


 
Reply With Quote
 
 
 
 
Spam Catcher
Guest
Posts: n/a
 
      12-23-2005
"tshad" <(E-Mail Removed)> wrote in news:OLls0t$BGHA.1288
@TK2MSFTNGP09.phx.gbl:

> How would I protect all my files from someone getting access to my
> asp,htm,gif,jpg etc. files?


In IIS, you need to map all document types to the ASP.NET ISAPI filter. I
think by default only ASP* file types are mapped to it.

--
Stan Kee ((E-Mail Removed))
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PWD protecting individual files. darrel ASP .Net 1 06-20-2006 09:45 PM
Protecting files on the server. UJ ASP .Net 18 12-21-2005 08:33 PM
Protecting files wallacej C++ 5 05-19-2005 03:37 PM
Protecting computer files and IE data Parko Computer Support 2 05-10-2004 10:09 AM
Protecting image files Ryan Moore ASP .Net 4 04-16-2004 08:12 PM



Advertisments