XTIPS .MOBI
Some tips will only work on Xtgem domains

PASSWORD PROTECT YOUR FOLDERS WITHOUT BLOCKING FILE USAGE
_____

This takes advantage of the fact that ANY folder can have a index file as explained in Xtips 6 .
It uses meta refresh "get" arguments and my hide method from
Xtips 10 to get around the fact that auto run ignores passwords on index files.
This method can also be used to password protect your main site index file if you wish to do so.
_____
First create a file called index in the folder to be protected.
Then copy this code to the <head> area of your folders index file.
Change FOLDER to the name of the folder to be protected.
Setting t=-1 ensures that the page is only refreshed once.
Then go to creator and add your page content. Including a file list xt function
The first entry must be this code block

{_$h1|<!-->}

Now add a password to the index file. when someone tries to list your folder they will get a brief flash of a empty page then the password page.
As the password protection is only on the index page it will not block your legitimate use of the files in the folder.
DEMO
USERNAME=demo
PASSWORD=xtips
Click for Demo


GO TO
XTIPS HOME PAGE
for more tips
CLICK HERE TO SEND
FEEDBACK
VISIT
MY GUESTBOOK
PLEASE SIGN
LINK TO XTIPS
ON YOUR SITE
AND JOIN MY LINK
EXCHANGE
©2009 - 2010 Theoldman
THE MOBILE WORLD IS
X T G E M