Hi,
I currently have my connection string to MS SQL Server located in the global.asa file. I am wanting to make this connection less accessable. Are there any suggestions and examples?
vicvirk,
sounds exactly like what I want to do but I have the slightest idea of how to do that. Could you direct me to examples of how to do that? I have Visual Studio 2005 only because I use SQL Server but I know nothing when it comes to dll and com and making my own exe files.
It's not as easy as it sounds, there is a lot of work required.
Visit the C# Forum to find out how you can create a DLL that returns a recordset to your ASP page. The best way to achvive it is to ensure ALL your queries are run through stored procedures and the DLL will execute the stored procedure.
Sometimes you may want to simply do an update in which case you don't need to return a record set, but in some instances you may want to return a record set or XML data to do something with on the ASP Page.
Thanks guys,
You all have been helpful. I have just been reminded of the OLD DSN method which should do the trick for me. Though I have to create a username and password for each database owner and pass that information along, this should be enough for now. At least I don't have to pass the server IP address and my main admin password and ID.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.