Hi
Champs,
In my application i have 4 type of user (in web.config which are
considered as roles)
HR, Admin, Accounts, and SystemAdmin
for each section i have related folder,
Like example for HR i have a folder HR, all hr functionality are done
in that folder
now i want to control authorization matter through my web.config file
i dont want other user type (roles) to access this part of the
application ,
but at the same time i want SystemAdmin to be able to access all the
areas
so i intend to to place a web.config file in each folder which will
override
the setting of web.config of my root
So any expert can help me out in this issue ?
I am not writing anything for user, writing for roles only.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<authorization>
<allow roles="HR,Admin" />
<deny roles="Accounts" />
</authorization>
</system.web>
</configuration>
Thnaks
But Very Urgent
Arindam
Arindam Chakraborty
Software Developer,
Mumbai,
India
---------------------------------
How much free photo storage do you get? Store your friends n family photos for
FREE with Yahoo! Photos.
http://in.photos.yahoo.com
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="http://us.ard.yahoo.com/SIG=12ht7lt20/M=362335.6886445.7839731.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1123142165/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/">In
low income neighborhoods, 84% do not own computers. At Network for Good, help
bridge the Digital Divide!</a>.</font>
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/