![]() |
[Solved] Private static files - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html) +--- Thread: [Solved] Private static files (/thread-37727.html) |
[Solved] Private static files - SpongeB0B - Jul-16-2022 Hi everyone, I would like that certain files be only available to logged/authorized persons. So not in the /static folder that is available for everyone. Plz do not forward me to tutorial that explain how to do it with Flask-Login because I'm using my method of authentication. Maybe the simplest way to do it it's to create another folder /static_private and make it work almost as the static one but for logged user only ? But I have no idea how to achieve that. Thanks RE: [Solved] Private static files - SpongeB0B - Jul-16-2022 I succeed ![]() If you encounter the same problem, feel free to reach me and I will help. Cheers, |