[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Hiding the password
- Subject: Hiding the password
- From: Daniel Sanchez <dsanchez@WYNDHAM.COM>
- Date: Wed, 17 May 2000 16:52:26 -0500
- Importance: high
Hello, gurus.
I want to create a batch program (or C++ or whatever) that would kick off
several SQRs that we run on a regular basis - rather than have the user go
into the SQR dialog box and key everything in "username" and "password",
etc... I have come up with a batch file that works, but I run the risk of
displaying the username - momentarily on the screen or if you edit the batch
file. Like this:
Option 1
...
echo Running Report 1 of ...
H:\cs900\sqrw\sqrw.exe c:\user\sqr\sqrprog.sqr username/password@dbname
-oc:\windows\temp\sqr.log -fc:\windows\temp\ -mH:\cs900\sqr\allmaxes.MAX
pause
...
Option 2
...
echo Running Report 2 of ...
H:\cs900\sqrw\sqrw.exe c:\user\sqr\sqrprog.sqr %1/%2@dbname
-oc:\windows\temp\sqr.log -fc:\windows\temp\ -mH:\cs900\sqr\allmaxes.MAX
pause
...
note: This option would have to be run from DOS...
In a nutshell, I'd like the user to enter their authentication information
one time, but I'd like to hide their password... makes sense?
Thanks in advance!
Daniel A. Sanchez
HRizon Implementation Team
Wyndham International, Inc.