[Skip to main content](#vessel-content)

#   Upload secure folder

##

- **[ehoward](/forum/user/6397-ehoward "View ehoward's Profile")**
- [![ehoward's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6397-ehoward "View ehoward's Profile") Topic Author
- [ Offline](/forum/user/6397-ehoward)

Less More

- Posts: 3
- Thank you received: 0
-
-

12 years 1 month ago [\#170696](#170696) by [ehoward](/forum/user/6397-ehoward "View ehoward's Profile")  *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#170696 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")* was created by *[ehoward](/forum/user/6397-ehoward "View ehoward's Profile")*

-- url of the page with the problem -- : n/a
-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.4.29
-- Browser(s) name and version -- : Firefox 31.0
-- Error-message(debug-mod must be tuned on) -- : n/a

I can't figure out the difference between "Upload secure folder" and "Upload folder." I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 1 month ago [\#170707](#170707) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#170707 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")*

Hi,

The secure folder is secured, it means that you can't access of files into.
That's why the images are not in that folder, otherwise you won't be able to see the images ; but the product files should be secured, specially when you just want people who buy a product to be able to download that file.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[panefs](/forum/user/35481-panefs "View panefs's Profile")**
- [![panefs's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35481-panefs "View panefs's Profile")
- [ Offline](/forum/user/35481-panefs)

Less More

- Posts: 105
- Thank you received: 6
-
-
-

11 years 9 months ago -  11 years 9 months ago [\#185956](#185956) by [panefs](/forum/user/35481-panefs "View panefs's Profile")  Replied by *[panefs](/forum/user/35481-panefs "View panefs's Profile")* on topic *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#185956 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")*

Hello.

How exactly do I change the location of the Upload secure folder, so that it's outside the Joomla installation folder?
Here's what I have done:

I created a folder called "products" in the root directory of my site (outside the public_html folder where the Joomla files are stored).

Now I need to change the default path in the configuration settings:
media/com_hikashop/upload/safe/
What exactly do I enter here?

Also, is there anything I should do / check to make sure everything will work OK (permissions exact status, etc)

Thanks
Panos

Last edit: 11 years 9 months ago by [panefs](/forum/user/35481-panefs "View panefs's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14266
-
-

11 years 9 months ago [\#185963](#185963) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#185963 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")*

Hi,

You can use that path: ../products/
Two dots means go up one level in the folder hierarchy and the default folder is the root of the website (in the public_html folder in your case).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[panefs](/forum/user/35481-panefs "View panefs's Profile")**
- [![panefs's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35481-panefs "View panefs's Profile")
- [ Offline](/forum/user/35481-panefs)

Less More

- Posts: 105
- Thank you received: 6
-
-
-

11 years 9 months ago [\#186072](#186072) by [panefs](/forum/user/35481-panefs "View panefs's Profile")  Replied by *[panefs](/forum/user/35481-panefs "View panefs's Profile")* on topic *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#186072 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")*

Thank you Nicolas.

Should I create a "Deny from all" .htaccess file and add it to my "products" folder,
or this is not necessary since this folder is located outside public_html ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14266
-
-

11 years 9 months ago [\#186088](#186088) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#186088 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")*

There is no need to since it is outside of the public_html folder.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[breathwork](/forum/user/7758-breathwork "View breathwork's Profile")**
- [![breathwork's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7758-breathwork "View breathwork's Profile")
- [ Offline](/forum/user/7758-breathwork)

Less More

- Posts: 6
- Thank you received: 0
-
-

10 years 10 months ago [\#222853](#222853) by [breathwork](/forum/user/7758-breathwork "View breathwork's Profile")  Replied by *[breathwork](/forum/user/7758-breathwork "View breathwork's Profile")* on topic *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#222853 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")*

Can you also use ~/products/

The reason I ask is that I am using a test environment which is like this ROOT/public_html/test and products is in ROOT

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14266
-
-

10 years 10 months ago [\#222856](#222856) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#222856 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")*

No, the ~ character won't be accepted.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")**
- [![joomleb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2322-joomleb "View joomleb's Profile")
- [ Offline](/forum/user/2322-joomleb)

Less More

- Posts: 461
- Thank you received: 36
-
-

2 years 8 months ago -  2 years 8 months ago [\#359150](#359150) by [joomleb](/forum/user/2322-joomleb "View joomleb's Profile")  Replied by *[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")* on topic *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#359150 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")*

Hi Nicolas,
PHP 8.1.27 + Joomla 4.4.2 + HikaShop 5.0.3
Secure folder
Public_html/aaaaa/bbbJoomlaInstallationbbb/media/com_hikashop/upload/safe

Let me say we are going to move it to
Public_html/safe

Being that "...Two dots means go up one level in the folder hierarchy...", Please, How can we input Secure Folder in HS setting ?

We have not to copy in the new Secure folder the .../safe/.htaccess file because the new Secure folder is not into the Joomla folder installation, Right ?

Last edit: 2 years 8 months ago by [joomleb](/forum/user/2322-joomleb "View joomleb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14266
-
-

2 years 8 months ago [\#359155](#359155) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#359155 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")*

Hi,

I suppose it should be: Code:

../../safe

And yes, if the folder is outside the web server root, you don't need the htaccess. Note that you can still have it. It won't change anything and it can come in handy in the future if you move the folder inside the web server root so that you don't forget to add the htaccess at that time.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")**
- [![joomleb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2322-joomleb "View joomleb's Profile")
- [ Offline](/forum/user/2322-joomleb)

Less More

- Posts: 461
- Thank you received: 36
-
-

2 years 8 months ago [\#359183](#359183) by [joomleb](/forum/user/2322-joomleb "View joomleb's Profile")  Replied by *[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")* on topic *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#359183 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")*

Hi Nicolas,
Thank you very much.
...and, Do we have to copy in the new Secure folder also the "logs" subfolder and it's content ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14266
-
-

2 years 8 months ago [\#359186](#359186) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#359186 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")*

Hi,

No, you don't have to. The logs folder is for the "payment log file" and the cron task report. So you can have them wherever you want regardless of the secure folder location. It's just that we have them in there by default.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")**
- [![joomleb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2322-joomleb "View joomleb's Profile")
- [ Offline](/forum/user/2322-joomleb)

Less More

- Posts: 461
- Thank you received: 36
-
-

2 years 8 months ago [\#359208](#359208) by [joomleb](/forum/user/2322-joomleb "View joomleb's Profile")  Replied by *[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")* on topic *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#359208 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")*

Hi,
"...So you can have them wherever you want..."
[ www.hikashop.com/support/documentation/5...nfig.html#main\_files](https://www.hikashop.com/support/documentation/54-hikashop-config.html#main_files)
I see. Thank you.
But, What is the best behaviour suggestion for them ?
I mean, Is it better to treat them as the "secure folder" and to move that position outside the Joomla installation as you suggested for files ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14266
-
-

2 years 8 months ago [\#359213](#359213) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#359213 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")*

Hi,

Yes, it would be better to move them to another folder if you plan on deleting the media/com_hikashop/upload/safe folder.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")**
- [![joomleb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2322-joomleb "View joomleb's Profile")
- [ Offline](/forum/user/2322-joomleb)

Less More

- Posts: 461
- Thank you received: 36
-
-

2 years 7 months ago -  2 years 7 months ago [\#359827](#359827) by [joomleb](/forum/user/2322-joomleb "View joomleb's Profile")  Replied by *[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")* on topic *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#359827 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")*

Hi Nicolas,
PHP 8.1.27 + Joomla 4.4.3 + HikaShop 5.0.3
By adding into the configuration "Upload secure folder" and / or "Payment log file" an URL with "../../", saving it, I have back a 404 Page Error, I add here an image for you with details.
Please, What am I missing ?

- [ ![Screenshot&#95;20240316-110414.png](/forum/attachment/58992) ](/forum/attachment/58992 "...316-110414.png") [ ](/forum/attachment/58992?download=1 "...316-110414.png")

Last edit: 2 years 7 months ago by [joomleb](/forum/user/2322-joomleb "View joomleb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14266
-
-

2 years 7 months ago [\#359835](#359835) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#359835 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")*

Hi,

That error page says that the current URL doesn't exist. I don't think it has anything to do with these two options.
I think that Joomla is trying to display an error page, but there is some extension / template trying to display a custom error page for it and it's not valid anymore for some reason which leads to the 404 error. So it's actually a double error.
What is the URL of that page ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")**
- [![joomleb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2322-joomleb "View joomleb's Profile")
- [ Offline](/forum/user/2322-joomleb)

Less More

- Posts: 461
- Thank you received: 36
-
-

2 years 7 months ago [\#359865](#359865) by [joomleb](/forum/user/2322-joomleb "View joomleb's Profile")  Replied by *[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")* on topic *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#359865 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")*

Hi,
the URL of the 404 page error is [ mysite.com/administrator/index.php?optio...hikashop&amp;ctrl=config](https://mysite.com/administrator/index.php?option=com_hikashop&ctrl=config)
That should be the right one.

**PS** - it is happening only when saving if I input (for ex.) ../../mysecurefolder
While it is saved with success (same URL) if I input ../mysecurefolder OR mysecurefolder

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14266
-
-

2 years 7 months ago [\#359866](#359866) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#359866 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")*

Hi,

I think it might be linked to some security mechanism on your website (like RSFirewall) or web server (like mod_security) which sees the ../../ in the POST of the HTTP request and empty the parameter to prevent any hack attempt.
Using ../../ is a common way for hackers to try to access things they are not supposed to access.

Instead of doing this, what you could do is to provide the absolute path of the folder. That way, the security system wouldn't flag the parameter as potentially harmful.
For example, if your Joomla website is in the folder /home/websiteuser/web/www/ and you want to store the secure files in /home/websiteuser/mysecurefolder, instead of entering ../../mysecurefolder to point at this folder, you could enter /home/websiteuser/mysecurefolder

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")**
- [![joomleb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2322-joomleb "View joomleb's Profile")
- [ Offline](/forum/user/2322-joomleb)

Less More

- Posts: 461
- Thank you received: 36
-
-

2 years 6 months ago -  2 years 6 months ago [\#360546](#360546) by [joomleb](/forum/user/2322-joomleb "View joomleb's Profile")  Replied by *[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")* on topic *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#360546 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")*

Hi Nicolás,

"some security mechanism" = maybe, I'm using Admin Tools.
Anyway, Are you sure? I'm asking because:
- with "../mysecurefolder" saved in configuration
- I installed HS 5.0.4 over the 5.0.3
- and I had back this info message (I suppose from HS)
[ ![Screenshot&#95;20240421-0805308152.png](/forum/attachment/59156) ](/forum/attachment/59156 "...0805308152.png")

"Absolute path" = Okay. Please, Has it to begin with "/", like "/home/..." or just without it like "home/..." ?

- [ ![Screenshot&#95;20240421-0805308152.png](/forum/attachment/59156) ](/forum/attachment/59156 "...0805308152.png") [ ](/forum/attachment/59156?download=1 "...0805308152.png")

Last edit: 2 years 6 months ago by [joomleb](/forum/user/2322-joomleb "View joomleb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14266
-
-

2 years 6 months ago [\#360550](#360550) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Upload secure folder](/forum/26-product-category-display/870959-upload-secure-folder#360550 "-- url of the page with the problem -- : n/a -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Browser(s) name and version -- : Firefox 31.0 -- Error-message(debug-mod must be tuned on) -- : n/a  I can't figure out the difference between &quot;Upload secure folder&quot; and &quot;Upload folder.&quot; I'm configuring the shopping cart in System &gt; Configuration &gt; Main Tab: Files. In the documentation I read: Upload secure folder : Folder in which the products files will be uploaded to. Does that include product image files?")*

Hi,

The 404 error you had before was not caused by HikaShop.
However, this new error message does come from HikaShop.
You can't use .. in paths anymore for security reasons.
If you need to provide a path outside the root folder of the website, you need to provide the absolute path. That's what I was recommending already in my previous message.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA5NTktdXBsb2FkLXNlY3VyZS1mb2xkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 1.356 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
