G
Guest
Hi,
I want to configure the web.config for the Role base Form Authentication. I
forget now but I red somewhere that I should use 3 *.config file as:
- Manager manager.config
- User user.config
- Admin admin.config
But I don't know how to set up the appsetting for specific role.
http://localhost/GC/default.aspx is the main entry point. when user clicks
the Enter button they goto http://localhost/GC/login.aspx
If the user cardinal in database is the Manager then login page redirect
them to
http://localhost/GC/manager/mmain.aspx
If the user cardinal in database is the User then login page redirect them to
http://localhost/GC/user/umain.aspx
and
If the user cardinal in database is the Admin then login page redirect them to
http://localhost/GC/manager/amain.aspx
The SQL Server only holds the user tables as well as secure AS400 Connection
string.
User name and password store in SQL Server as varbinary and I am using kind
of MD5 / 3DES algorithm. I also use the AS400 connection string in same way.
Proxy server is configure to accept the communication with only the
branches. (But I will post another question later for that.)
My problem is how to configure the web.config file(s) as well as how to
protect my files not to downloaded from user.
Does anyone have any idea for that?
Thank you for your kind understanding to helping me out.
Rgds,
GC
I want to configure the web.config for the Role base Form Authentication. I
forget now but I red somewhere that I should use 3 *.config file as:
- Manager manager.config
- User user.config
- Admin admin.config
But I don't know how to set up the appsetting for specific role.
http://localhost/GC/default.aspx is the main entry point. when user clicks
the Enter button they goto http://localhost/GC/login.aspx
If the user cardinal in database is the Manager then login page redirect
them to
http://localhost/GC/manager/mmain.aspx
If the user cardinal in database is the User then login page redirect them to
http://localhost/GC/user/umain.aspx
and
If the user cardinal in database is the Admin then login page redirect them to
http://localhost/GC/manager/amain.aspx
The SQL Server only holds the user tables as well as secure AS400 Connection
string.
User name and password store in SQL Server as varbinary and I am using kind
of MD5 / 3DES algorithm. I also use the AS400 connection string in same way.
Proxy server is configure to accept the communication with only the
branches. (But I will post another question later for that.)
My problem is how to configure the web.config file(s) as well as how to
protect my files not to downloaded from user.
Does anyone have any idea for that?
Thank you for your kind understanding to helping me out.
Rgds,
GC