Hello Sir...
I am working in .net technology and make website for institution. I want to make admin login page through c# and sqlserver in asp.net . please define how to make admin login page as such type no other user are access. I want to security?
Abhishek JaiswalPosted Jul 29, 2014, 12:03 AM
For security purpose u can use admin-id as a key.
i mean to say create a table that contains only admin id's and create 2 separate logins(their respective tables too), 1 for admin and another for others. Whenever anyone want to login in admin section, then first of all it will require admin id that is already in your database. now simply perform matching between sqlsever table that contains id's and filled login value. If true then go forward or else show a alert message, 'Not an Admin'
I hope it gonna help u.
:)
Davin MartynPosted Jul 30, 2014, 2:38 AM