What is the use of location tag in web.config file
Answers were Sorted based on User's Feedback
Answer / asif ismail kunnibhavi
configuration setting is applied to specific file/folder
with appropriate "Path" attribute.
e.g
1)applying setting to everything under System.web
<location path="Administrator" >
<system.web>
<authorization>
<deny users="?" />
<allow roles="Administrator" />
<deny users="*" />
</authorization>
</system.web>
</location>
2)applying setting to specific directory called "folder1"
<!— Configuration for the "folder1" subdirectory. -->
<location path="sub1">
<system.web>
<httpHandlers>
<add verb="*" path="folder1.Scott"
type="folder1.Scott"/>
<add verb="*" path="folder1.David"
type="folder1.David"/>
</httpHandlers>
</system.web>
</location>
| Is This Answer Correct ? | 17 Yes | 8 No |
Answer / ajitabh
To prevent the pages from security we use location tag
| Is This Answer Correct ? | 1 Yes | 0 No |
What tags do you need to add within the asp:datagrid tags to bind columns manually
Where the assembly is stored in asp.net?
Explain what are webservices?
What is boxing and unboxing in asp.net?
Is oauth for authentication or authorization?
hi all; i need standard notes on .net(basics) for my seminar. im a starter in .net. plz suggest whr can i get satisfactory notes!!!
How do you implement sql caching in asp.net?
Is data can be edited in the Repeater control?
while developing webservices if i want some users to use my webservice only how can i give security to my webservice?
will this code works fine? or will it gives error? Object obj=5; int i=6; i=i+obj;
Can you use c# without .net?
Turn Off ASP Session State on an IIS 5.1 Web Site
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)