java - Pass own made Windows Credentials to SQL Server using JDBC -


i'm trying write program connects sql server @ work, have done , works perfectly. however, program works on desktop @ workplace because connected sql server wanted connect local. means if work on program @ home, won't able can't connect it.

what i've found out server uses windows auth authenticate users connects sql server. found out windows authentication on sql server gets credentials security. wondering there way can credentials using java, pass sql server using jdbc login database?? or not realistic do? if so, there way around this?

thanks

when install ms sql server asked type of authentication want.

i cannot think of scenario pure "windows authentication" makes sense. choose "mixed mode" pure windows authentication can go wrong. (server-admin gets fired, company merges ad-domain, spontaneous sid-corruptions etc...)

that said, you'll need change authentication mode mixed mode.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -