cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hiding source code..

Former Member
0 Likes
1,437

Hi Everybody ,

Can anyone suggest me how to hide the source code of an executable report program which can be executed only ?

Regards,

Praveen

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Create transaction for that program using transaction code se93 so that user can only execute it.

restrict SE38 transaction for that user.

Former Member
0 Likes

hi,

create a tcode for your report. goto se93->give a Z***** name. click create. choose the type you need. then specify the details. save. assign a authorization object to it. for the users for whom you dont want the code to be seen, disable SE38 authorization(dont provide them the role for SE38). and let them have the authorization for the ZTCODE.

Please take help from your BASIS team to resolve this.

Former Member
0 Likes

This message was moderated.

Former Member
0 Likes

You and soumya are the Top Contributors to the Coffee Corner for the next 30 days. Thread moved.

This question seems to have hit main stream interview question catalogues already... It pops every now and again, year after year, and causes nothing but trouble...

To my knowledge SAP does not need this mechanism anymore - it is more important to prevent the code from being changed if it is worthy of being protected. If the user can display source code (or provoke a short dump of the protected code) then they will get hold of it anyway if they are skilled enough.

How about a Coffee Corner sponsored development request to the ABAP language group to dump the @@... statement?

Cheers,

Julius

ps: And a special mention of the Coffee Corner in SAP Note # 11

Former Member
0 Likes

How about a Coffee Corner sponsored development request to the ABAP language group to dump the @@... statement?

I am making progress and will request that the SDN Coffee Corner gets a special mention in the correction note...

Please post support here of this initiative.

Then the old trick (adding a special first line) will stop functioning. Since it was never an official feature, such incompatible changes are allowed u2013 w/o prior announcement.

This is a little warning that there will be no warning - when this feature is removed and the "Karbai" code becomes visible.

You should be able to figure out for yourself that control of application patches will not help to prevent this changed behaviour in the kernel, if you are an application developer trying to hide your ABAP code.

Cheers,

Julius

matt
Active Contributor
0 Likes

That is really cool.

Answers (8)

Answers (8)

former_member184657
Active Contributor
0 Likes

Here's another method of [hiding source code.|; But dont ask how to make it visible again

pk

Former Member
0 Likes

>Copy pasted answer from another site, removed. And it was such an old "solution" that it hasn't worked for years and years...

Edited by: Matt on Dec 11, 2009 3:45 PM

matt
Active Contributor
0 Likes

Oh look. A copy paster...

With 73 previously rejected posts. Soon to be in guestland.

matt

Edited by: Matt on Dec 11, 2009 11:10 AM

Former Member
0 Likes

sy-subrc = 8

sy-dbcnt = 1

Tah-tah...

matt
Active Contributor
0 Likes

Well, at least we know how to hide members who keep breaking the rules.

Former Member
0 Likes

Hello Matt,

How many rejected posts would make a user a guest? Hope this is not a moderator's secret And i also hope there is a refresh on the count of rejected posts at the end of each year or so:-)

Vikranth

Former Member
0 Likes

krupa jani forgot to write this very important sentence.

pls giv pooints sootably

matt
Active Contributor
0 Likes

>

...

> How many rejected posts would make a user a guest? ...

One is sufficient. Depends on the nature of it. But copy and pasting from other sites is actually one of those things that can cause an account to be deleted immediately - because of the copyright issues. If someone has already been warned not to copy and paste, and then does it again, then there really is no other recourse. What's amazing in this case is - what causes someone to post an answer to an old thread, with some stuff they've copied from somewhere else, with such lack of attention, they've not even noticed that it's a forum that doesn't give points? You then question their motives for being part of the SCN. Not caring about whether the answer has any connection to the question, or is even relevant. Just answer as many questions as possible, and hope to get as many points as possible.

Edited by: Matt on Dec 11, 2009 3:48 PM

Former Member
0 Likes

Hello Matt,

Thanks for the clear explanation. I thought there will be a count of rejected posts and once anyone reaches a limit they will be guestified

Krupa Jani has been one user whose intentions couldnt be understood for a long time. There have been many instances where he/she suddenly bumps a good old thread with a code or links. Not really sure if the intention is to get points. I once even received a E-mail once suggesting me to use a code in a thread where i had just replied to someone and not the actual poster:-)

Vikranth

