i have one site containing lots of aspx page i want to give page wise access to different-2 users
please give me the details....
thank u.....
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kirtan PatelPosted Jan 6, 2010, 5:09 AM
and Put in it Different Folders .
now put One Web.Config File in each folder .
and Write Authorization Configuration according to below article ..
http://support.microsoft.com/kb/316871
Rekha SinghPosted Jan 6, 2010, 5:39 AM
u can give access from ur database . this is just an alternative.. wat kirtan suggested is the best way .providing access from db can be used as an option.
Step 1 :
create a table in ur database called as FormMaster. here u give all the form name and id's like this.
create table formmaster
(
FormID int,
FormName nvarchar(50)
)
Step 2:
now u have to create a FormAccess table in which u give the roleid(Mapping it from your RoleMaster table)
create table FormAccess
(
RoleID int,
FormID int
)
here u can give different formID's to the desired role u want
say Admin role will have access to so many forms and so on