Click here to Skip to main content
15,897,371 members
Home / Discussions / C#
   

C#

 
QuestionDifference in webconfig "authorization" in .net framework 1.1 and 4.0 Pin
maithilym20-Nov-11 23:50
maithilym20-Nov-11 23:50 
XML
We have an asp.net web application running in both .net 1.1 and 4.0. This application has a web.config file in the root folder where the authorization module is defined as

<authorization>
   <allow users="*"/>
</authorization>

It has another web application in the sub directory where the web.config authorization module is as below

<authorization>
   <allow roles="some valid role"/>
   <deny users="*"/>
</authorization>

These  configuration settings work fine in .net 1.1 but after migration to .net 4.0, the application is causing problems in providing appropriate access.

Is there any difference in reading the authorization module tags(<allow>,<deny>) of web.config of an application in .net 4.0 and 1.1 ?

AnswerRe: Difference in webconfig "authorization" in .net framework 1.1 and 4.0 Pin
OriginalGriff21-Nov-11 6:21
mveOriginalGriff21-Nov-11 6:21 
GeneralRe: Difference in webconfig "authorization" in .net framework 1.1 and 4.0 Pin
maithilym21-Nov-11 17:04
maithilym21-Nov-11 17:04 
GeneralRe: Difference in webconfig "authorization" in .net framework 1.1 and 4.0 Pin
Pete O'Hanlon21-Nov-11 22:02
mvePete O'Hanlon21-Nov-11 22:02 
Questionmvc3 custom authentication provider asp.net online list Pin
samwood201120-Nov-11 23:17
samwood201120-Nov-11 23:17 
AnswerRe: mvc3 custom authentication provider asp.net online list Pin
Pete O'Hanlon21-Nov-11 0:44
mvePete O'Hanlon21-Nov-11 0:44 
QuestionTDES Pin
BAZJAK20-Nov-11 21:38
BAZJAK20-Nov-11 21:38 
AnswerRe: TDES Pin
JF201520-Nov-11 22:41
JF201520-Nov-11 22:41 
GeneralRe: TDES Pin
BAZJAK22-Nov-11 0:05
BAZJAK22-Nov-11 0:05 
AnswerRe: TDES Pin
phil.o21-Nov-11 10:23
professionalphil.o21-Nov-11 10:23 
QuestionProblem with SQLDataReader and Insert command Pin
CCodeNewbie20-Nov-11 6:39
CCodeNewbie20-Nov-11 6:39 
AnswerRe: Problem with SQLDataReader and Insert command Pin
Dan Mos20-Nov-11 7:49
Dan Mos20-Nov-11 7:49 
GeneralRe: Problem with SQLDataReader and Insert command Pin
CCodeNewbie20-Nov-11 9:13
CCodeNewbie20-Nov-11 9:13 
GeneralRe: Problem with SQLDataReader and Insert command Pin
Dan Mos20-Nov-11 9:56
Dan Mos20-Nov-11 9:56 
AnswerRe: Problem with SQLDataReader and Insert command PinPopular
Luc Pattyn20-Nov-11 9:50
sitebuilderLuc Pattyn20-Nov-11 9:50 
GeneralRe: Problem with SQLDataReader and Insert command Pin
CCodeNewbie20-Nov-11 12:04
CCodeNewbie20-Nov-11 12:04 
AnswerRe: Problem with SQLDataReader and Insert command Pin
Luc Pattyn20-Nov-11 12:19
sitebuilderLuc Pattyn20-Nov-11 12:19 
GeneralRe: Problem with SQLDataReader and Insert command Pin
PIEBALDconsult21-Nov-11 4:55
mvePIEBALDconsult21-Nov-11 4:55 
GeneralRe: Problem with SQLDataReader and Insert command Pin
CCodeNewbie21-Nov-11 8:09
CCodeNewbie21-Nov-11 8:09 
GeneralRe: Problem with SQLDataReader and Insert command Pin
Pete O'Hanlon22-Nov-11 0:37
mvePete O'Hanlon22-Nov-11 0:37 
GeneralRe: Problem with SQLDataReader and Insert command Pin
CCodeNewbie22-Nov-11 1:13
CCodeNewbie22-Nov-11 1:13 
GeneralRe: Problem with SQLDataReader and Insert command Pin
Pete O'Hanlon22-Nov-11 3:03
mvePete O'Hanlon22-Nov-11 3:03 
GeneralRe: Problem with SQLDataReader and Insert command Pin
CCodeNewbie22-Nov-11 9:50
CCodeNewbie22-Nov-11 9:50 
GeneralRe: Problem with SQLDataReader and Insert command Pin
Pete O'Hanlon22-Nov-11 10:20
mvePete O'Hanlon22-Nov-11 10:20 
GeneralRe: Problem with SQLDataReader and Insert command Pin
CCodeNewbie22-Nov-11 11:43
CCodeNewbie22-Nov-11 11:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.