PC Review


Reply
Thread Tools Rate Thread

Rights to EXE but not to the user

 
 
Pavan Jha
Guest
Posts: n/a
 
      18th Mar 2004
Hi,

I want my EXE to create folders in a specific directory, but the
logged users (running the EXE) should not have the rights to create
folders there manually (in explorer/dos shell)... I want to implement
this without using "Run As.." on my EXE


Thanks

Pavan Jha
 
Reply With Quote
 
 
 
 
Herb Martin
Guest
Posts: n/a
 
      18th Mar 2004
"Pavan Jha" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I want my EXE to create folders in a specific directory, but the
> logged users (running the EXE) should not have the rights to create
> folders there manually (in explorer/dos shell)... I want to implement
> this without using "Run As.." on my EXE


You have set up contradictory requirements. EXEs are run as the
current user, unless you use RunAs to change the default and supply
alternative credentials.

So, it's cannot be done as stated. The standard way to accomplish
the IDEA is to build a "server" -- let it run as a service under the
system account or other credentials -- and have the "EXE" contact
that service to perform the actions requiring a different identity.

A standard service or a com component can perform this type of
work.

--
Herb Martin


 
Reply With Quote
 
Matt Hickman
Guest
Posts: n/a
 
      19th Mar 2004
(E-Mail Removed) (Pavan Jha) wrote in message news:<(E-Mail Removed)>...
> Hi,
>
> I want my EXE to create folders in a specific directory, but the
> logged users (running the EXE) should not have the rights to create
> folders there manually (in explorer/dos shell)... I want to implement
> this without using "Run As.." on my EXE


You should be able to run if from the computer's startup script.
This can be set up using a GPO. Running from the computer's startup
script rather than the user's logon script, it will run with
SYSTEM privileges.

Alternately, you can have the users run it from a script that provides
alternate credentials:

http://www.winnetmag.com/WindowsScri...114/39114.html
--
Matt Hickman
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access2003 users have admin rights, change to mobile user rights f =?Utf-8?B?SmF5IFdlaXNz?= Microsoft Access Security 9 5th Aug 2007 04:38 PM
IE 6 Slow with User rights, not with Administrator rights =?Utf-8?B?SmVycnk=?= Windows XP Internet Explorer 1 3rd Apr 2004 03:57 AM
Limiting rights to edit AD and user rights Dave van Burik Microsoft Windows 2000 Security 0 12th Jan 2004 01:51 PM
unknown source of Effective Rights (User Rights Assignment) Valery M. Microsoft Windows 2000 Active Directory 4 15th Oct 2003 12:38 PM
Admistrator rights / User rights Debby Windows XP Security 1 15th Aug 2003 12:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:49 AM.