This topic is locked
[SOLVED]

 AD and Manual Security

10/4/2012 4:17:44 AM
ASPRunnerPro General questions
G
gdmacdo author

Is it possible to have Active Directory (AD) security and a Manual, table based, security model?
I have a school district that is using the AD model and is working fine. The District would like to allow Charter School users to access the system but they do not have AD accounts. The District is firmly against granting them the AD accounts. My solution is to publish twice to IIS using 2 virtual directories. One will use the AD authentication and the other a table based security. As you can imagine, this would cause many issues with links, version changes, etc.
Any suggestions or guidance would be appreciated.

Sergey Kornilov admin 10/4/2012

Well, you can try to create a separate login page for Charter school members. Once they are logged in populate the following session variables and redirect them to the main application.

Session("UserID") - usually the username from the login table

Session("UserName") - user friendly "logged as" name to be displayed on all pages

Session("AccessLevel") - one of the following values ACCESS_LEVEL_GUEST, ACCESS_LEVEL_USER, ACCESS_LEVEL_ADMIN, ACCESS_LEVEL_ADMINGROUP

Session("GroupID") - if you use User Group Permissions

G
gdmacdo author 10/5/2012

Thank you. This is exactly the scenario I was looking to implement.



Well, you can try to create a separate login page for Charter school members. Once they are logged in populate the following session variables and redirect them to the main application.

Session("UserID") - usually the username from the login table

Session("UserName") - user friendly "logged as" name to be displayed on all pages

Session("AccessLevel") - one of the following values ACCESS_LEVEL_GUEST, ACCESS_LEVEL_USER, ACCESS_LEVEL_ADMIN, ACCESS_LEVEL_ADMINGROUP

Session("GroupID") - if you use User Group Permissions