Salesforce

How do I use Fotomoto with password-protected sites?

« Go Back

Information

 
Body

Fotomoto needs to access your images

Fotomoto can be used to sell images in password protected galleries, but your server/application must allow our servers to access your images.

Initially, Fotomoto needs to access your images so they can be loaded in to your Fotomoto Dashboard as explained in How Fotomoto works on your site. In order to make this possible, your site needs to allow requests from 'fotomoto.com'. Below is an example for those using Apache basic authentication. If you're using something else, you'll need to otherwise allow or "whitelist" requests from "fotomoto.com".

Basic authentication example

If you're using Apache basic authentication to password-protect the image gallery on your site, the following code can be used in your .htaccess file. Important: the path specified for AuthUserFile needs to point to your .htpasswd file.

AuthName "Restricted Area"

	AuthType Basic

	AuthUserFile /path/.htpasswd

	AuthGroupFile /dev/null

	Satisfy any

	<Limit POST GET>

	order deny,allow

	deny from all

	allow from *.fotomoto.com

	require valid-user

	</Limit>
TitleHow do I use Fotomoto with password-protected sites?
URL Name8665-how-do-i-use-fotomoto-with-password-protected-sites


Powered by