How to restrict access to certain kind of content, with apache or .htaccess?
snippet in htaccess

How to restrict access to certain kind of content, with apache or .htaccess?

user5917

RewriteEngine On
RewriteCond %{HTTP_COOKIE} !^.*name-of-my-cookie.*$ [NC]
RewriteRule .* /whatever/page [NC,L]