LLXX Posted February 26, 2006 Posted February 26, 2006 Although this method is inherently insecure, it should be sufficient security if you're sure that all your users are a bit on the "dumb" side and don't know a thing about this
cluberti Posted February 26, 2006 Posted February 26, 2006 Nothing will give you absolute security.Right - since a normal user can simply run:at <hh:mm> /i "cmd.exe"And get a command prompt running as the SYSTEM account in interactive mode - basically complete control of the local system without knowing ANY passwords other than his or her own.
McoreD Posted December 12, 2008 Posted December 12, 2008 (edited) Hi, Just an update for v3. Instead of; Set the RunAs parameters to use local adminstrator account; Run program as admin; Reset user's permissionsRunAsSet("Administrator", "MIKE-PC", "admin")RunWait("C:\Applications\SIL\FieldWorks\WorldPad.exe")RunAsSet()You will needRunAs("Administrator", "", "admin", 1, "C:\Applications\SIL\FieldWorks\WorldPad.exe")Cheers, McoreD Edited December 12, 2008 by McoreD
redxii Posted December 12, 2008 Posted December 12, 2008 at <hh:mm> /i "cmd.exe"That doesn't work unless you already have admin, and if you already have admin then having SYSTEM privileges is not that big a step up.
Oxygen Posted November 2, 2009 Posted November 2, 2009 Hi, Just an update for v3. RunAs("Administrator", "", "admin", 1, "C:\Applications\SIL\FieldWorks\WorldPad.exe")Cheers, McoreDmany thnx
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now