| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
templates_c directory | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
templates_c directory
The cache for templates in templates_c directory can be viewed by anybody, I already protected at root level with .htaccess from prying eyes so that the tpls cant be seen, but is there any other method in order to avoid anybody from getting into that directory completely ?
__________________
It doesn\'t matter what is done... it is how it is done. ============================= XCart Version: 3.5.3 -> Dmcigars.com XCart Version: 4.1.3.... |
|||||||||
#2
|
|||||||||
|
|||||||||
just do a .htaccess on templates_c also then...
should work i think... havn't tried it myself yet
__________________
----------------------------------- 4.2 rox... http://www.fivestar.nu | www.nystil.se | www.hidealite.se |
|||||||||
#3
|
|||||||||
|
|||||||||
Not sure about that, since it is managed by the Smarty template engine and could cause problems.
__________________
It doesn\'t matter what is done... it is how it is done. ============================= XCart Version: 3.5.3 -> Dmcigars.com XCart Version: 4.1.3.... |
|||||||||
#4
|
|||||||||
|
|||||||||
just put a blank index.html page in there
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#5
|
|||||||||
|
|||||||||
Actually I was going to put an index.php with redirect to root, but I didnt try it cause I thought it would damage the smarty output somehow.
But your the expert, if you say it will work, thats ok for me.
__________________
It doesn\'t matter what is done... it is how it is done. ============================= XCart Version: 3.5.3 -> Dmcigars.com XCart Version: 4.1.3.... |
|||||||||
#6
|
|||||||
|
|||||||
Quote:
Shan, would this protect downloadables from unauthorised access too if a blank index.html file were placed in the downloadables' folder. S.
__________________
Version 3.5.0 using Windows IIS UK Based. |
|||||||
#7
|
|||||||||
|
|||||||||
na you would need to use an .htaccess file for that
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#8
|
|||||||
|
|||||||
Thanks, will look into that.
S.
__________________
Version 3.5.0 using Windows IIS UK Based. |
|||||||
#9
|
|||||||||
|
|||||||||
Quote:
I have a question here regarding this. If I put an index page in that folder, what happens when I clear the templates from admin ? Will it be erased as well or does xcart only erase tpl files in that folder ?
__________________
It doesn\'t matter what is done... it is how it is done. ============================= XCart Version: 3.5.3 -> Dmcigars.com XCart Version: 4.1.3.... |
|||||||||
#10
|
|||||||||
|
|||||||||
Good question ...
__________________
Darren Kierman Carlisle Glass (http://www.carlisleglass.co.uk/) ... running X-Cart Gold 4.4.5 [unix] |
|||||||||
|
|||
X-Cart forums © 2001-2020
|