+ Reply to Thread
Results 1 to 7 of 7

Thread: Files of index

  1. #1

    Files of index

    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?
    Attached Images Attached Images

  2. #2
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    402
    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.

  3. #3
    Quote Originally Posted by Aroldo jose View Post
    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?

  4. #4
    thank you very much, it worked

  5. #5
    Hello, Wei Hong,

    I used Options All -Indexes in .htaccess

  6. #6
    Quote Originally Posted by Aroldo jose View Post
    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|j s|jsp|cgi|util)$">
    Order deny,allow
    Deny From All
    </Files>
    Still, input the date like domain.com/files/10-2019/ still reveal file structure

  7. #7
    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.

+ Reply to Thread