Setting password to view source code.,,

How can I set password to restrict users from accessing or viewing my code..

Hi joseph,
Welcome to SDN.
1. SEUED001
   We can make use of this enhancement,
   and the FM EXIT_SAPLS38E_001
   (inside this enhancement)
2.  Inside this u can
    give error message so that
   se38 does not proceed further
   to even display the source code !
3. One can use like this :
   eg.
Data
DATA :  terminal LIKE usr41-terminal.
DATA : BEGIN OF itab OCCURS 0,
       myprog LIKE sy-repid,
       END OF itab.
My prog
itab-myprog = 'ZAM_TEMP174'.
APPEND itab.
itab-myprog = 'ZAM_TEMP173'.
APPEND itab.
  Check
CALL FUNCTION 'TERMINAL_ID_GET'
EXPORTING
  USERNAME                   = SY-UNAME
IMPORTING
   terminal                   = terminal
EXCEPTIONS
  MULTIPLE_TERMINAL_ID       = 1
  NO_TERMINAL_FOUND          = 2
  OTHERS                     = 3
Detect
LOOP AT itab.
  IF program = itab-myprog.
    IF terminal CS '10.101.8.101' AND operation = 'EDIT'.
     MESSAGE e999(yhr) WITH 'Not Allowed'.
    ENDIF.
  ENDIF.
ENDLOOP.
regards,
amit m.

