Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
K

Khanh David To Tuan

@Khanh David To Tuan
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • disabling ctrl+alt+del i vista
    K Khanh David To Tuan

    Disabling Task Manager won't disable CTRL ALT DEL under Vista. Even systemwide hooks dont work. And to change the regkeys, rightclick on regedit.exe and "Run as Administrator".

    Windows API c++ windows-admin help tutorial

  • Application Updating on mass Workstations
    K Khanh David To Tuan

    Whatever, I havent been able to find anything in the last week and now I accidentaly find this article http://www.codeproject.com/KB/vista-security/VistaSessions.aspx[^].

    Windows API security question sysadmin help announcement

  • Application Updating on mass Workstations
    K Khanh David To Tuan

    So I got this Program that has one executable and can be configured to be Server/Client. Everytime the application starts up, it checks with the server for updates. If there is a newer .exe, it downloads it into its program directory as .exe.new. Then it launches update.exe and closes itself. The update.exe deletes the old .exe and renames the .exe.new to .exe. Now the problem under vista is the file restrictions. I install the program as Administrator, but of course the users run it as user. They can't write into the program directory. Now how do I update? Update.exe already requests elevation. I can't go to every workstation and enter administrator credentials everytime there is an update. Because there are many. 1)Is it possible to set up a LOCAL SYSTEM service upon installation that will play the part of update.exe? It would just download the new files into like USERS/PUBLIC/TEMP and copy them from there. But of course that would also compromise security, as any malware could call that service and write malicious code. I could heighten security by implementing a parameter that is derived from the current time or something, so the service wont do anything without correct authentication. 2) I could set write/read access for anyone to program files/blabla But that would expose my application to manipulation by malware. 3) The only other option I know is restricting the installation of my application into USERS/PUBLIC. Which would suck as anything else

    Windows API security question sysadmin help announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups