Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Databases / January 2004

Tip: Looking for answers? Try searching our database.

How to restrict the connection for certain application but not everyone ?

Thread view: 
Ang - 29 Jan 2004 09:57 GMT
Hi,

I'm using JDBC to connect to MS SQL server. My Java code only need to link to the url (eg : ) to access the data. But some data are sensitive and I don't want any application and retrieve them. What can I do to restrict only some certain application can retrieve them ?

Thanks
Ang - 29 Jan 2004 09:59 GMT
EG: jdbc:microsoft:sqlserver://127.0.0.1:1433;DatabaseName=dbname;selectMethod=cursor
 Hi,

 I'm using JDBC to connect to MS SQL server. My Java code only need to link to the url (eg : ) to access the data. But some data are sensitive and I don't want any application and retrieve them. What can I do to restrict only some certain application can retrieve them ?

 Thanks
JS - 29 Jan 2004 11:35 GMT
> Hi,
>  
> I'm using JDBC to connect to MS SQL server. My Java code only need to
> link to the url (eg : ) to access the data. But some data are sensitive
> and I don't want any application and retrieve them. What can I do to
> restrict only some certain application can retrieve them ?

I dont fully  understand your problem.
You have database serwer and some database running on it. In that
database you have collection of information.
On which level want you to restrict conection?
Do you want to block connection to whole database serwer from specific
applications?
Or
do you want to restrict connections to database?
or maybe
you want to restric querys on specyfic tables in database (restric
retrieving information) from applications?

JS
Erich Reimberg N. - 29 Jan 2004 20:49 GMT
Hi,

Isn't just enough to create a new user in your MS SQL with only the required
permissions, and then use that user in your Java application? That way, your
application will have only the permissions granted to that user.

For other applications, you can create another user with more privileges if
you want.

Erich

--
"xxxx" are to be removed from my email address

> [-- text/plain, encoding quoted-printable, charset: iso-8859-1, 8 lines --]

> Hi,

> I'm using JDBC to connect to MS SQL server. My Java code only need to link to the url (eg : ) to access the data. But some data are sensitive and I don't want any application and retrieve them. What can I do to restrict only some certain application can retrieve them ?

> Thanks.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.