hjyssg / ShiguReader

硬核宅宅资源管理器. Ultimate Manga Resource Manager
MIT License
400 stars 45 forks source link

Disable access to other paths #187

Closed krispykiq closed 1 year ago

krispykiq commented 3 years ago

When the path is 'C:\Users\User\Desktop\Test' the previous folders are also accessible. Which means other people can see files you might not want them to see. Also is there a way to disable the downloads folder? I didn't add that path but its there.

hjyssg commented 3 years ago

You can modify ShiguReader\src\server\routes\homePagePath.js file to decide which path you want user to see.

If you want to more advanced file access controlling features. For example, user A can view file a, but user B cannot. You can implement yourself, or pay me to do.