CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2001
    Location
    Dallas, TX
    Posts
    9

    Application's Security Access

    I'm trying to find out if there is a way for a program to be able to access a file on a server and make changes to that file if the user running the program only has read-only access to that server.

    We are about to tighten security by cutting access to servers and this will cause problems with some of our current programs. Some of the programs read files and make changes and write them back to the server. This won't work without the user having the right access as far as I know.

    If anyone knows how to get a program to be able to access servers and do things that the users security level won't allow them to do, I would appreciate any help you could give.

    Thanks


  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: Application's Security Access

    You may have a remote component (Activex.Exe) running on server (you may need Dcom) which may do the job impersonating Administrator (sorry, cannot be more detailed: I never tried this, it is only theory)

    Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Micahel
    and all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

    The Rater
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured