naveen17797 / newway-filemanager

Newway file manager is a file manager for servers,it helps you to access files in your server
GNU General Public License v3.0
4 stars 0 forks source link

.json file security issue in version 3.0 beta #56

Open naveen17797 opened 4 years ago

naveen17797 commented 4 years ago

the .json file might be served by apache if it is not protected by .htaccess, although the file doesn't have passwords in plain text format, the risk is still huge, it can be cracked with dictionary based attacks if the user was using a common password. there need to be way to store the file, may be place it outside the root (version 2 did that)

Maikuolan commented 4 years ago

For Apache servers, placing a dot in front of the filename, like .file.json, will automatically hide the file from external requests, so may be a viable way to improve the security of the file in the case of Apache servers. However, that mechanism is unfortunately only an Apache thing, so won't make any difference in terms of security for users using other kinds of server software, like Nginx and so on.