How to protect rwserlvet cache ?

I have 10gAS with forms & reports server. And my HTML DB 2.0 that use the same HTTPSERVER on the same port.
From HTMLDB application I am running a 10g .rep reports that run in destype=cache and deformat=pdf.
The problem is that once the report have been run, you can always go thru the url and find a way to type the url that display the cache list of reports and then you can open the pdf.
Is there a documentation to be able to block all the command like rwserlvet/showjobs etc.. ?
I think it is possible to force an authid but I was not able to find documentation about how to force it.
Thanks.

Hello,
In the document :
Oracle® Application Server Reports Services Publishing Reports to the Web
10g Release 2 (10.1.2)
B14048-02
3 Configuring OracleAS Reports Services
This user name and password is also used for accessing rwservlet Web commands, such as getjobid, getserverinfo, showjobs, and showenv when DIAGNOSTIC=NO in the rwservlet.properties file. When DIAGNOSTIC=NO, Web commands are disabled for everyone except those administrators who have this user name and password.
If your reports Server is secured , you will have to provide an authid to be able to
use the Reports Servlet commands (showjobs / getjobid / ...)
Regards

Similar Messages

  • How to protect rwservlet cache

    I have 10gAS with forms & reports server. And my HTML DB 2.0 that use the same HTTPSERVER on the same port.
    From HTMLDB application I am running a 10g .rep reports that run in destype=cache and deformat=pdf.
    The problem is that once the report have been run, you can always go thru the url and find a way to type the url that display the cache list of reports and then you can open the pdf.
    Is there a documentation to be able to block all the command like rwserlvet/showjobs etc.. ?
    I think it is possible to force an authid but I was not able to find documentation about how to force it.
    Thanks.

    I guess it is best to ask this question in the Reports forum ( Reports ).
    ~Dietmar.

  • How to create a cache for JPA Entities using an EJB

    Hello everybody! I have recently got started with JPA 2.0 (I use eclipseLink) and EJB 3.1 and have a problem to figure out how to best implement a cache for my JPA Entities using an EJB.
    In the following I try to describe my problem.. I know it is a bit verbose, but hope somebody will help me.. (I highlighted in bold the core of my problem, in case you want to first decide if you can/want help and in the case spend another couple of minutes to understand the domain)
    I have the following JPA Entities:
    @Entity Genre{
    private String name;
    @OneToMany(mappedBy = "genre", cascade={CascadeType.MERGE, CascadeType.PERSIST})
    private Collection<Novel> novels;
    @Entity
    class Novel{
    @ManyToOne(cascade={CascadeType.MERGE, CascadeType.PERSIST})
    private Genre genre;
    private String titleUnique;
    @OneToMany(mappedBy="novel", cascade={CascadeType.MERGE, CascadeType.PERSIST})
    private Collection<NovelEdition> editions;
    @Entity
    class NovelEdition{
    private String publisherNameUnique;
    private String year;
    @ManyToOne(optional=false, cascade={CascadeType.PERSIST, CascadeType.MERGE})
    private Novel novel;
    @ManyToOne(optional=false, cascade={CascadeType.MERGE, CascadeType.PERSIST})
    private Catalog appearsInCatalog;
    @Entity
    class Catalog{
    private String name;
    @OneToMany(mappedBy = "appearsInCatalog", cascade = {CascadeType.MERGE, CascadeType.PERSIST})
    private Collection<NovelEdition> novelsInCatalog;
    The idea is to have several Novels, belonging each to a specific Genre, for which can exist more than an edition (different publisher, year, etc). For semplicity a NovelEdition can belong to just one Catalog, being such a Catalog represented by such a text file:
    FILE 1:
    Catalog: Name Of Catalog 1
    "Title of Novel 1", "Genre1 name","Publisher1 Name", 2009
    "Title of Novel 2", "Genre1 name","Pulisher2 Name", 2010
    FILE 2:
    Catalog: Name Of Catalog 2
    "Title of Novel 1", "Genre1 name","Publisher2 Name", 2011
    "Title of Novel 2", "Genre1 name","Pulisher1 Name", 2011
    Each entity has associated a Stateless EJB that acts as a DAO, using a Transaction Scoped EntityManager. For example:
    @Stateless
    public class NovelDAO extends AbstractDAO<Novel> {
    @PersistenceContext(unitName = "XXX")
    private EntityManager em;
    protected EntityManager getEntityManager() {
    return em;
    public NovelDAO() {
    super(Novel.class);
    //NovelDAO Specific methods
    I am interested at when the catalog files are parsed and the corresponding entities are built (I usually read a whole batch of Catalogs at a time).
    Being the parsing a String-driven procedure, I don't want to repeat actions like novelDAO.getByName("Title of Novel 1") so I would like to use a centralized cache for mappings of type String-Identifier->Entity object.
    Currently I use +3 Objects+:
    1) The file parser, which does something like:
    final CatalogBuilder catalogBuilder = //JNDI Lookup
    //for each file:
    String catalogName = parseCatalogName(file);
    catalogBuilder.setCatalogName(catalogName);
    //For each novel edition
    String title= parseNovelTitle();
    String genre= parseGenre();
    catalogBuilder.addNovelEdition(title, genre, publisher, year);
    //End foreach
    catalogBuilder.build();
    2) The CatalogBuilder is a Stateful EJB which uses the Cache and gets re-initialized every time a new Catalog file is parsed and gets "removed" after a catalog is persisted.
    @Stateful
    public class CatalogBuilder {
    @PersistenceContext(unitName = "XXX", type = PersistenceContextType.EXTENDED)
    private EntityManager em;
    @EJB
    private Cache cache;
    private Catalog catalog;
    @PostConstruct
    public void initialize() {
    catalog = new Catalog();
    catalog.setNovelsInCatalog(new ArrayList<NovelEdition>());
    public void addNovelEdition(String title, String genreStr, String publisher, String year){
    Genre genre = cache.findGenreCreateIfAbsent(genreStr);//##
    Novel novel = cache.findNovelCreateIfAbsent(title, genre);//##
    NovelEdition novEd = new NovelEdition();
    novEd.setNovel(novel);
    //novEd.set publisher year catalog
    catalog.getNovelsInCatalog().add();
    public void setCatalogName(String name) {
    catalog.setName(name);
    @Remove
    public void build(){
    em.merge(catalog);
    3) Finally, the problematic bean: Cache. For CatalogBuilder I used an EXTENDED persistence context (which I need as the Parser executes several succesive transactions) together with a Stateful EJB; but in this case I am not really sure what I need. In fact, the cache:
    Should stay in memory until the parser is finished with its job, but not longer (should not be a singleton) as the parsing is just a very particular activity which happens rarely.
    Should keep all of the entities in context, and should return managed entities form mehtods marked with ##, otherwise the attempt to persist the catalog should fail (duplicated INSERTs)..
    Should use the same persistence context as the CatalogBuilder.
    What I have now is :
    @Stateful
    public class Cache {
    @PersistenceContext(unitName = "XXX", type = PersistenceContextType.EXTENDED)
    private EntityManager em;
    @EJB
    private sessionbean.GenreDAO genreDAO;
    //DAOs for other cached entities
    Map<String, Genre> genreName2Object=new TreeMap<String, Genre>();
    @PostConstruct
    public void initialize(){
    for (Genre g: genreDAO.findAll()) {
    genreName2Object.put(g.getName(), em.merge(g));
    public Genre findGenreCreateIfAbsent(String genreName){
    if (genreName2Object.containsKey(genreName){
    return genreName2Object.get(genreName);
    Genre g = new Genre();
    g.setName();
    g.setNovels(new ArrayList<Novel>());
    genreDAO.persist(t);
    genreName2Object.put(t.getIdentifier(), em.merge(t));
    return t;
    But honestly I couldn't find a solution which satisfies these 3 points at the same time. For example, using another stateful bean with an extended persistence context (PC) would work for the 1st parsed file, but I have no idea what should happen from the 2nd file on.. Indeed, for the 1st file the PC will be created and propagated from CatalogBuilder to Cache, which will then use the same PC. But after build() returns, the PC of CatalogBuilder should (I guess) be removed and re-created during the succesive parsing, although the PC of Cache should stay "alive": shouldn't in this case an exception being thrown? Another problem is what to do when the Cache bean is passivated. Currently I get the exception:
    "passivateEJB(), Exception caught ->
    java.io.IOException: java.io.IOException
    at com.sun.ejb.base.io.IOUtils.serializeObject(IOUtils.java:101)
    at com.sun.ejb.containers.util.cache.LruSessionCache.saveStateToStore(LruSessionCache.java:501)"
    Hence, I have no Idea how to implement my cache.. Can you please tell me how would you solve the problem?
    Many thanks!
    Bye

    Hi Chris,
    thanks for your reply!
    I've tried to add the following into persistence.xml (although I've read that eclipseLink uses L2 cache by default..):
    <shared-cache-mode>ALL</shared-cache-mode>
    Then I replaced the Cache bean with a stateless bean which has methods like
    Genre findGenreCreateIfAbsent(String genreName){
    Genre genre = genreDAO.findByName(genreName);
    if (genre!=null){
    return genre;
    genre = //Build new genre object
    genreDAO.persist(genre);
    return genre;
    As far as I undestood, the shared cache should automatically store the genre and avoid querying the DB multiple times for the same genre, but unfortunately this is not the case: if I use a FINE logging level, I see really a lot of SELECT queries, which I didn't see with my "home made" Cache...
    I am really confused.. :(
    Thanks again for helping + bye

  • How to protect SAP Application Tables and Reports in R/3

    Hi Gurus,
                 Any one please explain me detail how to protect tables in R/3 with different senarios.
                  How to protect reports in SAP R/3 without assigning SA38 transaction access
                  How to protect Program in SAP R/3 in R/3

    Hello Happyman,
    <b>What do you mean by Protect Table, Program and Report?</b>
    Let me ask you one base Question, On which area are you working? Are you from functional side or Technical side (Developement or Basis guy)?
    This is very clear cut answer that with the restricted autorization you can protect table and programs. Do not provide the change autorization.
    CATCH your BASIS guy and he will do rest of the things. Just explain him what are you want to protect.
    Hope this helps.
    Regards
    Arif Mansuri

  • How do I clear cache and cookies on my ipad

    How do I clear cache and cookies on my ipad?  I was told to do this when I was trying to download ebooks to ibooks and kindle

    Settings/safari/clear history;clear cookies and data

  • How to protect the lines in smartforms

    hi gurus
    i want to know how to protect the line in smartforms..
    regards
    baskar

    Check this link.
    http://www.saptechies.com/smartforms-protect-lines-in-main-window/
    if you are using tables, there are two options for protection against line break: – You can protect a line type against page break. – You can protect several table lines against page break for output in the main area.
    Protection against page break for line types – Double-click on your table node and choose the Table tab page. – Switch to the detail view by choosing the Details pushbutton. – Set the Protection against page break checkbox in the table for the relevant line type. Table lines that use this line type are output on one page.
    Protection against page break for several table lines – Expand the main area of your table node in the navigation tree. – Insert a file node for the table lines to be protected in the main area. – If you have already created table lines in the main area, you can put the lines that you want to protect again page break under the file using Drag&Drop. Otherwise, create the table lines as subnodes of the file. – Choose the Output Options tab page of the file node and set the Page Protection option. All table lines that are in the file with the Page Protection option set are output on one page
    Regards,
    Maha

  • How to protect ABAP programs

    Hi experts
             I want to protect my ABAP programs from other users from changing it.
             How to protect my program by setting password or not allowing only display mode like.
             Please suggest me on this.
    Thanks in advance.
    Regards
    Rajaram

    Hi Raja,
    If in case you want to lock the development done by you in SAP,then while the report is open in the ABAP edtor,click on GoTo and then Attributes at the menu bar and then check the checkbox "Editor Lock".
    Nobody will be able to make any changes to your program unless and until logged by your user ID.
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • How to protect PDF in ABAP ?

    Hi All,
                 Please let me know, how to protect PDF document using ABAP coding.
    Regards,
    Santhosh

    Hi,
    that's not possible directly from ABAP.
    Please check
    http://scn.sap.com/people/pavan.vudaga/blog/2012/07/06/email-pdf-attachment-with-password-protection
    Regards,
    Klaus

  • How to protect a pdf-file in a pdf-portfolio against extraction?

    How to protect a pdf-file in a pdf-portfolio against extraction?

    You can't.
    Portfolios are just a single-page document with a bunch of attached files - the act of opening one of those attachments is identical to the act of "extracting" it into a new document, so blocking it would stop the Portfolio from working.

  • How do I delete caches in Lion and which can I delete?

    How do I delete caches in Lion and which ones can be deleted?

    you can delete all of them, they will be recreated as soon as the app opens again.
    Clearing Local Caches
    quit all open apps
    open Finder press "shift+command+G" and type ~/Library/Caches
    Drag all files and folders to the trash
    Enter login password when prompted
    Reboot
    your system may seem slower after reboot, this is because the caches are being rebuilt.
    Clearing Application Caches
    quit all open apps
    open Finder Press "shift+command+G" and type /Library/Caches
    Drag all files and folders to the trash
    Reboot

  • How do I empty "cache"?

    How do I empty "cache"?

    The best way to do this is simply to boot into Safe Mode.
    Here's what to do:
    1. Restart your computer
    2. Just as you hear the chime sound and see a white screen on startup, hold down the shift key
    3. You will see a progress bar as your computer boots into safe mode and clears your cache.
    4. Simply restart normally, and your cache is clear.
    Good luck!

  • How to clear app cache on itouch (3.1.3 iOS)

    can someone help with directions on how to clear app cache in 3.1.3?  btw...i don't want to reset since it will result in lost apps that no longer offer versions for 3.1.3

    All you can do is reset the iPod. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    For the old-app problem. Delete any newer apps from your iTunes library. Then transfer iTunes purchases to the computer by:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    Just make sure that you do not update those apps in your iTunes library.

  • How to protect customization in oracle apps files against autoconfig run

    Hi,
    how to protect customization in oracle apps files against autoconfig run.
    For example:
    Take wdbsvr.app file i have added a new dad configuration for APEX but when ever i run autoconfig it replaces all my customizations so could you please let us know how to protect these customizations .
    Thanks.

    Hi,
    Please see (Note: 270519.1 - Customizing an AutoConfig Environment).
    Regards,
    Hussein

  • Hi how to protect form modification a shared scientific document in pdf and word format?

    hi how to protect from modification a shared scientific document in pdf and word format?

    For the PDF document: Use the tool panel on the right side and under the protection section choose the Restrict Editing option.  Set a password so that nobody can modify it.  In word

  • How I protect edition in some pages of my PDF, but accept modify one page in my PDF file?

    How I protect edition in some pages of my PDF, but accept modify one page in my PDF file?
    For example...
    I am author of a e-book. But, I want people distribute that my e-book inserting in first page your website of who is distributing.
    Look at how I want stay it...
    "You have downloaded this eBook by"
    Header 1Header 2
    "You have downloaded this eBook by"
    Name of distributor here.
    (only that page can be changed)
    Page 1
    Content my e-book
    Page 2 (BLOCKED FOR CHANGED)
    Content my e-book
    (BLOCKED FOR CHANGED)
    Page 3
    Content my e-book
    (BLOCKED FOR CHANGED)
    Page 4 
    ... ALL THE REST IS BLOCKED FOR EDIT.
    I want that, How can I get it?
    Please, apologize my bad english, I speak portuguse.

    Remember, most people don't have software for editing PDF files at all. They will not want to buy Acrobat just to edit your ebook.
    Otherwise, I think you need to learn about form fields. This allows you to decide where it is to be typed in. You can allow filling and request editing is not allowed.  You need to understand exactly what software can and can't fill in forms, and what can and can't save the result; it changes with versions of Adobe Reader.
    Remember too that some software ignores your security settings anyway.

Maybe you are looking for

  • Need border around image specific size

    I'm new to aperture and can't figure out how to do this. It was so easy in other less sophisticated programs on my PC. I'm really disappointed that I cant do this simple task. I have images of my artwork that need to be sent as jpg files at 1920 x 19

  • Error Disables All Other Events

    I am using a property node for my STOP button to trigger an event within an event.  Everything was working fine when I just threw it together; added error handling and cleaned stuff up it no longer worked.  The symptom was my event within the first e

  • Macbook Pro Retina 15 Inch Or 13 Inch for Business Marketing in College

    Looking to buy a macbook pro retina display for college but can't decide between the 15 inch and the 13inch will the 15 inch be to big will the 13 inch have enough power as well is it heavy to walk around campus with ?

  • Transparency function missing in cs5.5

    hy there can someone tell me where to find in cs5.5. EXACTLY the same function. see pic, taken from old premiere 6.0 goal is to have 2 video clips next to each other with a specific viewable size AND they have motion, both move from left to right but

  • Low on memory (not RAM memory)

    hi! i have a Imac G5 running version 10.5.6 and was curious as to go abouts seeing major files and deleteing them. i have only 2GB of memory left on my entire hard drive and need to delete files and figure what is taking up so much memory. thanks!