Similar Messages

  • View source code of the page executed in browser...

    Hi,
    Request you to help me to view the source code of the page executed in browser using a Query/ Web Template. We can view the HTML code when we go to
    Page--> View source code.
    But i want to see the Java code behind the web page.
    Regards,
    Koundinya K

    You can use tools like JD-GUI and the see the code. If you want to customize a cartirdge, you can always extend the class and add your stuff to the contentItem.
    Thanks

  • Ffox hangs when I try to view source code - any ideas how to stop this?

    Ffox hangs when I try to view source code - any ideas how to stop this?
    hangs forever... have to use control-alt-del to close :-(

    Usually a USB error. Read here:
    http://support.apple.com/kb/ts3694#4000

  • Can we set password to our abap code

    can we set password to our abap code. so that no one can edit it.

    Hi,
    REPORT YEDULOCK.
    * This program switches the editor lock flag of a given ABAP program.
    * It can be useful when the owner of the ABAP is on holiday ...
    TABLES: TRDIR.
    PARAMETERS: PRG_NAME LIKE TRDIR-NAME.
    SELECT SINGLE * FROM TRDIR WHERE NAME = PRG_NAME.
    IF SY-SUBRC = 0.
      IF TRDIR-EDTX = ' '.
        TRDIR-EDTX = 'X'.
      ELSE.
        TRDIR-EDTX = ' '.
      ENDIF.
      MODIFY TRDIR.
      IF SY-SUBRC = 0.
        WRITE: / 'Successful switch.'.
        COMMIT WORK.
      ELSE.
        WRITE: / 'Failed switch.'.
      ENDIF.
    ELSE.
      WRITE: / PRG_NAME, ' does not exist.'.
    ENDIF.
    Regards
    Sudheer

  • Sql Developer - View source code of procedures, functions & packages in another schema

    Our developers need the ability to view procedures, function, packages etc. in the production database (using SQL DEVELOPER).  They don't have access to sign on as the owner of these
    objects in Production.  They must use their own limited access UserID for this purpose.
    This limited access UserID has been granted select privilege on DBA_SOURCE & DBA_OBJECTS.  The developers need the ability to view the source of these object via
    the tree view in SQL DEV.  They should be able to click on "other users" in the SQL DEV tree view and see a listing of the owner schema objects.  Then they should
    be able to select the desired object and view the source code.  These developers are used to using GUI interfaces.  Selecting from DBA_SOURCE would not be an
    option for them.
    I understand that if the limited user is granted SELECT ANY DICTIONARY or SELECT_CATALOG_ROLE then this functionality will work.  The problem is those
    privileges/roles  provide much more access than should be granted to these limited access users. Granting DBA to these users is also not an option.
    In TOAD and other end-user tools this functionality works when only select privilege on DBA_SOURCE & DBA_OBJECTS has been granted.  We need this same functionality
    in SQL DEV.
    While searching this forum and the internet, I see that other installations have this same issue.
    Please enhance SQL Developer with this functionality. 
    Thank you, ellen

    Just to double check that I'm interpreting the problem correctly, is the following true:
    select * from all_objects where object_name = 'DBA_SOURCE'
    returns nothing
    select * from dba_source where name = your PL/SQL module
    returns all the code

  • View source code of UDF's and Standard Functions

    Hi Friends,
    Is it possible to view the source code written in the UDF's and Standard Functions.
    If possible please enlighten me.
    Thanks,
    Swapna.

    Hi,
    I dont think u can view the src code for Standard function but try this.
    While holding down "ctrl" + "shift" + "0" key click on the standard function.See if u can export it and check for some src
    code
    Regards,
    Shabari

  • View Source code

    Gurus,
    I have a Schema APPLOWN that owns the application objects (tables,pl/sql objects,etc.). Like wise I have seperate schemas for BATCH,WEB,LOAD & DEV
    The APPLDEV is the developer schema where the developer can use it for querying tables.
    Now, How do I enable the developer to see the PL/SQL objects source code that are owned by APPOWN? What kind of grant am I missing for APPLDEV user?
    Please help.

    grant execute on APPOWN.procedure_name to APPOWN;Even allowing for the typo this is not necessarily the correct approach. this allows the APPDEV accounts to run the code which is different from merely seeing the source code. Bear in mind also that being granted EXECUTE on a package allows us to see the source of the package spec but not the body (this is wht pacakages are so good for security).
    So the question becaomes, if the account is not allowed to execute the code why should it be allowed to see the source? For developers the answer is presumably "to understand what the code does".
    The correct approach is
    (1) Decent documentation. Notice that I managed to keep a straight face when I typed that
    (2) having all the code in a source control repository. This is good practice anyway but does have the advantage that people can eyeball the code without changing the database privileges (which is desirable).
    In the absence of those two good things the third option is for SYS to create a view like
    CREATE OR REPLACE VIEW appown_source AS
    SELECT * FROM DBA_SOURCE
    WHERE owner = 'APPOWN'
    GRANT SELECT ON appown_source TO appdev
    /Cheers, APC

  • JimP: Setting srcview in View Source -- how?

    Gentlepersons,
    I'm reposting this question because my previous posting on this topic had an error in it that made responding difficult.  My bad.
    Run this tiny Flex app (which does absolutely nothing of interest):
         http://www.igetitmusic.com/blog/SWFs/Tweener/Tweener.swf
    ...and then select its "View Source" menu item (by right-clicking or command-clicking on it). Up comes the source code, which is in
         http://www.igetitmusic.com/blog/SWFs/Tweener/srcview/index.html
    Coolness!
    The same applet is embedded at the bottom of a blog posting here:
         http://www.igetitmusic.com/blog/2009/05/shape-of-frustration.html
    ... by embedding a link to exactly the same SWF as above (that is, to http://www.igetitmusic.com/blog/SWFs/Tweener/Tweener.swf).
    Now, select the "View Source" menu item in the BLOG's reference to the applet.
    Whoa, Nellie!  It doesn't work!  It looks for the source code in the wrong place: http://www.igetitmusic.com/blog/2009/05/srcview/index.html.
    Where did that path name come from?
    What algorithm is the View Source menu item using to generate the path name to its source code?
    How can I override this algorithm's behavior so that embedding [swfpath]/foo.swf into [whatever]/aPage.html will cause the View Source menu item of that object look for its source at [swfpath]/srcview/index.html, not [whatever]/srcview/index.html?
    Respectfully, and with sincere appreciation for any help, I am
    Yours,
    Jim Plamondon
    Austin, Texas
    www.igetitmusic.com/blog
    P.S.: PLEASE DO NOT tell me that "you can generate source by checking the "View Source" checkbox in the "Export Release Build..." dialog. Clearly (this is clear, isn't it?), the problem isn't generating the source, it is finding the source at runtime.

    Gentlepersons,
    This turns out to be a known bug in Flex 3, which has been fixed in Flex 4 (which is still in development).
    In the meantime, the workaround is to expose, in the web page in which a SWF is embedded, a separate link to that SWF's source code (labelled something like "click here for source code").
    Hoping that this helps, I remain
    Yours,
    Jim Plamondon
    iGetIt! Music
    www.igetitmusic.com/blog
    Austin, Texas

  • Viewing source code Safari 8.0

    How do you view the source code for a website in Safari 8.0/Yosemite?

    Safari - Preferences - Advanced - Show Advanced Menu, then  Develop menu and  select Show Page Source. 

  • Is there HTML link code which will open "View Source Code" in a visitor's browser?

    This is for use only by my client during development.
    TIA

    This is a JavaScript that displays source code for any URL you type in to defeat the dreaded "disable right click".  Maybe you could fiddle it for your purpose.
    http://javascript.internet.com/page-details/source-viewer.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.com/blogspot.com

  • KE 30 . view source code .

    Hi friens I am new to report painter/report write. I had to debug a COPA report, but really don't know where to look  for the source code.
    Please help me.
    Regards
    Lakhbir

    Sorry,
    I do not understand the requirement - does that mean, the report select too much line itmes?
    Can't they be identified by the characteristics?
    I think you should reconsider the design of co-pa (especially the use of the characteristics and how the reporting should be set up proplery.
    As an alternative (if you also need information which is not available in the line item) you could write your own program (which most likely does not benefit from summarization levels and is not as fancy as the interactive reporting) but would print the desired result - better than the modification of KE30 reports anyway.
    Christian

  • View source code directly?

    All,
    I am running WLS510+WLCS310.
    It is possible to view the source code by entering this URL:
    http://localhost:7001/wlcs/index.jsp%00
    By appending "%00", the jsp will not be executed and view all source
    code! Any workaround/patch for this? This is a serious problem.
    Please help. Thanks.
    /Frank

    Hi Frank,
    BEA has a security advisory for this problem.Check the following
    link.This should solve your problem.
    http://developer.bea.com/code/security_000621.jsp
    Regards,
    Gigen Thoams
    "Frank" <[email protected]> wrote:
    >
    All,
    I am running WLS510+WLCS310.
    It is possible to view the source code by entering this
    URL:
    http://localhost:7001/wlcs/index.jsp%00
    By appending "%00", the jsp will not be executed and view
    all source
    code! Any workaround/patch for this? This is a serious
    problem.
    Please help. Thanks.
    /Frank

  • View Source Code of Existing iPhone Apps

    Is there a way to view the source code of existing iPhone Apps?

    The files uploaded to the iTunes store are only those included in the .app package. These include all the resources, so all the .nib files would be there, but there's no source code in that package as far as I know. You can view the package you would upload by expanding the Product folder in the Xcode Groups & Files tree. Then Ctrl-click on the .app icon, select Reveal in Finder, Ctrl-click on the .app package and select Show Package Contents.
    Lots of independent developers (as distinct from corporation employees) are willing to share their knowledge including excerpts from their code, and that's what this forum is all about. I've pasted lots of source code from my app into the answers I've provided in this forum. If you contact a developer privately, I think it would be better to ask "How did you do that?" instead of asking for the complete source code. But there are lots of people out there who enjoy teaching others even more than protecting their ideas. My only disappointment in this forum is that many (but certainly not all!!) are really good at saying "please", but seem to have some language problem with "thank you".

  • Using wysiwyg text editor in drupal the latest firefox does not wrap text when viewing source code-chrome ie ok

    Using drupal ckeditor profile with wysiwyg . Firefox latest version is apparently not respecting the width of the i-frame text editor box and the text is not wrapping when viewing in source code mode. Chrome and IE are working as expected. Windows 7

    [https://support.mozilla.org/en-US/kb/where-go-developer-support Where to go for developer support]

  • Can't use right click to view source code of photos

    In Windows I can right click my mouse to view the source code of a posted photo. However, I don't see this capability in the iMac. Am I wrong and, if so, how to do it?

    It actually works with Photoshop but not with Flash Pro.

Maybe you are looking for

  • How do I edit a PDF file with Adobe PDF Pack?

    How do I edit a PDF file with Adobe PDF Pack?

  • Remove default mail database

    Dues to the size of my default mailbox database I created two new mail box databases and moved (using EMC) the existing user mailboxes from the default mailbox into the two new ones (half in each new database). That left me with the Discovery Search

  • Help on Excel Format issue

    HI All, I have silly doubt in Excel output of xml publisher I am working on xml publisher and output is XLS format. In that I have some formatting data issue.. like.. some columns has lenghty information then the whole data is not displaying in colum

  • Hyperlinks in ID

    Hi, I work with ID sc5.5, and I'm trying to add a hyperlink to a file. The objective is a pdf presentation that would include links to mp4 clips. I've created a shape in the inDesign document and used the "window>interactive>Hyperlink" to link it to

  • Can only connect to Linksys E4200 when very close but PCs can connect at 50 feet. What's the solution?

    Can only connect to Linksys E4200 when very close but PCs can connect at 50 feet. What's the solution?