all groups > iis security > july 2004 >
You're in the

iis security

group:

IIS Bin folder Hiding automatically



IIS Bin folder Hiding automatically Nisar C.K
7/19/2004 11:52:21 AM
iis security: We have several ASP.NET project running on external
server, the problem we face is all bin folder on this
server get hidden so this reason all asp.net project get
error saying bin folder doesn't found couldn't access any
site. Whenever we create bin folder this get hidden and we
can access thru command prompt only doesn't have any
Re: IIS Bin folder Hiding automatically Ken Schaefer
7/20/2004 9:50:26 AM
What do you mean "hidden"? How do you know that it's "hidden"?

There is an ISAPI filter that will prevent HTTP requests to /bin folder on
IIS 6.0, but the folder itself should not be hidden.

Cheers
Ken

[quoted text, click to view]

Re: IIS Bin folder Hiding automatically David Wang [Msft]
7/20/2004 11:36:38 PM
The behavior is by-design.

If you have ASP.Net projects that make URL-level references to /bin, your
application is broken and needs to be fixed. The bin directory is not meant
to store website resources that are accessible via a URL. It is only meant
to be access via the filesystem. Put your graphics, HTMs, etc elsewhere.

On IIS5, ASP.Net will actively change metabase property to prevent IIS from
showing the bin directory. On IIS6, ASP.Net cannot change the metabase, so
it actively filters all URL preventing access to /bin URL. Neither behavior
are configurable/changeable, and do not try to circumvent them.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
[quoted text, click to view]
What do you mean "hidden"? How do you know that it's "hidden"?

There is an ISAPI filter that will prevent HTTP requests to /bin folder on
IIS 6.0, but the folder itself should not be hidden.

Cheers
Ken

[quoted text, click to view]



Re: IIS Bin folder Hiding automatically Jerry Pisk
7/21/2004 9:18:26 AM
And to add to this - in Asp.Net 2.0 there are more magic folders - data and
code and maybe more? Is this documented anywhere? I haven't found anything
about the bin directory being inaccessible either :(

Jerry

[quoted text, click to view]

Re: IIS Bin folder Hiding automatically Paul Lynch
7/21/2004 5:58:53 PM
On Wed, 21 Jul 2004 09:18:26 -0700, "Jerry Pisk"
[quoted text, click to view]

Jerry,

Try this :

All requests with /bin in the URL are rejected and return a 404 error
http://www.microsoft.com/resources/documentation/iis/6/all/proddocs/en-us/qss_wss_troubleshooting.mspx


Regards,

Paul Lynch
Re: IIS Bin folder Hiding automatically Bernard
7/21/2004 6:40:21 PM
You can change it with,
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET]
"StopBinFiltering"=dword:00000001

but not recommended.

--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



[quoted text, click to view]

Re: IIS Bin folder Hiding automatically Ken Schaefer
7/22/2004 10:51:25 AM
All of this is documented. Look in the .NET Framework SDK

Cheers
Ken

[quoted text, click to view]

Re: IIS Bin folder Hiding automatically Jerry Pisk
7/22/2004 6:27:20 PM
I did look, would you mind posting a link? I did find topics like this:

ms-help://MS.NETFramework.v20.en/dv_vwdcon/html/3ef36871-2cb9-452a-8c96-2068fccead18.htm

or

ms-help://MS.NETFramework.v20.en/dv_aspnetcon/html/40130404-8509-4efa-b4db-36ebaaba5b62.htm

But absolutely nothing about an ISAPI filter returning 404 to any requests
to those folders. Paul's reference is to an IIS documentation, not .Net,
which is probably why I didn't know about that and why it isn't updated for
..Net 2.0 to include the new folders.

Jerry

[quoted text, click to view]

AddThis Social Bookmark Button