How does the CI framework restrict users from directly accessing the footage directory without logging in?

as mentioned in the title, the CI framework can directly access the material storage directory without logging in. How to restrict it?

Php
Nov.29,2021

this is not easy to handle. Access to the rewrite material directory is all handled through php. Otherwise, the link is random, control the validity of the link, so that you can log in to get the link.


there is an index.php, under each directory in the CI framework. By using this index.php to determine whether to log in, you can determine whether you can directly access

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4bb42-44e71.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4bb42-44e71.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?