Ask a Question related to ASP.NET Security, Design and Development.
-
Graeme #1
Connecting ASP.NET to SQL Server Application Roles
I'm trying to connect an ASP.NET to a SQL Server application role but can't
find how to keep the connection between pages.
My initial page asks the user for their SQL Server username and logon.
I then do the following:
Create a connection string using the user's logon and password;
Create a new sqlclient.sqlconnection object using this string.
Create a new SqlClient.SqlCommand object.
Open the connection using the command.
If it opens ok, use the executenonquery command to execute the sp_addapprole
stored procedure on SQL Server (sending the applicaion role and application
role password);
Transfer control to a webform page.
How do I keep the connection when I transfer to the new page?
Graeme
Graeme Guest
-
Can user roles by transferred to new web server?
Our ISP moved our files to a new web server since we were running out of room on their old server. However, our user roles did not get transferred.... -
VC++ Application Connecting PostgreSQL on Linux
Can anyone help me ... Is it possible to connect a VC++ Application running on Windows to PostgreSQL Database running on Linux platform. If it is... -
Connecting to a UNC share from a web application
Basically I want to do the following: DirectoryInfo baseDirInfo = new DirectoryInfo(@"\\server2\files"); FileInfo aFileInfos =... -
Roles Based Security and Server.Transfer Problem
Hi All, I'm looking into a Security solution using ASP.NET and C# for an Enterprise level application. I would like to implement Role based... -
Roles Based Security and Server.Transfer
Hi All, I'm looking into a Security solution using ASP.NET and C# for an Enterprise level application. I would like to implement Role based...



Reply With Quote

