• Hello. My files can dowdnloads with direct link. How can i protect them? I am using litespeed server.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @wpuzman

    Have you uploaded your product to default EDD folder or have you created any other folder for files?

    Thread Starter wpuzman

    (@wpuzman)

    In default folder.

    wp-content/uploads/edd/

    Thread Starter wpuzman

    (@wpuzman)

    Any response?

    Hi @wpuzman

    Sorry for my delay response.

    Can you please confirm in your default EDD folder wp-content/uploads/edd/, there is a file .htaccess or not?

    Also please confirm that there are some content in .htaccess file or not?

    Thread Starter wpuzman

    (@wpuzman)

    Yes, contains .htaccess file, 2019 folder and index.php

    It is .htaccess file:

    
    Options -Indexes
    deny from all
    <FilesMatch '\.(jpg|jpeg|png|gif|mp3|ogg)$'>
    Order Allow,Deny
    Allow from all
    </FilesMatch>
    

    I also need a solution for this, I also have litespeed, set the expiry to an hour but it doesn’t work, direct linking still works.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Protect file on litespeed server’ is closed to new replies.