Click here to Skip to main content
15,887,854 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
hi,
am using Sqlserver2005 as a backend, i need to install my .net application in Client place. i need to access the DB through application. But i dont want the client to see the Database and it's Tables, procedures in SqlServer2005. But they want to be access the DB thro application.

In this scenario what i want to do?
either

1. i want to hide the DB in SQL Server
(or)
2. Set a Password/Permission for DB

Note: the DB should access by the application from several users,
They could not view the DB and it's objects directly from SQLManagement studio.


Thanks in Advance for your Valuable Help.......
---Karthika
Posted

Create a separate SQL User ID for your application. You need to grant the access to the specified DB, only to Application User ID; not other users. Hope, this will resolve the issue.
 
Share this answer
 
Comments
karthika -chennai 23-Feb-12 3:10am    
dear ganesh,
i will install the application to 'n' No of users. How can i get the Application User ID.
i dont have any idea about Application User Id & SQL user ID too....
another thing, whenever i want to make change in SQl it should allow me only...
thanks in advance.........

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900