My Oracle Support Banner

Need to Block Users from Viewing the Folder Structure When Viewing Documents Using the Document URL from WebCenter Portal (Doc ID 2924239.1)

Last updated on JANUARY 31, 2023

Applies to:

Oracle WebCenter Portal - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms


ACTUAL BEHAVIOR

The content server folders are visible when viewing documents using the document URL from WebCenter Portal.
Need to Block Users from Viewing the Folder Structure When Viewing Documents this way.

 


EXPECTED BEHAVIOR

Users should not be able to view and navigate the folder structure.

 


STEPS

The issue can be reproduced at will with the following steps:

 

  1. Connect to WebCenter Portal.
     
     
  2. Go to the Documents page in a portal.
     
     
  3. Select the check box next to a document and select the "Get Link" icon.
     
     
  4. Note down the "Additional Link".
    The URL should look like this:
     
    https://host:port/webcenter/content/conn/<WCP-Connection-Name>/path/Enterprise%20Libraries/<Portal-name>/<folder-name>/<file-name>
      

    For example:
     
    http://host:port8/webcenter/content/conn/WebCenterSpaces-ucm/path/Enterprise%20Libraries/MyPortal/MyFolder/MyFile.pdf
     
     
  5. In the browser open the document URL:
    e.g., in this case:
     
    http://host:port8/webcenter/content/conn/WebCenterSpaces-ucm/path/Enterprise%20Libraries/MyPortal/MyFolder/MyFile.pdf
     
    This should show the pdf file.
      
     
  6. Remove the file name form the URL in the browser and click enter to refresh the page with the change.
    e.g., in this case:
     
    http://host:port8/webcenter/content/conn/WebCenterSpaces-ucm/path/Enterprise%20Libraries/MyPortal/MyFolder
      
    Here you will be able to see the folders in content server and navigate in the folders.
     

 

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.