PDA

View Full Version : Files of index



Aroldo jose
July 24, 2020, 10:08 PM
hello, please, could someone help by checking the information on the page, i have access to the full address of the image.
Is it possible to block and leave only the visible image?

Jenő Kocsi
July 27, 2020, 12:50 PM
Files folder should be an htaccess file, it should originally be in it if you haven't extracted it. I have it in and so only the given picture can be viewed.

Wei Hong
July 27, 2020, 02:08 PM
hello, please, could someone help by checking the information on the page, i have access to the full address of the image.
Is it possible to block and leave only the visible image?

create a blank index.html file in that folder will fix your problem?

Aroldo jose
July 27, 2020, 02:12 PM
thank you very much, it worked

Aroldo jose
July 27, 2020, 02:19 PM
Hello, Wei Hong,

I used Options All -Indexes in .htaccess

Wei Hong
July 27, 2020, 03:52 PM
Hello, Wei Hong,

I used Options All -Indexes in .htaccess

I just checked my site and found that I can view files just like your pictures. Would you please share how exactly to fix it? I check the .htaccess file in the domain.com/files/ folder and it has this rule


<Files ~ "\.(php|php2|php3|php4|php5|php7|phtml|pl|py|psp|js |jsp|cgi|util)$">
Order deny,allow
Deny From All
</Files>


Still, input the date like domain.com/files/10-2019/ still reveal file structure

Aroldo jose
July 27, 2020, 06:44 PM
I had problems only with viewing photos, edited the .htaccess file, at the end of the file I added the line Options All -Indexes, and sent it via FTP.