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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Kirtan PatelRank #292 · 8.6K reputationPosted Jan 6, 2010, 12:09 AM EST
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 SinghRank #1,571 · 1K reputationPosted Jan 6, 2010, 12:39 AM EST
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