One thing to remember, make sure that the password in your script is secure as this is a huge security thread otheriwse. The filename is enctypted depending on your password, if someone finds out this password then they have full access to any files on your machine..
All that this this tag does is pass a unix path to the cgi script and then the script decrypts it and displays the contents of the file that you specify.
For example,
Using the password "test" and file path /
You place this on your page where you want the Include, and it reads that file and returns the contents (Just the same as SSI)
The security threat comes into it becuase the user can view source and see the tag (Unlike SSI) but they still won't see your password..
If a user knows your password for the script, then they could for example encrypt a path to any file on your server and then call the file directly in their browser.
Lets say that they use the path /www/ and there are multiple domains within this direcotry. The user enters the encrypted path using your password and calls it in the browser as something like
I found an answer in the Interdev forum.
If you put the file name in quotes in the saveas textbox, IE will take your word for it instead of assuming that they know better.
So I was able to use the SSI after all.
Thanks again!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.