How to fix security issues in Vista

We have a vb6 app. We cannot do the following on Vista machine 1. Register dll from user directory. 2. Run another exe 3. Write to a file in the users directory. How can I overcome these problems? thank

0


source to share


3 answers


  • This is by design. The software must require administrator rights to install (including update / upgrade). You left with it to XP because so many people worked as an administrator. If you register the dll after installation, you are doing something wrong.
  • You can do this without any problems, but only with the same rights as the user with whom the current application is running. What is this exe trying to do and standard user usually has these permissions?
  • What is the specific folder in the user directory? Again: the user should have write access to most of their own profile, but not necessarily as much outside of that as you might think.


+1


source


You have write access to the c: \ users \ directory. Moving to a different user directory is a security issue that you are not going to deal with.

Regarding registering an assembly from the users directory ... There is a directory in the c: \ users \\ AppData \ Local \ assembly directory to which you should have access to temporary assemblies



Running another exe is trivial ... As long as it's installed in the normal \ program files ...

It looks like you might need to reevaluate how your application works.

0


source


Some suggestions:

  • Go to Reg-Free COM where it can handle things (i.e. not for EXE ActiveX, DCOM files).

  • We need more information. This shouldn't be a problem if there are no permissions issues.

  • Users should not create files outside of their own profiles, CommonAppData, and specific applications (often on non-system drives). Additional information is required to provide a truly useful answer.

0


source







All Articles