File Downloads with Server Connect --- will this bypass the HTACCESS?

Im using PHP

Ok.. i want to protect all my files in say my “uploads” folder.
So my first approach will be to “protect” all these files in the folder with a .htaccess file

So.. if I use
File Downloads with Server Connect -as per link below.

Will this bypass the .htaccess file so I can downloads the files???

Or how would i “protect my files” via htaccess..
but still give the client the ability to download the files…. as I assumed that File Downloads with Server Connect would do this…

anyone with some sort of an approach?

Please check the following topic, it explains exactly this workflow:

1 Like

Is this also applicable to “client side” download file or only “server connections / server side”

Does the “client side” download work the same?
As i cannot get it to download a file if the folder is htaccess protected…

so the question is should it work the same as the SC way?

As this is working for me.. eg SC…

No, this won't work, as the client side download uses a script that runs in the users browser, which means it's treated the same way as a direct linking.
For secured downloads like this, you need to use the server-side download.

1 Like

Ok cool… thanks for clearing that up :slight_smile:

You can use the url of the serverconnect action in the download file component if like to use it.

2 Likes

awesome.. that is a cool “hack” will give it a go :slight_smile: …. did not know you could do that .. thanks @patrick