javascript - LDAP query from Chrome App -


i believe javascript constrained use http, curious if there out there can enable chrome application make ldap query client side (without having go through webserver connect ldap , check credentials). goal here have users login internal web application using network credentials, without having wait on server establish https connection.

also, there security concerns setup such this?

a chrome app indeed capable of doing want. you'd use chrome.socket api establish connection directly ldap server.

however, question sets off several alarms. if client code separately checking ldap credentials, , querying web application content, what's stopping malicious or buggy client skipping ldap step , grabbing content, without authorization, directly web app? if web app assumes trusted clients, why bother checking ldap @ all? in real life, design handing note bank teller saying "i don't need show id because promise showed security guard stationed outside bank. please give me money in account." it's more commonplace -- , secure -- credential check, ldap or otherwise, done web application, behind http/https. (oauth story in terms of mechanics, in principle it's same.)

"without having wait on server establish https connection": it's not clear @ mean this. https has nothing authentication (except extent confirms server authentic). mean ssl handshake speed? ssl handshake 200-500 milliseconds. unless yours unusual use case, amount of time won't matter. , again, https deployed transport security having nothing client authentication. if you'd figured out nonstandard valid way authenticate clients, you'd still want conversation happen on ssl unless there nothing sensitive content (in case wouldn't need intranet client authentication in first place).

more questions outstanding, haven't sufficiently explained use case yet.

tl;dr: yes, can chrome app. yes, there many security concerns design.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -