Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

file access permissions

Status
Not open for further replies.

jasek78

Programmer
Nov 5, 2001
298
0
0
US
Is there a way I can give file access permissions only to a program (i.e. - an .exe file)?

I have a program that accesses a database, and I wish to keep all but a few people from accessing the database. I'd like to set it up so that the database can only be accessed via the program to eliminate user errors.

thank you

jason
 
Helo Jason,

Maybe you can try what I was wrong to answer to 'Startup Script Permissions'...
But that is for your issue (I read carefully that time ! lol ;-)).

For that you'll need the ressource kit. Then use that two programs to make your '*.exe' running as a service :

SRVANY.EXE
INSTSRV.EXE

If you don't have the ressource kit, you can rerieve those utilities at :


Then, don't keep the SYSTEM account, but create a unique service account with enougth trustees for that newly created service.
Finally apply needed permissions to that account.

Hope that helps, let me know ...
@+
Benj Le Kangooru.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top