Access level layered login system

-1

Good morning, I'm doing a course completion software at school, and I need to make a login system with access level (I'm programming in layers and using SQL SERVER 2012) .

I saw a tutorial on the net that the user had to choose the level of access when he was going to log in, but wanted that, when logging in as admin, everything would be released and logging in as a seller (for example) would have restrictions, so you would not have to choose the access level. can anybody help me?

If necessary, I can show the login system codes.

    
asked by anonymous 06.08.2015 / 16:17

1 answer

0

Friend, the best way is to assign the access level, by registering the seller with the data that identifies it, or in a separate table in the database, linking what identifies the seller to the access level, and the program of course, will have to do this verification, at the moment this user tries to access the data, screens, etc.

A.Carlos (2c3r)

    
08.08.2015 / 03:44