Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Minimal permissions for executing a link with a password in it

Status
Not open for further replies.

elpico

Programmer
May 14, 2003
19
0
0
GB
Hi all,

This problem's really bugging me - I've created a shortcut to running a program on windows 2000that autpmatically logs in to a database, with the information passed in the shortcut itself. The shortcut looks similar to the following - "C:\Program Files\TestProgram\App1\TestApp32.exe" /Domain /DSN=OracleDSN /DBUID=mbr /DBPWD=mbr /NoWarn

The problem is that I don't want anyone or a specific user that isn't an administrator to right click and look at the link ---- ie, I just want them to be able to execute the link but not see the password and info in the link --- Any suggestions for getting around this????

Thanks,
elpico
 
Sounds like you want an Office 2k/XP style shortcut. I used to have a link to info about these - but can't find it!

Had a play with permissions & using a batch file to run the command (I'm sure you've looked at similar) - but couldn't find a combination which protected the contents of file from being seen while allowing execution from a shortcut.

I'll post link if I find it - hopefully someone else can help. Might be worth posting in XP forum too (so more people see question).
 
Thanks for that - If you can find the link, then please let me know!

Cheers,
elpico.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top