0

I have a Linux centos 7 server. On that server, I started one script which should save images into one folder /images and inside the CSV file.

Is there any chance that I can make CSV file and folder images accessible through the URL with a password, so the users who have passwords can open the link and see the file and images?

6
  • What webserver are you using? apache? Commented Feb 19, 2022 at 9:11
  • not sure, how i can check it? Commented Feb 19, 2022 at 9:12
  • You should know if you installed one I suppose. install apache and setup basic authentication Commented Feb 19, 2022 at 9:16
  • i didnt install it, is that solution to my issue? Commented Feb 19, 2022 at 9:20
  • 1
    this works!!! thanks you so much! Commented Feb 19, 2022 at 10:16

1 Answer 1

1

You need a webserver to serve the files.

Apache would be my first choice.

As the installation varies from distro to distro, I won't go any further into that here. Instructions for CentOS 7 can be found here

To make a URL/directory password protected, you can use basic HTTP authentication via a .htaccess file as described here.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.