Logic Machine Forum
Authentication for /user folder not working for every files - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: General (https://forum.logicmachine.net/forumdisplay.php?fid=2)
+--- Thread: Authentication for /user folder not working for every files (/showthread.php?tid=4405)



Authentication for /user folder not working for every files - rbourgeon - 28.11.2022

Hello,

In Logic Machine > User access > User access settings, I have checked the box "Enable password for User directory". After doing that, authentication is indeed asked to access LP files : /user/something.lp.

But on the contrary, for some text files I write on the SD card ( /user/some_file.txt), I have noticed that even with this option enabled, no password is asked to access the .txt file.

Why is an authentication effectively demanded for some file types but not for some others, when this option is enabled? Would there be a way so that authentication would really be demanded for all files in /user directory, regardless of their type?


RE: Authentication for /user folder not working for every files - admin - 28.11.2022

Auth only works for .lp files due to performance reasons. As a work-around you can use .lp script to read data and output it instead of using a plain text file.