|
-
Oct 23rd, 2004, 09:18 AM
#1
Thread Starter
Frenzied Member
Restrict Downloadable Files
Is it possible to be able to restrict files that a browser can access? For instance, any files in the bin directory are automatically classified as not existant, but how can you extend this to additional files such as databases etc that work the site, that the user shouldn't be allowed to download?
I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)
-
Oct 25th, 2004, 01:11 AM
#2
Download this:
http://www.microsoft.com/technet/sec...s/urlscan.mspx
and add the extensions you want to the INI file.
-
Oct 25th, 2004, 02:01 AM
#3
Thread Starter
Frenzied Member
Is this how the ASP.NET files in the bin directory are protected, or can't you modify/add to that list?
I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)
-
Oct 25th, 2004, 02:03 AM
#4
Sorry, this is the only way I know of. It's very likely that the list of extensions are stored in some IIS config file, but I do not know where they are. The link above is the only way I know of. You can add your extensions to the list associated with it.
-
Oct 25th, 2004, 02:09 AM
#5
Thread Starter
Frenzied Member
OK, thanks. Though I'll leave the topic open because it wasn't fully solved . Will try your solution and tell you how it goes.
I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)
-
Oct 27th, 2004, 12:50 PM
#6
I wonder how many charact
The bin directory is most likely protected by the IIS server.
Any other protection that is afforded is made possible by setting authorization settings on a subfolder, and defining whom can access that folder.
Last edited by nemaroller; Oct 27th, 2004 at 12:56 PM.
-
Oct 28th, 2004, 02:56 AM
#7
Thread Starter
Frenzied Member
Do you mean like using Windows accounts to lock it down?
I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|