For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Syntax > February 2005 > com









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author com
sentinel

2005-02-22, 4:03 pm

i have two applications (located on the same computer) and they must
exchange information

souch as


app1: asks app2 - who is authenticated?
app2: answers with username
app1: does he have the right to start program?
app2: answers - yes (or no)
app1: recives the answer - if yes do stuff else do the other stuff


generally i have 50 or so computers and 6 programs the users are
useing...

i want to avoid entering the username and password on every program
start... i waht it to happen once (program for authentication will stay
resident) and everyone will ask the app if they can be started...



google shows me only communicating over tcpip



thanks
Tony Proctor

2005-02-22, 4:03 pm

An ActiveX EXE would be a very simple way of achieving this. The
authenticated details would be held "out of process", and would be shared by
all apps requiring access to them. However, on it's own it wouldn't provide
much help with security. Unless request messages are encrypted or signed
then anyone could access your ActiveX EXE, or write a clone of your ActiveX
EXE that claims all accounts have been authenticated.

Tony Proctor

"sentinel" <support@elma.hr> wrote in message
news:xn0dyt3r4bpt9x002@news.t-com.hr...
> i have two applications (located on the same computer) and they must
> exchange information
>
> souch as
>
>
> app1: asks app2 - who is authenticated?
> app2: answers with username
> app1: does he have the right to start program?
> app2: answers - yes (or no)
> app1: recives the answer - if yes do stuff else do the other stuff
>
>
> generally i have 50 or so computers and 6 programs the users are
> useing...
>
> i want to avoid entering the username and password on every program
> start... i waht it to happen once (program for authentication will stay
> resident) and everyone will ask the app if they can be started...
>
>
>
> google shows me only communicating over tcpip
>
>
>
> thanks



sentinel

2005-02-22, 4:03 pm

Tony Proctor wrote:
[color=darkred]
> An ActiveX EXE would be a very simple way of achieving this. The
> authenticated details would be held "out of process", and would be
> shared by all apps requiring access to them. However, on it's own it
> wouldn't provide much help with security. Unless request messages are
> encrypted or signed then anyone could access your ActiveX EXE, or
> write a clone of your ActiveX EXE that claims all accounts have been
> authenticated.
>
> Tony Proctor
>
> "sentinel" <support@elma.hr> wrote in message
> news:xn0dyt3r4bpt9x002@news.t-com.hr...

allready have the encryption solved...

I'll try your suggsestion... thanks
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com