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

#   how can i hide source of files(external server)

##

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

Less More

- Posts: 5
- Thank you received: 0
-
-

10 years 7 months ago [\#232761](#232761) by [h007](/forum/user/41527-h007 "View h007's Profile")  *[how can i hide source of files(external server)](/forum/3-bug-report/882952-how-can-i-hide-source-of-files-external-server#232761 "-- HikaShop version -- : 2.5 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.3 -- Browser(s) name and version -- : chroome -- Error-message(debug-mod must be tuned on) -- : source of downloadable files isn't hidden in hikashop  how can i hide source of downloadable files in hikashop i think there is a problem about source of downloadable files , when i use external server for uploading file and adding file to product, users can see the main source of files( the link isn't hidden or isn't coded)")* was created by *[h007](/forum/user/41527-h007 "View h007's Profile")*

-- HikaShop version -- : 2.5
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.3
-- Browser(s) name and version -- : chroome
-- Error-message(debug-mod must be tuned on) -- : source of downloadable files isn't hidden in hikashop

how can i hide source of downloadable files in hikashop
i think there is a problem about source of downloadable files , when i use external server for uploading file and adding file to product, users can see the main source of files( the link isn't hidden or isn't coded)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODI5NTItaG93LWNhbi1pLWhpZGUtc291cmNlLW9mLWZpbGVzLWV4dGVybmFsLXNlcnZlcj90bXBsPW1hcmtkb3du) 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 7 months ago [\#232766](#232766) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how can i hide source of files(external server)](/forum/3-bug-report/882952-how-can-i-hide-source-of-files-external-server#232766 "-- HikaShop version -- : 2.5 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.3 -- Browser(s) name and version -- : chroome -- Error-message(debug-mod must be tuned on) -- : source of downloadable files isn't hidden in hikashop  how can i hide source of downloadable files in hikashop i think there is a problem about source of downloadable files , when i use external server for uploading file and adding file to product, users can see the main source of files( the link isn't hidden or isn't coded)")*

Hi,

The link provided is the download link in HikaShop. And when the customer uses it, HikaShop checks the payment and then redirect to the link of the download. At that point the customer can indeed get the download link and share it so that others can use that link and bypass that check.
That's why we recommend to not enter a download link and instead upload the file in HikaShop. That way, HikaShop will send the data of the file when the HikaShop download link is used, just after the check. That way, there will be no way to download the file unless you purchase the product.

The following user(s) said Thank You: [h007](/forum/user/41527-h007 "View h007's Profile")

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

10 years 7 months ago -  10 years 7 months ago [\#232826](#232826) by [h007](/forum/user/41527-h007 "View h007's Profile")  Replied by *[h007](/forum/user/41527-h007 "View h007's Profile")* on topic *[how can i hide source of files(external server)](/forum/3-bug-report/882952-how-can-i-hide-source-of-files-external-server#232826 "-- HikaShop version -- : 2.5 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.3 -- Browser(s) name and version -- : chroome -- Error-message(debug-mod must be tuned on) -- : source of downloadable files isn't hidden in hikashop  how can i hide source of downloadable files in hikashop i think there is a problem about source of downloadable files , when i use external server for uploading file and adding file to product, users can see the main source of files( the link isn't hidden or isn't coded)")*

hi thank for your response
dear nicolas this is a big bug(issue) for file sellers
file sellers have many many files (ex: 1000+ gb) and they cant upload them to site server, they have to use an external host for uploading them
it is better check the extensions that have download systems
when you give a file seller extension you have to check your competitors
i ve tried several extension , hika is best but file seller has problem with that if they use external host
check the jdownloads ,admins can encrypt( [ Send Downloads using the PHP Script](http://www.jdownloads.net/documentations/item/tab-downloads)) and protect the link of files in local server and external server,
(Send downloads over PHP Script?
jDownloads use normally a PHP Script for submit the file. The exact place from the file is then also not to seen. With very big files (a few hundred MB), it may be true that it comes to timeouts. When you deactivate this option, the pure download link is sended to the browser for download the file
Watch out!: If the option deactivated, you must not activate the .htaccess in the TAB: Security!)
i offered hikashop to my friends but they feedback me the same problem and have to use another extension to protecting of their files
best regards

Last edit: 10 years 7 months ago by [h007](/forum/user/41527-h007 "View h007's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODI5NTItaG93LWNhbi1pLWhpZGUtc291cmNlLW9mLWZpbGVzLWV4dGVybmFsLXNlcnZlcj90bXBsPW1hcmtkb3du) 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 7 months ago [\#232829](#232829) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how can i hide source of files(external server)](/forum/3-bug-report/882952-how-can-i-hide-source-of-files-external-server#232829 "-- HikaShop version -- : 2.5 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.3 -- Browser(s) name and version -- : chroome -- Error-message(debug-mod must be tuned on) -- : source of downloadable files isn't hidden in hikashop  how can i hide source of downloadable files in hikashop i think there is a problem about source of downloadable files , when i use external server for uploading file and adding file to product, users can see the main source of files( the link isn't hidden or isn't coded)")*

Hi,

I'm not following you.
If you want the downloads to be secure (no one else can use the link besides the persons purchasing the product), the download has to happen through your website. So in that case, either the file needs to be stored on the website, or the file has to be downloaded each time from the external server where you store it.
There is no other way.
Having a key in the link of the file doesn't mean that the link cannot be given to someone else so it's not really "secure" in the sense that people not having paid for it, can download it.
And if you store the files on an external server and have your website fetch them each time, it's put a lot of strain on the connection between the servers.
So in short, the safest method to send paid downloads and keep bandwith usage to a reasonable level is to store the files on the website, which is what we chose to do.
And even in that case, it's always possible to create a virtual hard drive linking to your external server so that your website (and HikaShop) sees the files as being local while they are fetched dynamically by the server. So that shouldn't even be a problem to have the files on another server with that method.

The link you gave of jDownloads doesn't mention encryption. But even so, I don't see how it can guarantee the security of the downloads without having the website itself sends the data of the file. The customers could simply give the decryption key and the link to the data separately to share the files in that case.

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

10 years 7 months ago [\#232896](#232896) by [h007](/forum/user/41527-h007 "View h007's Profile")  Replied by *[h007](/forum/user/41527-h007 "View h007's Profile")* on topic *[how can i hide source of files(external server)](/forum/3-bug-report/882952-how-can-i-hide-source-of-files-external-server#232896 "-- HikaShop version -- : 2.5 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.3 -- Browser(s) name and version -- : chroome -- Error-message(debug-mod must be tuned on) -- : source of downloadable files isn't hidden in hikashop  how can i hide source of downloadable files in hikashop i think there is a problem about source of downloadable files , when i use external server for uploading file and adding file to product, users can see the main source of files( the link isn't hidden or isn't coded)")*

hi again
it is better you install jdownload and try that
you will see what happen to link of file when you active the Send Downloads using the PHP Script
you can try that from here
[ www.jdownloads.com/index.php/downloads/s...-jdownloads-3-2.html](http://www.jdownloads.com/index.php/downloads/summary/6-jdownloads/2-jdownloads-3-2.html)

they did that(jDownloads use normally a PHP Script for submit the file. The exact place from the file is then also not to seen) , and asking from them is good idea that how it works,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODI5NTItaG93LWNhbi1pLWhpZGUtc291cmNlLW9mLWZpbGVzLWV4dGVybmFsLXNlcnZlcj90bXBsPW1hcmtkb3du) 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)
-

10 years 7 months ago [\#232898](#232898) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[how can i hide source of files(external server)](/forum/3-bug-report/882952-how-can-i-hide-source-of-files-external-server#232898 "-- HikaShop version -- : 2.5 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.3 -- Browser(s) name and version -- : chroome -- Error-message(debug-mod must be tuned on) -- : source of downloadable files isn't hidden in hikashop  how can i hide source of downloadable files in hikashop i think there is a problem about source of downloadable files , when i use external server for uploading file and adding file to product, users can see the main source of files( the link isn't hidden or isn't coded)")*

Hi,

I'm afraid that we won't install and try jdownload.

You want to hide a file stored in an external server ?
So you can create a custom plugin to do so and use the trigger onBeforeDownloadFile.
There you will be able to use any kind of algorithm or whatsoever you want to do in order to try to hide the source.
[ www.hikashop.com/support/documentation/6...onBeforeDownloadFile](http://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#onBeforeDownloadFile)

Regards,

---

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

The following user(s) said Thank You: [h007](/forum/user/41527-h007 "View h007's Profile")

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

10 years 7 months ago -  10 years 7 months ago [\#232942](#232942) by [h007](/forum/user/41527-h007 "View h007's Profile")  Replied by *[h007](/forum/user/41527-h007 "View h007's Profile")* on topic *[how can i hide source of files(external server)](/forum/3-bug-report/882952-how-can-i-hide-source-of-files-external-server#232942 "-- HikaShop version -- : 2.5 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.3 -- Browser(s) name and version -- : chroome -- Error-message(debug-mod must be tuned on) -- : source of downloadable files isn't hidden in hikashop  how can i hide source of downloadable files in hikashop i think there is a problem about source of downloadable files , when i use external server for uploading file and adding file to product, users can see the main source of files( the link isn't hidden or isn't coded)")*

hi Jerome
yes the domain of external host is hidden but when , after buying , hikashop gives the real link of file ,or when it sent an email to buyer, users can see the links of files
we will try that, but we want to upgrade our hika to business edition if you solve this issue at the new release, because we are not professional in extension developing
thank you in advance

Last edit: 10 years 7 months ago by [h007](/forum/user/41527-h007 "View h007's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODI5NTItaG93LWNhbi1pLWhpZGUtc291cmNlLW9mLWZpbGVzLWV4dGVybmFsLXNlcnZlcj90bXBsPW1hcmtkb3du) 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)
-

10 years 7 months ago [\#232945](#232945) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[how can i hide source of files(external server)](/forum/3-bug-report/882952-how-can-i-hide-source-of-files-external-server#232945 "-- HikaShop version -- : 2.5 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.3 -- Browser(s) name and version -- : chroome -- Error-message(debug-mod must be tuned on) -- : source of downloadable files isn't hidden in hikashop  how can i hide source of downloadable files in hikashop i think there is a problem about source of downloadable files , when i use external server for uploading file and adding file to product, users can see the main source of files( the link isn't hidden or isn't coded)")*

Hi,

That's not possible to hide that external URL unless your server is downloading the file itself and sending it to the customer.
And that is clearly not something we can integrate into HikaShop regarding all the problems it could generate.
It is also written very explicitely in the jdownload website

> jDownloads use normally a PHP Script for submit the file. The exact place from the file is then also not to seen. With very big files (a few hundred MB), **it may be true that it comes to timeouts**. When you deactivate this option, the pure download link is sended to the browser for download the file
> **Watch out!: If the option deactivated, you must not activate the .htaccess in the TAB: Security!**

So I am sorry but that specific "issue" won't be solve in the next release or other future release.
For the rest, I don't think I need to re-phrase what Nicolas already explained.

Now it exists methods to have temporally URL on external servers ; I have already perform some integration (with nginx or lighttpd web servers). The system is working fine and you clearly don't care if the external URL is available because that URL is generated dynamically and is working only for a short period of time and one for single IP address.

As an HikaShop partner ; even if I am also an official HikaShop developer, the fact you're using HikaShop starter or HikaShop business won't change anything at the problem.
The trigger exists in any edition and a custom plugin would work the same.

Now I am clearly not the only HikaShop partner and if you can't implement such custom plugin, you can contact an external developer (a partner [ www.hikashop.com/home/our-partners.html](http://www.hikashop.com/home/our-partners.html) ; using the "commercial jobs" forum section ; or any other website/contact).

Regards,

---

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

The following user(s) said Thank You: [h007](/forum/user/41527-h007 "View h007's Profile")

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

10 years 7 months ago [\#233010](#233010) by [h007](/forum/user/41527-h007 "View h007's Profile")  Replied by *[h007](/forum/user/41527-h007 "View h007's Profile")* on topic *[how can i hide source of files(external server)](/forum/3-bug-report/882952-how-can-i-hide-source-of-files-external-server#233010 "-- HikaShop version -- : 2.5 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.3 -- Browser(s) name and version -- : chroome -- Error-message(debug-mod must be tuned on) -- : source of downloadable files isn't hidden in hikashop  how can i hide source of downloadable files in hikashop i think there is a problem about source of downloadable files , when i use external server for uploading file and adding file to product, users can see the main source of files( the link isn't hidden or isn't coded)")*

ok
we will contact with partners
if they fail, we have to migrate to another extension
i thank you very much for your guidance

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODI5NTItaG93LWNhbi1pLWhpZGUtc291cmNlLW9mLWZpbGVzLWV4dGVybmFsLXNlcnZlcj90bXBsPW1hcmtkb3du) 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: 0.312 seconds

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

[](#top)
