| 
 | ||||||||||
|  | Shopping cart software Solutions for online shops and malls | |||||||||
|  |  |  | ||||||||
| X-Cart Home |  FAQ |  Forum rules |  Calendar |  Mark Forums Read |  User manuals |  Login | 
|  | 
| Restrict access to a static page until logged in. | |||
|  |  | ||
|  | Thread Tools | Search this Thread | 
| 
			 
			#1  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Restrict access to a static page until logged in. Guys, is there anyway to restrict access to a static page. I am not sure how to do this but I offer some free files that can be download from within a static page, how do restrict access to the download files until the customer logs in? How and where should I store these files to prevent them from being downloaded using a web crawler of just linking to the page. I want the customer to go to the website to see the products and not just download the free stuff the easy way. I want to offer the free designs to customers that only have an account with login. Thanks in advance to all that take the time to help us new people. 
				__________________ Shareen sparker2@cox.net http://www.stitches4u.com X-Cart Version 4.5.0 with Smart Template vs 4.4.x | |||||||
| 
			 
			#2  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: Restrict access to a static page until logged in. use an if statement {if $login ne ''} the static page {else} the page to display when logged in {/if} and disable hotlinking using htaccess RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www.)?your-domain.com/.*$ [NC] RewriteRule \.(thefileextension|theotherfileextension)$ - [F] | |||||||
| 
			 
			#3  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: Restrict access to a static page until logged in. Thank you for your reply but I have no idea what you are talking about. I am new at this and it is like learning to speak a different language. Thanks for your help again though. Can anyone else help to clear this up a bit so that all the newbies can understand this. 
				__________________ Shareen sparker2@cox.net http://www.stitches4u.com X-Cart Version 4.5.0 with Smart Template vs 4.4.x | |||||||
|  |  | 
| Thread Tools | Search this Thread | 
| 
 | 
 | 
|  | |||
| 
X-Cart forums © 2001-2020
 | |||