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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I assign Novell rights for security

Status
Not open for further replies.

vfernandes

Programmer
Jul 11, 2001
5
IN
I have developed a module. My data in on Novell. My problem is I want to give access to the data only through the module I have developed. So that i cannot change data throught other software like Excel, foxpro, etc.

This is for security.
 
While I've heard of people using third party Novell utilities to change rights 'on the fly', I've never actually done it. You might want to start by contacting Communication Horizons at
Rick
 
You can assign right with the Novell rights or nright command dependent on your version of Novell.
I.E. run rights /xxxx /xxxx /xxxx
Been a while since I played with novell so I do not remember the exact syntax.

What you can do is place the program source code in one directory and the dbf file is a sub directory.

In the souce directory you assign the rights to the people that need it. in the DBF directory you assign NO rights. Not none, NO rights.
In the program source code you use the run command above to assign/remove rights to the program user.
At the beginning of the program you assign the rights and at the end of the program you remove them.

The problems with this approach is:
1. You will have to make sure you get the novell login name to use in the run rights command.
2. You will not be able to use the module on any other operating system without codeing for that system or a big error trap routine.
David W. Grewe
Dave@internationalbid.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top