1

How to prevent direct access images url in codeigniter 4

I tried make route

$routes->get('/tester/(:any)', 'Tester::index/$1');

The file images is in folder public like: public/tester/hero.jpg

totoprayogo1916
  • 160
  • 4
  • 20
  • Does this answer your question? [How can i restrict the image Folder using .htaccess in codeigniter](https://stackoverflow.com/questions/28340198/how-can-i-restrict-the-image-folder-using-htaccess-in-codeigniter) – Jack465 Jan 28 '22 at 09:56

0 Answers0