If you use Membership and Roles it is pretty straight forward with little to no code.
--- In [email protected], "Peter Brunone" <[EMAIL PROTECTED]> wrote: > > Have you tried a Google search for "forms authentication asp.net 2" (wthout > quotes)? > > Peter > > On 7/2/06, Osman Khalid <[EMAIL PROTECTED]> wrote: > > > > Dear Friends > > > > My website e-g has 5 web pages: one.aspx, two.aspx, three.aspx, four.aspx, > > five.aspx. > > > > I want user1 to access only webpages one.aspx, two.aspx, three.aspx > > > > I want user2 to access only webpages four.aspx, five.aspx > > > > How to do it in ASP.net 2.0 > > > > Please send me a small sample. I am using SQL Server as database. > > > > > [Non-text portions of this message have been removed] > Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNet2/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/AspNet2/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/

