I use a command line to pass the users logon number to the next program, so
they only logon once and don't have to keep logging on each time they want
to use another program.
When the program runs, it sees that there is a command line, gets the users
Logon Id and then looks in the MSSQL and gets the users details, e.g.
username, their Security rights, their Access rights etc.
Then the program knows if they are allowed to use this part of the program
and what to display and setups the screens
I use my programs in a school environment so no one there is going to try
and hack it or "sniff" as Jangita says
If you need any help then let me know, I am no expert like all the others in
this group.
Steve
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Jangita
Sent: 25 April 2006 11:38
To: [email protected]
Subject: Re: [delphi-en] Re: Dividing a large program in parts
You understood perfectly
a command line is what you type at the dos prompt and is equivalent (the
same) as createprocess and shell execute.
to "sniff" here is to somehow get what commands a program is executing
in english though to sniff is to smell :)
Roberto Freitas wrote:
> Well, Steve, this is EXACTLY what I want to do.
> Although, I have some English or Delphi difficulty to understand what
> means:
> " I use command lines to run the programs which holds their logon
> number ... "
> Does it mean you use ShellExecute or CreateProcess functions, as some
> other people have suggested ?
> And message #15528 from Jangita:
> " you might want to use shared memory or a process check if the main
> program is running instead of using command lines that can be sniffed."
> Even looking at dictionary, I couldn't figure out what snif means.
> Thanks,
> Roberto
>
>
>
>
>
> -----------------------------------------------------
> Home page: http://groups.yahoo.com/group/delphi-en/
> To unsubscribe: [EMAIL PROTECTED]
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
Yahoo! Groups Links
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
SPONSORED LINKS
| C programming language | Computer programming languages | Java programming language |
| The c programming language | C programming language | Concept of programming language |
YAHOO! GROUPS LINKS
- Visit your group "delphi-en" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

