Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Protect Code / Deny Access

Former Member
0 Kudos

Hello

I would like to know how to protect code or db contents

For example, if I have a report starting with:

IF sy-uname <> 'ALPHA'.

LEAVE PROGRAM.

ENDIF.

  • rest of the program

I have that this program can be executed only from ALPHA user; but if another person start SE38 and modifies the report

every user can use the report, so how can I protect the code itself? Is there a way for example to allow only the creator of the report to change it?

In similar way, suppose the name of the user that can access the report are stored in a db: I want that the access to the database table containing the name of the user to be restricted.

How can I do it?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

You can use 'Editor Lock' option.

But program can be copied and execute with modification.

Program can not be displayed and copied such that Source Protection is there.

But i don't know how?

Regards,

R.Nagarajan.

2 REPLIES 2

Former Member
0 Kudos

Hi,

You can use 'Editor Lock' option.

But program can be copied and execute with modification.

Program can not be displayed and copied such that Source Protection is there.

But i don't know how?

Regards,

R.Nagarajan.

0 Kudos

Hi,

while giving the attributes to your Program, like

Short description ect... you can find an option called editor lock, If you check that, no one, other than you can edit that program. Remember you need to give this editor lock to include programs also.

One more way is you can create an Authorization Group. So that no one else could execute or edit your program.

Report RSCSAUTH can also be used to assign programs to

authorization groups. This report is documented in detail.

Edited by: Saravanan Rajan on Sep 26, 2008 10:29 AM