Within the file manager, there is a real possibility someone could "accidentally" delete a large number of site files if not careful.
If you attempt to compress files within your site, and change the name of the yet-to-be outputted compressed file, striking the delete key will prompt the user if they want to delete all of the files they are trying to compress. If a user is careless and simply hits enter, a lot of data loss could occur.
This could likely be solved by simply stopping key stroke events from propagating outside of the the popup window.
We are currently using cPanel & WHM build 11.28 for linux
Steps to reproduce:
Open file manager from cPanel.
Select a number of files within a site.
Choose "Compress" from icon menu at top.
Change the name for the to-be-outputted file by using the delete key to remove the pre-filled name
View the dialog box that is shown prompting to confirm file deletion.



LinkBack URL
About LinkBacks
Reply With Quote





