G
Guest
I want to have an ASP.Net application to connect to a SQL Server database.
I can’t use Active Directories or Windows authentication (network
security!). So I want to use Forms authentication to allow the user to enter
their SQL Server username and password, check their permissions (from a
table), and then add them to a SQL Server Application Role. I want to use
the SQL Server Application role to simplify the management of permissions
with SQL Server.
I can set up the authentication in the dotnet application.
I can access the user passwords.
I can run the sp_addapprole stored procedure to add a user to the
application role.
But I can’t maintain the connection to SQL Server (and application role)
when I change pages within the application.
Any suggestions?
I can’t use Active Directories or Windows authentication (network
security!). So I want to use Forms authentication to allow the user to enter
their SQL Server username and password, check their permissions (from a
table), and then add them to a SQL Server Application Role. I want to use
the SQL Server Application role to simplify the management of permissions
with SQL Server.
I can set up the authentication in the dotnet application.
I can access the user passwords.
I can run the sp_addapprole stored procedure to add a user to the
application role.
But I can’t maintain the connection to SQL Server (and application role)
when I change pages within the application.
Any suggestions?