dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 8 of 8

Thread: windows Access rights

  1. #1
    Join Date
    Nov 2004
    Location
    UK
    Posts
    185

    Red face windows Access rights

    I have created a program in VB6.
    There is an autoupdate function written which once i release a change it updates the program when the user re-logs in i.e. updates the dll's with the new ones

    The issue is that for the program to copy the new dll's from the server, i need to give each user who uses the program 'power user' group access rights. or else the program hangs because of access rights

    The peops upstaris want to change this to 'User' rights, is there any commands i can use to copy the dll's when the users are not windows power users?

    or change the settings to power users when this autoupdate function is called?

    any ideas people?
    Thankyou

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Nov 2004
    Location
    UK
    Posts
    185
    Hi phil, the peops upstairs dont like this method as it would mean hardcoding usernames and passwords. even when we autoupdate if the the user is not set to a minimum of a power user the auto update just sits there. i beleive it copes a dll fomr the server to the install dir. not had a indeph look as yet. would you know of a way to copy accross dlls without granting users access rights so in other words a VB app would assign the correct permissions.
    Thankyou

  4. #4
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,663
    Who is doing the copying, the users or your program?

  5. #5
    Join Date
    Nov 2004
    Location
    UK
    Posts
    185
    the program if a new update is avilabe when the user starts the program
    Thankyou

  6. #6
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,663
    Thats confusing. I can see the issue if the copy is from the user machine to the server, but I don't see why the server cares in the least about a copy from the server to the local machine.

    Are the user admins on their own machines?

  7. #7
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Hack: The server doesn't care, but if the users are not admins or "power users", they do not have write access to the Program Files directory.

    mp: I do not know of any way for a user to install updates without having the necessary permissions.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  8. #8
    Join Date
    Nov 2004
    Location
    UK
    Posts
    185
    thanks phil, i think the poeps up stairs are being petty if u ask me, why cant a normal user be power users, whats the worst they can do.

    Thanks anyway
    Thankyou

Similar Threads

  1. Replies: 0
    Last Post: 05-23-2007, 02:06 AM
  2. .Net... the saga...
    By Jason Sobell \(iGadget\) in forum .NET
    Replies: 99
    Last Post: 10-01-2003, 12:00 AM
  3. custom Windows Domain access
    By Ory Adler in forum ASP.NET
    Replies: 1
    Last Post: 07-23-2001, 03:14 AM
  4. Windows Registry Access with Java
    By izko in forum Java
    Replies: 0
    Last Post: 04-20-2001, 03:02 AM
  5. VirtualQueryEx
    By MacDeath in forum VB Classic
    Replies: 2
    Last Post: 02-14-2001, 06:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center