Hey
Arindam, I am sending an attached file for U, extract it.
1) Set WebAuthorization/home.aspx - as default page.
2) set Dir1/home.aspx - as default page.
3) set dir2/home.aspx as default page
So the when the user( i.e. I have create 2 users test1,test2 having password
test1,test2)
See web.config file.
If u facing any problem just let me known.
Krishan Kant
Authorgen Technology P Ltd.
Chandigarh
Arindam <[EMAIL PROTECTED]> wrote:
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]
SPONSORED LINKS
Programming languages C programming language Computer programming languages
Java programming language C programming language History of computer
programming language
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "AspNetAnyQuestionIsOk" on the web.
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
Send instant messages to your online friends http://uk.messenger.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=12h1cqngk/M=362335.6886445.7839731.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1123163651/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/