|
|
safeTsurfa
regular
Reg'd: Mon
Posts: 693
|
Re: Pictures on Internet
Wed Jan 07 2004 10:21 AM
|
|
|
Place everything inside sub-folders except the index page, then use HTACCESS and the robots.txt file to control access. This is effective in controlling what web crawlers do, what external links do, and in banning certain IP addresses (whole ranges if you wish), from any access to off-limit areas.
By using these within each sub-folder, you can vary the level of access to fit in with your wishes. The rules are not restricted to just images either, they work with any file type, which you set in the rule itself. The advantage of this method is that everything is a direct instruction to the hosting web server itself on what can be accessed and how it is delivered.
Other techniques, such as those javascript or DHTML codes, attempt to control how the user's browser behaves. That approach is flawed as it is client-dependent, so with the right tweaks and turning off certain protocols, 99.99% of it can be bypassed easily.
As an example I posted my Christmas web page in the Readers' Websites forum, but if you try that link now, it won't work. The page and content is still there, but I have blocked access until the season rolls around again.
safeTsurfa Stay alert! Stay safe! Stay alive!
|
|
|
|
|