Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Does jTDS encrypt network traffic ?

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.I am developing an android app that connect to sql server over internet by using jTDS driver by using java and android studio . In the source code of my app , i should hardcode the username and password and name and ip of sql server .
Does jTDS encrypt network traffic ?
Can a man in the middle hacker , decrypt internet traffic of my app and analyse it and access the username and password of sql server ? and if yes , what should i do to solve this problem ?
In my question i concern about ordinary standard security , not about very very high degree of security ( like NSA security ) .
This is part of source code of my app that is responsible for connecting to sql server . Before using that i should add jTDS library to android studio . Thanks
 
Saloon Keeper
Posts: 6592
161
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jTDS has been obsolete for years, as Microsoft now offers free JDBC drivers for SQLServer. Why are you still using it?
 
Abdi Farid
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok
Is , the Internet traffic of this new Microsoft JDBC driver , could be decrypted ?
 
Tim Moores
Saloon Keeper
Posts: 6592
161
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would think so - modern jdbc drivers can do that. The documentation will tell you for sure.
 
Saloon Keeper
Posts: 22490
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The option for JDBC to be encrypted is entirely at the option of the JDBC driver that you use. Some do, some don't. As far as I know, none of them encrypt by default, however so you have to explicitly request it. As Tim says, you'll have to read the documentation for the SQL Server driver that you will be using.
 
Are you okay? You look a little big. Maybe this tiny ad will help:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic