473,387 Members | 1,545 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Why does IIS need to be told that my folder is an application folder?

To deploy a .net web application, one needs to go into IIS and make sure the
folder that contains the application is set to be an application folder.

Can anyone explain why we need to do this? Why can't IIS just assume that if
there are aspx pages, then it's a .net application?

-Darrel
Feb 2 '06 #1
4 1262
What if I happen to have a folder with .aspx pages but I don't want them to
be accessed? I don't want IIS just making any folder an application just
because it happens to have a certain file type in there! This could be a
major security issue if IIS just starts assuming this.

Not to mention, it would mean it has to constantly monitor every folder to
see if it now happens to have some .aspx files in there so it can start
treating it as an application. And it would have to monitor for many other
file types too that could be part of a web application (.htm, .html, .asp,
etc).

"darrel" <no*****@nowhere.com> wrote in message
news:uk**************@TK2MSFTNGP11.phx.gbl...
To deploy a .net web application, one needs to go into IIS and make sure
the folder that contains the application is set to be an application
folder.

Can anyone explain why we need to do this? Why can't IIS just assume that
if there are aspx pages, then it's a .net application?

-Darrel

Feb 2 '06 #2
> What if I happen to have a folder with .aspx pages but I don't want them
to be accessed?
Why would you upload aspx pages to a web server that you don't want
accessed? ;o)
I don't want IIS just making any folder an application just because it
happens to have a certain file type in there! This could be a major
security issue if IIS just starts assuming this.
I suppose it adds a layer of security.
Not to mention, it would mean it has to constantly monitor every folder to
see if it now happens to have some .aspx files in there so it can start
treating it as an application.


That wouldn't be a big deal. That's how ASP worked.

-Darrel
Feb 2 '06 #3
Maybe it is not only a web server but has other functionality. Maybe I want
to store some data up there - who knows why?

Are you saying that if you had a .asp file anywhere, the folder it is in
would suddenly become a web application?

Is it really hard to mark a folder as a web application? It takes 2 seconds.
It's not like you are creating hundreds of new applications a day. I'm not
sure if that's really worth complaining about...

"darrel" <no*****@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
What if I happen to have a folder with .aspx pages but I don't want them
to be accessed?


Why would you upload aspx pages to a web server that you don't want
accessed? ;o)
I don't want IIS just making any folder an application just because it
happens to have a certain file type in there! This could be a major
security issue if IIS just starts assuming this.


I suppose it adds a layer of security.
Not to mention, it would mean it has to constantly monitor every folder
to see if it now happens to have some .aspx files in there so it can
start treating it as an application.


That wouldn't be a big deal. That's how ASP worked.

-Darrel

Feb 2 '06 #4
Are you saying that if you had a .asp file anywhere, the folder it is in
would suddenly become a web application?
I'm saying IIS would go 'oh, it's an ASP file...I should execute that for
you' without me having to explicitely tell it to execute ASP files in a
particular directory.
Is it really hard to mark a folder as a web application? It takes 2
seconds.
No, it takes about 15 mintues. (We're not anywhere near the server room and
don't have remote access at this time).
It's not like you are creating hundreds of new applications a day. I'm not
sure if that's really worth complaining about...


It's worth complaining about if there isn't a reason for it. If there's a
reason, then that's what I'm looking for. I haven't heard an explanation for
why we have to explicitly tell IIS that a folder with aspx files should be
executed...as why else would I be using aspx files?

-Darrel
Feb 3 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: David Webb | last post by:
The problem started when the Working Folder for a project was somehow set to the folder of another project. I set the correct working folder in VSS and deleted the .vbproj files that had been...
2
by: db2group88 | last post by:
we are using db2 udb v8.2 Express edition on windows 2003,we use third party vendor software to help replicate one server to another. Production server has three instances, each instances has one...
21
by: Chris Durkin | last post by:
I've got an ASP.NET website on my local box, set to compile to bin\Debug and bin\Release in debug and release modes. Both directories are populated with dlls, as the solution has been compiled in...
10
by: Ray Stevens | last post by:
I am attempting to test a VeriSign account and the setup instructions stated that the certs file needed to go into the Windows\System32 folder. I am getting an error from the code-behind assebly...
46
by: Bruce W. Darby | last post by:
This will be my very first VB.Net application and it's pretty simple. But I've got a snag in my syntax somewhere. Was hoping that someone could point me in the right direction. The history: My...
2
by: Max2006 | last post by:
Hi, After I right-click on my web application project file and choose "Publish ." and do the publishing, the result publishable files does not include the *.ashx files. Is it by design? How...
6
by: Lloyd Sheen | last post by:
Ok I copied a VS 2005 web site to another folder. Open my new VS 2008. Attempt to run. I get the following: Error 1 It is an error to use a section registered as...
6
by: Lord Zoltar | last post by:
I built a small app with VS C# Express 2008, and published it as a click-once app. I tried installing it on my local machine, and when I click on its icon from the Start menu, nothing happens....
1
by: jabbari | last post by:
Hello, Please Help us...! I have a big problem ,so i searched on google and other search engine ,then I realized that so many other people have the same problem and they, all, have'nt been able to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.