Disable my files

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Disable my files

L1 Bithead

how can we disable this "Files" option in the PVWA web interface? I have searched the support site and can't find details about this.

Field_Content_versions_oct20__0682J00000HoPfgQAF.png

3 REPLIES 3

L4 Transporter

There is no simple parameter, but you can manipulate the IIS.

There are different possibilities, but if you want to get rid of the functionality for all:

 

Functional Removal: Delete Or Rename The My Files And Add File Aspx Binaries

Note: Perform this step if your requirement is to make sure that by no means should anyone be able to access the Files view page or Add File form page. ​​​​​​

  1. Navigate to inetpub\wwwroot\PaswordVault\Bin
  2. Delete or rename (e.g. <filename>.old), your option, both are valid, myobjects.aspx.<alphanumeric code>.compiled file. This will disable the Files view page
  3. Delete or rename (e.g. <filename>.old), your option, both are valid, addfile.aspx.<alphanumeric code>.compiled file. This will disable the Add File form page
  4. Close and reopen the browser or Ctrl+Shift+R (force a server side refresh) and try to access:
    1. V9 https://<servername>/PasswordVault/MyObjects.aspx or V10+ https://<servername>/PasswordVault/v10/Classic/MyObjects.aspx 
    2. V9: https://<servername>/PasswordVault/AddFile.aspx or V10+ https://<servername>/PasswordVault/v10/Classic/AddFile.aspx

 

There is also a solution to change the files page to display something like "this feature has been disabled".

L4 Transporter

Hi,

 

if you wanna replace it with your own custom message

 

Optional Step 3 - Informational Add custom message to the place holder ASPX files of My Files and Add File functions

1) Navigate to inetpub\wwwroot\PaswordVault\

2) Edit in NotePad the MyObjects.aspx and AddFile.aspx. For example: 

 

0682J00000LpI2EQAV.jpg 

3) Create a custom HTML message and replace the default text in those files with it. The HTML message should be structred as follows: 

<div style="padding: 30px;">

.... your custom html message...

 

<!-- The below link will allow the user to go back to page that he/she came from -->

<p><a href="javascript:window.history.back()l">Back to the previous page</a></p>

</div>

 

4) MyObjects.aspx Example: 

0682J00000LpI2OQAV.jpg 

 

5) message (IMPORTANT: the path /PasswordVault/v10/Classic/myobjects.aspx is virtual. The actual aspx files are under  /PasswordVault/ as per the instruction in step 1 above)

 

0682J00000LpI35QAF.jpg 

6) Save & Close

7) Optional: IISReset (IIS on most cases will automatically send the new css file once it has changed

😎 Close and reopen the browser or Ctrl+Shift+R (force a server side refresh)

 

Regards,

Fabian

L0 Member

Hi

 

Is there an another option where it's possible to deny users to upload files?

 

Regards

 

  • 544 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!