ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
What is role manager work in web.config?

how to restrict perticular pages from the users using the
role manager?
 Question Submitted By :: Sharifuddin
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is role manager work in web.config? how to restrict perticular pages from the users using the role manager?
Answer
# 1
Role manager work -  
        Role management helps you manage authorization, 
which enables you to specify the resources that users in 
your application are allowed to access. Role management 
lets you treat groups of users as a unit by assigning users 
to roles such as manager, sales, member, and so on. (In 
Windows, you create roles by assigning users to groups such 
as Administrators, Power Users, and so on.)


Web.config code to restrict users from accessing some pages 
given as below : -

<configuration>
   <location path="memberPages">
       <system.web>
            <authorization>
               <allow roles="BUILTIN\Administrators" />
               <deny users="*" />
            </authorization>
          </system.web>
        </location>
   <!-- other configuration settings here -->
</configuration>
 
Is This Answer Correct ?    1 Yes 1 No
Nisarg Shah
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Suggest 3 best practices in detail for for Developing High Performance Web and Enterprise Applications Techno-Solutions2
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.  1
all asp.net interives questions  1
What is the difference between Proxy and Contract?  1
How Web Service help? What is the difference between Remoting & Web Servcies?  2
What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?  5
What is application variable and when it is initialized ? Keane-India-Ltd3
What methods are fired during the page load? Visual-Soft5
is it possible to set more than web.config file for an ASP.net APPLICATION?can it run?how is it possible  3
is it possible to persiste customize object in view state? how it is?  1
What is Runtime callable wrapper?  2
How to manage pagination in a page?  2
Describe the difference between inline and code behind?  2
What is advantage and disadvantage of viewstate  2
what are Httpmodule and HttpHandler? Microsoft2
how to do pakaging nd deployment  1
Is it necessary to create a Windows application or Web application to test a Web service ? Is it must to consume this service?  2
Define ViewState and how can it be used?  3
Differentiate an ADO.NET Dataset and an ADO Recordset with its functionality?  3
You are using the try? catch block seen in the following code segment, but no exceptions are ever caught by the catch block. What is the problem? SqlConnection cn =new sqlConnection(strSQL); SqlDataSet ds; try { cn.open(); //perform the data processing steps ??.. } catch (OleDbException e) { ?.. } a) The exception class is wrong; it should be sqlErrors. b) The exception class is wrong; it should be sqlSyntaxExceptios. c) The exception class is wrong; it should be sqlExceptions. d) The exception class is wrong; it should be sqlExcptions. Syntax-Softtech2
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com