Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / March 2006

Tip: Looking for answers? Try searching our database.

Restricted User running Windows App accessing "ProgramFiles" folde

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vinay Kant - 01 Mar 2006 10:58 GMT
Hello,

We have a windows application which needs to update the files through the
autoupgrade process on start. Application is installed under "Program Files"
directory.
Now when a restricted user runs the application, the update of the files
fails as Restricted user doesn't have access to "Program Files" folder.

First of all if anyone has had similar problems, any suggestions, pointers
to overcome the restricted user access to programFile folder issue???

We thought of a solution to create a windows service to be installed by the
administrator which will be running all the time and which does the upgrade
of the files upon notification from the application through a custom command.
But same problem persists for the restricted user running the application.
Inspite of windows service running as an administrator it cannot create or
update files under "ProgramFiles" folder because the restricted user is
logged in.

Any help will be highly appreciated.

Regards
Vinay Kant
cPetru - 02 Mar 2006 15:25 GMT
Sugestion (might not work)
During install / setup, could you create a new administrator account
(possible, since you can said about administrative rights (for installing the
webservices)), and use that account to access the filders / files in "program
files"?

Or:  during setup, add access rights to the folders you need and for all
users allowed to run the application.

> Hello,
>
[quoted text clipped - 19 lines]
> Regards
> Vinay Kant

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.