You could implement security manually in the manner you are describing above, but there is a another approach using built in classes, methods, etc... I would suggest you start looking at Security documentation on the asp.net website.
http://www.asp.net/web-forms/tutorials/security
JorgeM
Senior Poster
3,996 posts since Dec 2011
Reputation Points: 294
Solved Threads: 543
Skill Endorsements: 115
Question Answered as of 5 Months Ago by
JorgeM
and
manuindia