Former Member
0 Likes

Another example could be that you protect the source code and don't tell your customer about it. When it then causes problems (sooner or later it will!) they will need to bring in someone to break it open (this is possible!) and fix what is inside it.

Of course the original developer should pay for those costs, either in cash or... in ponits.

There are a couple of usefull tricks you can use to find such hidden programs and includes... perhaps SAP should build them into the Code Inspector?

Better in my opinion would be to remove the statement from the ABAP language, as it does not have any documentation (except lots of copy&pasted code in the internet...) and causes only trouble in the end. In that respect it even has some similarities to the ponits system...

Cheers,

Julius

former_member184657
Active Contributor
0 Likes

I had well and truly given-up on Krupa Jani. I find it suprising that he has only 73 rejected posts to his name. As Matt mentioned he has...had... a very peculiar answering pattern. The moment he learns something new at his work place, he bumps around some 20-odd questions related to his new found knowledge with the same copy-paste answer for all of them and/or provide a single link with absolutely no explanation as to why he's providing that link.

And again it was a bumped thread - his nemesis - that brought his SCN journey to an abrupt end.

R.I.P old friend!!

pk

Former Member
0 Likes

really Julius Bussche is good moderator in full thread he give only suggestion give solution but Vikranth.Reddy and

kishan P every time ready to hurt another and try to show like this guys doing very big mistake see Julius Bussche he talk only to the topic

if moderator doing mistake to write this type of sentence then what to do ? Mr.matt pl make rule for moderator.

Eric Brunelle Moderator says


krupa jani forgot to write this very important sentence.

pls giv pooints sootably

what is this if she doing mistake then u delete id that it no need to pass this type of comment.

i think u have also make rules and regulation for your self.

Edited by: SAP_22 on Dec 15, 2009 6:08 AM

Former Member
0 Likes

LOL hope you are not Krupa Jani in the guise of SAP_22

And i never really intented to hurt anyone. I was just questioning his intention as to why does he post a copied code to a old thread everytime?

And one more thing you should understand is that once in coffee corner everyone has the right to comment though in a humorous and professional sense. And i dont think anyone broke that here.

Vikranth

former_member184657
Active Contributor
0 Likes

I will reply when you make a little more sense.

pk

Former Member
0 Likes

no i m not krupa jani i m devna and i don't think after this type of comment she will come back in SDN and after read this thread i m interested to doing work in SDN if this type of moderator is there then not possible if give much more contributation in SDN then delete id?

and mr.kishan p i don't want any reply from your side and i know after this reply u also delete my id after all u r moderator

Edited by: SAP_22 on Dec 15, 2009 7:55 AM

gaurav_kothari
Contributor
0 Likes

Hey PK,

I guess you've been christened Moderator by our new member here. Congrats

Cheers,

Gaurav

Edited by: Gaurav Kothari on Dec 15, 2009 12:34 PM

matt
Active Contributor
0 Likes

>

> LOL hope you are not Krupa Jani in the guise of SAP_22

A quick investigation shows no link. I have emailed SAP_22 off-line, explaining that persistent rule breaking and ignoring moderator instruction is what leads to account deletion. Plus a few other pertinent points.

And we don't have the draconian rule that arguing with moderators leads to a ban, like some other forums - never mind a non-moderator.

Krupa Jani has emailed me to say she no longer wants to take part in SCN. That is her choice.

matt

former_member184657
Active Contributor
0 Likes

I demand an offer letter then...

pk

Former Member
0 Likes

Again


I demand an offer letter then...
;-)

pk

Former Member
0 Likes

Latest when we have had to reject 73 of Matt's posts for being a pest and ignoring the forum rules, then we will delete his user ID.

The same goes for me!

So we would also learn "the hard way"... which is fair after so many warnings.

Cheers,

Julius

matt
Active Contributor
0 Likes

>

> Again

>

>


> I demand an offer letter then...
> ;-)
> 
> pk
> 
> 

SAP_22 - what is your problem? This is the coffee corner. Humour is permitted here.

Former Member
0 Likes

SAP_22,

get a life, this is the coffee corner. This is a place where we chit-chat and try to have fun.

I feel sorry that you thought that my posting was serious!

Now, giv mii pints ASAP!

jurjen_heeck
Active Contributor
0 Likes

> this is the coffee corner.

