|01 Dec 2011||#1|
| || |
Running a program as another user without prompting for a password
In our corporate environment we have an application that accesses a centralized database as the currently logged in user. The nature of this application requires giving the user read/write/execute permissions directly to the database.
Obviously this is a security risk since an educated user would then be able to access the database directly from the command line and be able to do things beyond what the application allows.
What we'd like to do is create alternate domain accounts for each user that have the necessary DB permissions and then launch the application as that user instead of the logged in user.
I'm aware of the built in RunAs command but, since that prompts for the password, it wouldn't be any different than the current user having access.
Is there an alternate solution? Something with group policy? A reliable 3rd party utility? (no,replacing the application is not an option)
|My System Specs|
|01 Dec 2011||#2|
| || |
Hello Stalag, and welcome to Seven Forums.
You might be able to use the tutorial below to do so. However, it does request the administrator's password for only the first time it's ran by the user. You could log in as that user and run it to enter the password for the first run. Afterward's it runs automatically without asking for the password. The user never sees or is able to see the password.
Elevated Program Shortcut - Create for Standard User
Hope this may help.
|My System Specs|
|Similar help and support threads for2: Running a program as another user without prompting for a password|
|Log On with User Name and Password||Tutorials|
|Sole user never had a User Name or Password!||General Discussion|
|1 user, password but after sleep mode logon password is incorrect?||General Discussion|
|Zero Configuration not prompting for password||Network & Sharing|
|program need user and password in task manager||General Discussion|
|How do I prevent UAC from prompting me when running in admin mode||System Security|
|Run as Different User Shortcut - Create for Specified Program and User||Tutorials|
|Our Sites ||Site Links ||About Us ||Find Us |
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
All times are GMT -5. The time now is 07:35 AM.