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
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 KYou 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 -
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, ellenJust 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 -
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.
TIAThis 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 -
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. -
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.
/FrankHi 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 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.
-
Cannot view my source code. I go to view --> page source is not there? I'm only getting toolbars, sidebar, zoom, page style, character encoding, full screen. Is there another way to find source code? Why is page source not coming up? Any help would be appreciate! Thnx!
The Page Source menu item was moved to 'Tools' -> 'Web Developer' -> 'Page Source'.
You can also access it by right-clicking on a page ('View Page Source'), or with the keyboard shortcut '''Ctrl+U'''. -
Decompiling a .DLL file to view Source Code
Hi guys,
I have a DLL file which I would like to decompile in order to edit the source code... Does anyone have any idea of how I come go about doing this?
I don not have the original solution (The person who wrote it has left the company)
Thanks
NeefyHello,
I am in the same situation as Neefy was. I followed everyones advice and went to get .Net Reflector. Sadly you have to pay $35 for it now. I am not sure if the company wants to buy this if it does not work how we want. I noticed they have a beta version
out for free. I downloaded this and then FileGenerator plugin from the link provided. I started following Rukshan's steps. I get to step 4. After I click add and locate the plugin I get an error saying that it failed to to load the add-in.
Does anyone know if this is because the plugin is not compatible with the beta? Or is it that the plugin does not even work with their newest version, version 7 because when this thread was created I believe they were not using version 7.
I have tried downloading older versions off of .cnet, but when you run the reflector.exe a message pops up saying newer version available would you like to download it. If you choose no it removes the .exe if you choose yes it says you must visit the website
to download (to pay) and then it deletes the .exe.
Thanks for any help on this
Rob
*Edit*
Something else I am wondering:
I believe the .dll that I want to view the source code was in C or C++ with a slight chance of being C#. If I use .NET Reflector and it was written in C/C++ will it successfully create a C# file?
*edit edit*
Seems there is actual error output:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. (ReflectionTypeLoadException)
LoaderExceptions:
Could not load file or assembly 'Reflector, Version=5.0.0.0, Culture=neutral, PublicKeyToken=18ca6bb8dd6a03c3' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
(FileLoadException)
That error message repeats 7 more times.
*edit edit edit*
couple of hours of searching I found free stable version 6.5
Here:
http://www.brothersoft.com/red-gate-.net-reflector-284053.html
I downloaded it and tried to use the plugin. Seems to be working. I think the problem might be the fact that version 7 is in beta. Hopefully the problem doesn't exist in final production of version 7.
Cheers! Hope this helps someone else
*edit edit edit edit*
So I think it worked. It generated 2000 files(mostly System.XXXXXX.XXXXX etc..). Does anyone know where I would be able to actually find the code written by programmer who wrote the .dll not the .NET files. Thanks! -
Nothing more to add, cannot find view source.
"Ctrl+U" or in the View Menu
If you want to see the keyboard shortcuts in Windows 7 menus, the removal was Microsoft's doing, and can be restored see item #9 in
* http://dmcritchie.mvps.org/windows-7/win7.htm#steps
If you made source be Notepad for you local files, you can still see the formatted source by bookmarking the following chrome shortcut. I give a keyword shortcut of "source:"
* javascript:location="view-source:"+location
Keyboard shortcuts
* Keyboard shortcuts | How to | Firefox Help<br>https://support.mozilla.com/kb/Keyboard%20shortcuts
* Firefox and other Browser Keyboard Shortcuts (Comparison Table)<br>http://dmcritchie.mvps.org/firefox/keyboard.htm
Keyword shortcuts:
* Firefox Keyword Shortcuts<br>http://dmcritchie.mvps.org/firefox/kws.htm
You can make '''Firefox 8.0''' look like Firefox 3.6.*, see numbered '''items 1-10''' in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 thru 8.0, look like 3.6)]. ''Whether or not you make changes, you should be aware of what has changed and what you have to do to use changed or missing features.''
* http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface
<p>There is a lot more beyond those first 10 steps listed, if you want to make Firefox more functional.</p>
<p><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small></p>
Maybe you are looking for
-
Create form based on existing row : advice from specialists
hello, i've coded a "create form" based on a row selected by the user. this create form displays the same information as the selected row (except for the primary key which is a sequence trigger-calculated) the user can then modify any field and then
-
Adding days to a date causes it to be set back a year.
Hello, I have the following problem on Oracle 10g. I run the following statment that adds 1 year to a date but, unless I format it, the date comes back with one year less than it should. SQL> select effective_date, (effective_date + interval '1' year
-
Hello, After Pacman runs (after installing, upgrading, removing, etc), there is an annoying output that shows: ~ $ sudo pacman -S somepackage file owned by 'X' and 'Y': '/path/to/file' ~ $ I know that the output is (usually) caused by the --force opt
-
Re-write provide statement with loop
Hello, I am a bit confused how to rewrite a provide statement but with loop instead. For example, how would the following code be written with 'loop at': PROVIDE * FROM P0001 FROM P0016 BETWEEN '20020401' AND '20061001' ENDPROVIDE Thanks fo
-
Inability to revert to original in iPhoto
I edited a JPEG photo in iPhoto (cropped). However later and after editing some other photos, I decided to revert the first photo to its original version. However, the option Photo>Revert to original button was not lit. In the Quick Fixes tab of the