> Now, giv mii pints ASAP!

Pints of coffee? Man, you have a serious caffeine issue

Former Member
0 Likes

Oh, I meant:

pints of bears! (typo intended.. !!)

Former Member
0 Likes

Krupajani is back with a bang. Though not really sure if she learnt her lessons

Former Member
0 Likes

Hi Matt,

How can one see, how many rejected posts he has under his name??

Regards,

Raj

Former Member
0 Likes

This is a feature within the moderator tools. We can see current Abuse Reports per forum and if an ID shows up in the log, we can switch to "Enable rejected" mode and see their track record of rejected posts.

In the past there were ideas raised to have some sort of "Repeat Offender" icon for such user ID's (perhaps something like a hat with a propeller ontop?) so that forum members could easily see and be warned that the person is notorious for "low-brainers" or abusive behaviour in the past. It never took off though.

Is there anyone specific you would like to know about?

Cheers and all the best for 2010!

Julius

matt
Active Contributor
0 Likes

Got something to hide, huh? ...quickly check Raj's count...

only joking!

I only check when the person's name becomes familiar to me.

Former Member
0 Likes

Go figure why I added the smiley above...

Former Member
0 Likes

>

> I only check when the person's name becomes familiar to me.

OMG then its quite dangerous to be familiar with Matt

Wishing everyone a very happy new year.

Vikranth

jurjen_heeck
Active Contributor
0 Likes

> some sort of "Repeat Offender" icon for such user ID's (perhaps something like a hat with a propeller on top?)

I'd vote for a broken lightbulb

matt
Active Contributor
0 Likes

>

> Go figure why I added the smiley above...

Indeed... but nothing after July...

Former Member
0 Likes

Hi Matt & Julius,

Whenever a post a link related to the question, it is displayed with a strike on it.

Why does it happen while the links posted by others are not striked?

Regards,

Raj

former_member184657
Active Contributor
0 Likes

This is the last link posted by you:

[Link | http://wiki.sdn.sap.com/wiki/display/ERPLO/ReleaseprocedureforPurchaseRequisitioninMM].

[And this is link posted from my side |http://wiki.sdn.sap.com/wiki/display/ERPLO/ReleaseprocedureforPurchaseRequisitioninMM]

Click reply to my post and click on "Quote Original" and you'll notice that the Mark-up given by you is wrong.

All you need to do is click on the Click to Insert Hyperlink button, enter text and the link and press Insert.

Or simply copy-paste the link like this.

http://wiki.sdn.sap.com/wiki/display/ERPLO/ReleaseprocedureforPurchaseRequisitioninMM

pk

Former Member
0 Likes

Thanks for clarifying kishan.

Regards,

Raj

Former Member
0 Likes

For those interested in preventing attempts to hide code in your systems, there are two very simple tools in this thread via which you can analyze the technique used to hide the code and more importantly to find them in the first place.

The tools for dealing with the developer are [here|http://ryanericsongcanlas.files.wordpress.com/2009/03/tomatoes.jpg] ...

Cheers,

Julius

Former Member
0 Likes

Sorry a bit late. Put a curtain for your monitor screen while writing the source code. No one can peep in ~Andrew Edited by: Julius Bussche on Aug 3, 2009 9:58 AM Only works a little bit...

Former Member
0 Likes

Or scare the daylight out of the source code...

former_member205352
Active Contributor
0 Likes

Lock all the user ids except your id. Disclaimer: The above answer is assuming the question is in Coffee corner and not to be tested in live SAP systems. Edited by: Julius Bussche on Aug 2, 2009 9:13 PM I hid this for you because it does not work...

Sandra_Rossi
Active Contributor
0 Likes

Seriously, why don't you read forum rules ? Don't tell us the message source was hidden...

Former Member
0 Likes

Make the code so ugly that anyone who sees it is blinded...

Or call the famous FM which Will Smith & Tommy Lee Jones used to wipe the code from memory after it has been displayed by anyone other than you.

Cheers,

Julius

ThomasZloch
Active Contributor
0 Likes

...use white font on white background!

Former Member
0 Likes

Brilliant answer, Thomas!

ThomasZloch
Active Contributor
0 Likes

turn off the screen or...

Former Member
0 Likes

Print the source code then hide the piece of paper. Result : hidden source code !