Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

. htaccess rule

techbee

Recruit
Basic Member
Messages
8
Reaction score
0
Points
16
sinong marunong dito sa paggawa ng htaccess rules? magtatanong ako anung rule sa pag prevent mg direct url access sa video at image files pero allowed ang pagdisplay sa webpage.
 
RewriteEngine On RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yourwebsite.com [NC] RewriteRule \.(jpg|jpeg|png|gif|mp4)$ - [NC,F,L]


pero mas ok if instead na nasa public directory ilagay mo na lng sa isang private directory tpos gawin mo gawa ka ng token na kailangan ipasa sa url para ma access yung file. tpos yung token na yun is may expry .. para if meron man na history sa browser.. ih hindi padin nila ma access yung url kasi expry na yung token
 
Back
Top Bottom