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
---------------------------------
Free antispam, antivirus and 1GB to save all your messages
Only in Yahoo! Mail: http://in.mail.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=12hvhtqrj/M=362329.6886308.7839368.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1123057722/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</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/