LLXX Posted February 26, 2006 Share 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 Link to comment Share on other sites More sharing options...
DigeratiPrime Posted February 26, 2006 Author Share Posted February 26, 2006 right, it still has its uses Link to comment Share on other sites More sharing options...
cluberti Posted February 26, 2006 Share 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. Link to comment Share on other sites More sharing options...
McoreD Posted December 12, 2008 Share 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 Link to comment Share on other sites More sharing options...
redxii Posted December 12, 2008 Share 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. Link to comment Share on other sites More sharing options...
Oxygen Posted November 2, 2009 Share Posted November 2, 2009 Hi, Just an update for v3. RunAs("Administrator", "", "admin", 1, "C:\Applications\SIL\FieldWorks\WorldPad.exe")Cheers, McoreDmany thnx Link to comment Share on other sites More sharing options...
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